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 = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
} @ inputs: let
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
nodejs = prev.nodejs_latest;
|
||||
|
|
@ -46,6 +46,7 @@
|
|||
{nixpkgs.overlays = overlays;}
|
||||
./nix/configuration.nix
|
||||
];
|
||||
specialArgs = {inherit inputs;};
|
||||
};
|
||||
|
||||
# Deployment helper - use with: nix run .#deploy
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.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 = {
|
||||
enable = true;
|
||||
capacity = 100;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue