small refactor

This commit is contained in:
LavaDesu 2021-05-16 21:50:29 +07:00
parent eb13892a05
commit 334976edf9
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 3 additions and 6 deletions

View file

@ -3,6 +3,7 @@
system.stateVersion = "20.09"; system.stateVersion = "20.09";
environment.etc."machine-id".source = "/mnt/bcachefs/machine-id"; environment.etc."machine-id".source = "/mnt/bcachefs/machine-id";
users.mutableUsers = false;
imports = [ imports = [
./audio.nix ./audio.nix
@ -28,17 +29,13 @@
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# set in flakes-secrets
# time.timeZone = "";
i18n.defaultLocale = "en_GB.UTF-8";
users.mutableUsers = false;
users.users.lava = { users.users.lava = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
i18n.defaultLocale = "en_GB.UTF-8";
console.useXkbConfig = true; console.useXkbConfig = true;
} }

View file

@ -33,7 +33,7 @@
modules = [ modules = [
base base
secrets.nixosModules.winter secrets.nixosModules.winter
./cfg/winter/main.nix ./cfg/winter
]; ];
specialArgs = { inherit overlays; }; specialArgs = { inherit overlays; };
}; };