feat: enabled auto updates
This commit is contained in:
parent
54e65a7d1d
commit
abd9e6a4bb
2 changed files with 12 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
}: let
|
} @ inputs: let
|
||||||
overlays = [
|
overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
nodejs = prev.nodejs_latest;
|
nodejs = prev.nodejs_latest;
|
||||||
|
|
@ -46,6 +46,7 @@
|
||||||
{nixpkgs.overlays = overlays;}
|
{nixpkgs.overlays = overlays;}
|
||||||
./nix/configuration.nix
|
./nix/configuration.nix
|
||||||
];
|
];
|
||||||
|
specialArgs = {inherit inputs;};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Deployment helper - use with: nix run .#deploy
|
# Deployment helper - use with: nix run .#deploy
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{...}: {
|
{inputs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./module.nix
|
./module.nix
|
||||||
|
|
@ -67,6 +67,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
flake = inputs.self.outPath;
|
||||||
|
flags = ["--update-input" "nixpkgs" "--update-input" "volpe"];
|
||||||
|
dates = "04:00";
|
||||||
|
randomizedDelaySec = "45min";
|
||||||
|
allowReboot = false;
|
||||||
|
};
|
||||||
|
|
||||||
services.snowflake-proxy = {
|
services.snowflake-proxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
capacity = 100;
|
capacity = 100;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue