diff --git a/common/services/autoupgrade.nix b/common/services/autoupgrade.nix index 0ba8b54..babf900 100644 --- a/common/services/autoupgrade.nix +++ b/common/services/autoupgrade.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}:{ +{pkgs, ...}: { # systemd.timers."nix-auto-upgrade" = { # wantedBy = ["timers.target"]; # timerConfig = { @@ -15,7 +12,7 @@ script = '' set -eu - ${pkgs.git}/bin/git pull && \ + ${pkgs.git}/bin/git pull && \ ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake .#$(cat /etc/hostname) ${pkgs.curl}/bin/curl \ @@ -31,4 +28,4 @@ WorkingDirectory = /etc/nixos/nixos-config; }; }; -} \ No newline at end of file +} diff --git a/hosts/stuff/configuration.nix b/hosts/stuff/configuration.nix index ae660ef..d09af63 100644 --- a/hosts/stuff/configuration.nix +++ b/hosts/stuff/configuration.nix @@ -19,6 +19,7 @@ in { ../../common/components/de/plasma5.nix + ../../common/services/autoupgrade.nix ../../common/services/syncthing.nix ../../common/services/nix-gc.nix diff --git a/hosts/yaseen/configuration.nix b/hosts/yaseen/configuration.nix index 14bade9..ee931a2 100644 --- a/hosts/yaseen/configuration.nix +++ b/hosts/yaseen/configuration.nix @@ -25,15 +25,16 @@ in { ../../common/components/de/sddm.nix ../../common/components/de/plasma6.nix - ../../common/components/de/hyprland.nix + # ../../common/components/de/hyprland.nix ../../common/programs/steam.nix + ../../common/services/auditd.nix ../../common/services/nix-gc.nix ../../common/services/adguardhome.nix ../../common/services/syncthing.nix ../../common/services/usbguard.nix - + ../../common/services/autoupgrade.nix ../../modules/nixos/vedirect-reader.nix @@ -80,7 +81,6 @@ in { # Needed to build enry boot.binfmt.emulatedSystems = ["aarch64-linux"]; - environment.systemPackages = with pkgs; [ inputs.tildefriends.packages.${system}.default