From 96d7683ff20d6a2feda664109899e0b804b80c22 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 24 Oct 2025 18:15:27 +0200 Subject: [PATCH 1/2] feat: use home manager to install insed of home.packages --- modules/linux/home-manager/desktop.nix | 8 ++++++-- modules/linux/home-manager/hyprland.nix | 6 +++--- modules/linux/home-manager/restic.nix | 5 ----- modules/servers/home-manager/home.nix | 4 +++- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/modules/linux/home-manager/desktop.nix b/modules/linux/home-manager/desktop.nix index f313d12..b1f6dcf 100644 --- a/modules/linux/home-manager/desktop.nix +++ b/modules/linux/home-manager/desktop.nix @@ -10,8 +10,6 @@ config = lib.mkIf config.crony.desktop.enable { home.packages = with pkgs; [ - keepassxc - vesktop piper galaxy-buds-client nicotine-plus @@ -21,6 +19,12 @@ cameractrls-gtk4 ]; + # Install keepassxc + programs.keepassxc.enable = true; + + # Install vesktop + programs.vesktop.enable = true; + # Install thunderbird programs.thunderbird = { enable = true; diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 59854ca..c77bb40 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -85,9 +85,9 @@ in { }; config = lib.mkIf config.crony.hyprland.enable { - home.packages = with pkgs; [ - hyprpolkitagent - ]; + # Enable hyprpolkitagent + services.hyprpolkitagent.enable = true; + systemd.user.services.hyprpolkitagent.Install.WantedBy = lib.mkForce []; # Enable hyprpaper services.hyprpaper.enable = true; diff --git a/modules/linux/home-manager/restic.nix b/modules/linux/home-manager/restic.nix index aaf59af..3219ddc 100644 --- a/modules/linux/home-manager/restic.nix +++ b/modules/linux/home-manager/restic.nix @@ -36,11 +36,6 @@ in { }; config = lib.mkIf config.crony.restic.enable { - # Install restic package - home.packages = with pkgs; [ - restic - ]; - # Restic home manager service services.restic = { enable = true; diff --git a/modules/servers/home-manager/home.nix b/modules/servers/home-manager/home.nix index 0996161..d3fda17 100644 --- a/modules/servers/home-manager/home.nix +++ b/modules/servers/home-manager/home.nix @@ -52,9 +52,11 @@ home.packages = with pkgs; [ unzip p7zip - aria2 ]; + # Install aria2 + programs.aria2.enable = true; + # Install fzf programs.fzf = { enable = true; From a2d3b6b97874ded88704f8d38b88700421281200 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 24 Oct 2025 18:15:35 +0200 Subject: [PATCH 2/2] feat(skadi): setup wake on lan. --- hosts/skadi/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index e53ab66..ab0a657 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -61,6 +61,11 @@ fallbackDns = ["192.168.0.5"]; }; + # Enable wake on lan + networking.interfaces."enp4s0".wakeOnLan.policy = [ + "magic" + ]; + # Set your time zone. time.timeZone = "Europe/Zagreb";