diff --git a/flake.nix b/flake.nix index b52b6cb..b544c8c 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,7 @@ }; outputs = { + self, nixpkgs, unstable, lanzaboote, @@ -46,6 +47,7 @@ inherit modules; specialArgs = { inherit + self unstable lanzaboote disko @@ -77,7 +79,7 @@ axolotl = mkNix [ ./hosts/axolotl ]; # PineBook Pro lacros = mkNix [ ./hosts/lacros ]; # Dell Chromebook redmond = mkNix [ ./hosts/redmond ]; # Lenovo Dual-Boot Laptop - extern = mkNix [ ./hosts/extern ]; # ISO Image + extern = mkNix [ ./hosts/extern ]; # External Drive/USB kitty = mkNix [ ./hosts/kitty ]; # Dell Optiplex 7010 xenia = mkNix [ ./hosts/xenia ]; # Acer Veriton X2611G diff --git a/modules/system/devices/disks/impermanence/jimbo/default.nix b/modules/system/devices/disks/impermanence/jimbo/default.nix index 560b2cd..71c6071 100644 --- a/modules/system/devices/disks/impermanence/jimbo/default.nix +++ b/modules/system/devices/disks/impermanence/jimbo/default.nix @@ -25,6 +25,7 @@ ".local/share/fractal" ".local/share/PrismLauncher" ".local/share/Steam" + ".local/share/TelegramDesktop" { directory = ".ssh"; mode = "0700"; } { directory = ".gnupg"; mode = "0700"; } diff --git a/modules/system/settings/nix/autoupgrade/default.nix b/modules/system/settings/nix/autoupgrade/default.nix new file mode 100644 index 0000000..bebcef9 --- /dev/null +++ b/modules/system/settings/nix/autoupgrade/default.nix @@ -0,0 +1,13 @@ +{ self, ... }: +{ + system.autoUpgrade = { + enable = true; + flake = self.outPath; + flags = [ + "--update-input" + "nixpkgs" + "--commit-lock-file" + ]; + dates = "daily"; + }; +} diff --git a/modules/system/settings/nix/default.nix b/modules/system/settings/nix/default.nix index b3713bb..8d444a8 100644 --- a/modules/system/settings/nix/default.nix +++ b/modules/system/settings/nix/default.nix @@ -1,5 +1,9 @@ { ... }: { + imports = [ + ./autoupgrade + ]; + nix = { settings = { experimental-features = [