flakes/hosts/winter/default.nix

46 lines
1.1 KiB
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";
2021-05-16 22:36:56 +07:00
environment.etc = {
"machine-id".source = "/mnt/bcachefs/machine-id";
"ssh/ssh_host_rsa_key".source = "/mnt/bcachefs/ssh_host_rsa_key";
"ssh/ssh_host_rsa_key.pub".source = "/mnt/bcachefs/ssh_host_rsa_key.pub";
"ssh/ssh_host_ed25519_key".source = "/mnt/bcachefs/ssh_host_ed25519_key";
"ssh/ssh_host_ed25519_key.pub".source = "/mnt/bcachefs/ssh_host_ed25519_key.pub";
};
environment.pathsToLink = [ "/share/zsh" ];
2021-05-16 21:50:29 +07:00
users.mutableUsers = false;
2021-05-11 14:32:58 +07:00
imports = [
2021-05-15 19:23:43 +07:00
./audio.nix
2021-05-11 14:32:58 +07:00
./gui.nix
./hardware-configuration.nix
./kernel.nix
./networking.nix
./packages.nix
./security.nix
2021-05-26 21:05:59 +07:00
../../users/rin
2021-05-11 14:32:58 +07:00
];
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
2021-05-13 17:59:46 +07:00
nixpkgs.overlays = with overlays; [
2021-05-14 15:48:22 +07:00
discord
linux
2021-05-13 17:59:46 +07:00
polybar
picom
2021-05-13 18:22:33 +07:00
wine-osu
2021-05-26 20:48:23 +07:00
winetricks
2021-05-11 14:32:58 +07:00
];
nixpkgs.config.allowUnfree = true;
2021-05-16 21:50:29 +07:00
i18n.defaultLocale = "en_GB.UTF-8";
2021-05-11 14:32:58 +07:00
console.useXkbConfig = true;
}