Add dingserver flake
This commit is contained in:
@@ -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"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user