initial nixos-config

This commit is contained in:
2023-08-01 05:06:16 +00:00
parent 0a7012b316
commit 6cc6a1f32c
17 changed files with 366 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{ config, inputs, ... }:
let
inherit (config.networking) hostName; # Inherit variable
isClean = inputs.self ? rev; # Only enable if current config came from clean tree
in
{
system.autoUpgrade = { # NixOS auto upgrade
enable = isClean;
dates = "hourly";
flags = [
"--refresh"
];
};
}