flakes/cfg/winter/main.nix
2021-05-16 00:28:46 +07:00

44 lines
854 B
Nix

{ config, overlays, pkgs, ... }: {
networking.hostName = "winter";
system.stateVersion = "20.09";
environment.etc."machine-id".source = "/mnt/bcachefs/machine-id";
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;
# set in flakes-secrets
# time.timeZone = "";
i18n.defaultLocale = "en_GB.UTF-8";
users.mutableUsers = false;
users.users.lava = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
};
console.useXkbConfig = true;
}