flakes/cfg/winter/main.nix

42 lines
775 B
Nix
Raw Normal View History

2021-05-13 17:59:46 +07:00
{ config, overlays, pkgs, ... }: {
2021-05-11 14:32:58 +07:00
networking.hostName = "winter";
system.stateVersion = "20.09";
imports = [
./gui.nix
./hardware-configuration.nix
./kernel.nix
./networking.nix
./packages.nix
./security.nix
];
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
2021-05-13 17:59:46 +07:00
nixpkgs.overlays = with overlays; [
linux
2021-05-13 17:59:46 +07:00
polybar
picom
2021-05-11 14:32:58 +07:00
];
nixpkgs.config.allowUnfree = true;
# set in flakes-secrets
2021-05-11 18:36:46 +07:00
# time.timeZone = "";
2021-05-11 14:32:58 +07:00
i18n.defaultLocale = "en_GB.UTF-8";
sound.enable = true;
hardware.pulseaudio.enable = true;
users.users.lava = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
};
console.useXkbConfig = true;
}