Add autoupgrade
This commit is contained in:
parent
0042da23be
commit
18bb13226c
|
@ -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
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
".local/share/fractal"
|
||||
".local/share/PrismLauncher"
|
||||
".local/share/Steam"
|
||||
".local/share/TelegramDesktop"
|
||||
|
||||
{ directory = ".ssh"; mode = "0700"; }
|
||||
{ directory = ".gnupg"; mode = "0700"; }
|
||||
|
|
13
modules/system/settings/nix/autoupgrade/default.nix
Normal file
13
modules/system/settings/nix/autoupgrade/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ self, ... }:
|
||||
{
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
dates = "daily";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./autoupgrade
|
||||
];
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
|
|
Loading…
Reference in a new issue