flakes/cfg/winter/main.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2021-05-11 14:32:58 +07:00
{ config, pkgs, ... }: {
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
'';
};
nixpkgs.overlays = [
(self: super: {
polybar = super.polybar.override { i3Support = true; };
picom = super.picom.overrideAttrs(old: {
src = pkgs.fetchFromGitHub {
repo = "picom";
owner = "ibhagwan";
rev = "60eb00ce1b52aee46d343481d0530d5013ab850b";
2021-05-11 18:36:46 +07:00
sha256 = "1m17znhl42sa6ry31yiy05j5ql6razajzd6s3k2wz4c63rc2fd1w";
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;
}