feat(wim): add tailscale and kdeconnect

This commit is contained in:
matt1432 2023-10-20 13:07:18 -04:00
parent 0668c27081
commit ec0f4159cc
4 changed files with 11 additions and 3 deletions

View file

@ -21,7 +21,8 @@ exec-once = $HYPR_PATH/lisgd.sh &
# Execute your favorite apps at launch # Execute your favorite apps at launch
exec-once = bash -c "sleep 3; nm-applet" exec-once = bash -c "sleep 3; nm-applet"
exec-once = bash -c "sleep 4; blueberry-tray" exec-once = bash -c "sleep 4; blueberry-tray"
exec-once = bash -c "sleep 5; nextcloud --background" exec-once = bash -c "sleep 5; kdeconnect-indicator"
exec-once = bash -c "sleep 6; nextcloud --background"
exec-once = ags exec-once = ags

View file

@ -8,6 +8,7 @@
../../modules/plymouth.nix ../../modules/plymouth.nix
../../modules/printer.nix ../../modules/printer.nix
../../modules/proton-bridge.nix ../../modules/proton-bridge.nix
../../modules/tailscale.nix
./modules/desktop.nix ./modules/desktop.nix
./modules/security.nix ./modules/security.nix

View file

@ -1,4 +1,4 @@
{ pkgs, config, hyprland, hyprgrass, ags, ... }: let { pkgs, config, hyprland, hyprgrass, ags, osConfig, ... }: let
configDir = config.services.hostvars.configDir; configDir = config.services.hostvars.configDir;
symlink = config.lib.file.mkOutOfStoreSymlink; symlink = config.lib.file.mkOutOfStoreSymlink;
@ -36,7 +36,11 @@ in {
"LOCK_PATH, ${configDir}/gtklock/scripts" "LOCK_PATH, ${configDir}/gtklock/scripts"
]; ];
exec-once = [ "${polkit}/libexec/polkit-kde-authentication-agent-1" ]; exec-once = [
"${polkit}/libexec/polkit-kde-authentication-agent-1"
"${osConfig.programs.kdeconnect.package}/libexec/kdeconnectd"
];
source = [ "~/.config/hypr/main.conf" ]; source = [ "~/.config/hypr/main.conf" ];
}; };
}; };

View file

@ -27,6 +27,8 @@
tlp.enable = true; tlp.enable = true;
}; };
programs.kdeconnect.enable = true;
xdg.portal = { xdg.portal = {
enable = true; enable = true;
wlr.enable = true; wlr.enable = true;