diff --git a/flake.nix b/flake.nix index 08e5192..471d97b 100644 --- a/flake.nix +++ b/flake.nix @@ -68,6 +68,7 @@ nixosConfigurations = { dingbox = hostSystem { hostname = "dingbox"; }; miniding = hostSystem { hostname = "miniding"; }; + dingserver = hostSystem { hostname = "dingserver"; }; }; }; } diff --git a/hosts/dingserver/configuration.nix b/hosts/dingserver/configuration.nix index 055bedf..93f1b22 100644 --- a/hosts/dingserver/configuration.nix +++ b/hosts/dingserver/configuration.nix @@ -17,6 +17,13 @@ networking.useDHCP = false; networking.interfaces.ens3.useDHCP = true; + # nix flakes compatibility + nix = { + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; + users.users.daniel = { isNormalUser = true; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.