geoclue support
This commit is contained in:
parent
1c6b970fd9
commit
faf97500b7
5 changed files with 23 additions and 2 deletions
|
@ -125,6 +125,7 @@
|
||||||
./nixos/configs/lix.nix
|
./nixos/configs/lix.nix
|
||||||
./nixos/configs/nix.nix
|
./nixos/configs/nix.nix
|
||||||
./nixos/configs/ccache.nix
|
./nixos/configs/ccache.nix
|
||||||
|
./nixos/configs/location.nix
|
||||||
./nixos/configs/calendar.nix
|
./nixos/configs/calendar.nix
|
||||||
./nixos/configs/syncthing.nix
|
./nixos/configs/syncthing.nix
|
||||||
./nixos/configs/include-conf.nix
|
./nixos/configs/include-conf.nix
|
||||||
|
|
|
@ -219,6 +219,11 @@ in
|
||||||
proportion = 1.0;
|
proportion = 1.0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
matches = [ { app-id = "^pcloud$"; } ];
|
||||||
|
open-on-workspace = "2";
|
||||||
|
open-focused = false;
|
||||||
|
}
|
||||||
|
|
||||||
# Keep our system monitor on the monitoring screen.
|
# Keep our system monitor on the monitoring screen.
|
||||||
{
|
{
|
||||||
|
@ -364,6 +369,7 @@ in
|
||||||
niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop
|
niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop
|
||||||
niri msg action spawn -- home-assistant-desktop
|
niri msg action spawn -- home-assistant-desktop
|
||||||
${if (sysConfig.networking.hostName != "trailblazer") then "#" else ""}niri msg action spawn -- ${pkgs.mission-center}/bin/missioncenter
|
${if (sysConfig.networking.hostName != "trailblazer") then "#" else ""}niri msg action spawn -- ${pkgs.mission-center}/bin/missioncenter
|
||||||
|
niri msg action spawn -- ${pkgs.pcloud}/bin/pcloud
|
||||||
|
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
|
|
14
nixos/configs/location.nix
Normal file
14
nixos/configs/location.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ lib, pkgs, ... }: {
|
||||||
|
|
||||||
|
# Use Geoclue2 for GPS info.
|
||||||
|
services.geoclue2 = {
|
||||||
|
enable = true;
|
||||||
|
appConfig = {
|
||||||
|
gnome-maps = {
|
||||||
|
isAllowed = true;
|
||||||
|
isSystem = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -27,8 +27,7 @@
|
||||||
|
|
||||||
# For non-trailblazer machines, allow building on Trailblazer.
|
# For non-trailblazer machines, allow building on Trailblazer.
|
||||||
distributedBuilds =
|
distributedBuilds =
|
||||||
!(config.networking.hostName == "trailblazer") &&
|
!(config.networking.hostName == "trailblazer");
|
||||||
!(config.networking.hostName == "komashi");
|
|
||||||
buildMachines =
|
buildMachines =
|
||||||
if config.nix.distributedBuilds then
|
if config.nix.distributedBuilds then
|
||||||
[
|
[
|
||||||
|
|
|
@ -89,6 +89,7 @@ with pkgs;
|
||||||
|
|
||||||
# Mapping
|
# Mapping
|
||||||
qmapshack
|
qmapshack
|
||||||
|
gnome-maps
|
||||||
]
|
]
|
||||||
|
|
||||||
# Linux-only packages.
|
# Linux-only packages.
|
||||||
|
|
Loading…
Add table
Reference in a new issue