This commit is contained in:
Vivian 2024-06-01 18:00:41 +02:00
parent 7e7d275411
commit 87ffa71fe4
8 changed files with 308 additions and 378 deletions

View file

@ -43,7 +43,7 @@
nix = {
registry.nixpkgs.flake = inputs.nixpkgs;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
package = pkgs.nixUnstable;
# package = pkgs.nixUnstable;
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "vivian" ];

View file

@ -37,7 +37,7 @@ in {
};
mode = mkOption {
type = enum [ "server" "laptop" ];
type = types.enum [ "server" "laptop" ];
default = "laptop";
description = ''
Whether to configure the DNS in server mode (listen on all interfaces) or laptop mode (just on localhost)