Add autoupgrade

This commit is contained in:
Jimbo 2024-12-01 20:10:31 -05:00
parent 0042da23be
commit 18bb13226c
4 changed files with 21 additions and 1 deletions

View file

@ -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

View file

@ -25,6 +25,7 @@
".local/share/fractal"
".local/share/PrismLauncher"
".local/share/Steam"
".local/share/TelegramDesktop"
{ directory = ".ssh"; mode = "0700"; }
{ directory = ".gnupg"; mode = "0700"; }

View file

@ -0,0 +1,13 @@
{ self, ... }:
{
system.autoUpgrade = {
enable = true;
flake = self.outPath;
flags = [
"--update-input"
"nixpkgs"
"--commit-lock-file"
];
dates = "daily";
};
}

View file

@ -1,5 +1,9 @@
{ ... }:
{
imports = [
./autoupgrade
];
nix = {
settings = {
experimental-features = [