Add dingserver flake

This commit is contained in:
2022-02-05 23:24:11 +00:00
parent f0aca6de66
commit 676803e53f
2 changed files with 8 additions and 0 deletions

View File

@@ -68,6 +68,7 @@
nixosConfigurations = { nixosConfigurations = {
dingbox = hostSystem { hostname = "dingbox"; }; dingbox = hostSystem { hostname = "dingbox"; };
miniding = hostSystem { hostname = "miniding"; }; miniding = hostSystem { hostname = "miniding"; };
dingserver = hostSystem { hostname = "dingserver"; };
}; };
}; };
} }

View File

@@ -17,6 +17,13 @@
networking.useDHCP = false; networking.useDHCP = false;
networking.interfaces.ens3.useDHCP = true; networking.interfaces.ens3.useDHCP = true;
# nix flakes compatibility
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
};
users.users.daniel = { users.users.daniel = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.