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

41
cfg/winter/default.nix Normal file
View file

@ -0,0 +1,41 @@
{ config, overlays, pkgs, ... }: {
networking.hostName = "winter";
system.stateVersion = "20.09";
environment.etc."machine-id".source = "/mnt/bcachefs/machine-id";
users.mutableUsers = false;
imports = [
./audio.nix
./gui.nix
./hardware-configuration.nix
./kernel.nix
./networking.nix
./packages.nix
./security.nix
];
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
nixpkgs.overlays = with overlays; [
discord
linux
polybar
picom
wine-osu
];
nixpkgs.config.allowUnfree = true;
users.users.lava = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
};
i18n.defaultLocale = "en_GB.UTF-8";
console.useXkbConfig = true;
}