Add autoupgrade
This commit is contained in:
parent
0042da23be
commit
18bb13226c
|
@ -29,6 +29,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
unstable,
|
unstable,
|
||||||
lanzaboote,
|
lanzaboote,
|
||||||
|
@ -46,6 +47,7 @@
|
||||||
inherit modules;
|
inherit modules;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit
|
inherit
|
||||||
|
self
|
||||||
unstable
|
unstable
|
||||||
lanzaboote
|
lanzaboote
|
||||||
disko
|
disko
|
||||||
|
@ -77,7 +79,7 @@
|
||||||
axolotl = mkNix [ ./hosts/axolotl ]; # PineBook Pro
|
axolotl = mkNix [ ./hosts/axolotl ]; # PineBook Pro
|
||||||
lacros = mkNix [ ./hosts/lacros ]; # Dell Chromebook
|
lacros = mkNix [ ./hosts/lacros ]; # Dell Chromebook
|
||||||
redmond = mkNix [ ./hosts/redmond ]; # Lenovo Dual-Boot Laptop
|
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
|
kitty = mkNix [ ./hosts/kitty ]; # Dell Optiplex 7010
|
||||||
xenia = mkNix [ ./hosts/xenia ]; # Acer Veriton X2611G
|
xenia = mkNix [ ./hosts/xenia ]; # Acer Veriton X2611G
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
".local/share/fractal"
|
".local/share/fractal"
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
|
".local/share/TelegramDesktop"
|
||||||
|
|
||||||
{ directory = ".ssh"; mode = "0700"; }
|
{ directory = ".ssh"; mode = "0700"; }
|
||||||
{ directory = ".gnupg"; 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 = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
|
|
Loading…
Reference in a new issue