1
0
Fork 0
nix-config/systems/x86_64-linux/bodenheizung/default.nix
2025-03-08 11:15:56 +01:00

89 lines
1.6 KiB
Nix

{
lib,
namespace,
...
}:
with lib.${namespace};
{
imports = [
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.consoleMode = "max";
boot.loader.efi.canTouchEfiVariables = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
virtualisation.libvirtd.enable = true;
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
networking.hostName = "bodenheizung";
snowfallorg.users.philipp = {
create = true;
admin = true;
home = {
enable = true;
};
};
awesome-flake = {
cli = {
neovim = enabled;
eza = enabled;
nh = enabled;
};
apps = {
steam = enabled;
};
desktop.plasma = enabled;
hardware.audio = enabled;
services = {
btrfs = enabled;
};
system = {
fonts = {
enable = true;
emoji = true;
};
gnupg = enabled;
};
};
# Set your time zone
time.timeZone = "Europe/Berlin";
# Select internationalistation properties
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"C.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8"
"de_DE.UTF-8/UTF-8"
];
extraLocaleSettings = {
LANGUAGE = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
};
};
environment.etc.crypttab = {
mode = "0600";
text = ''
ssd /dev/disk/by-uuid/44afe46a-4ca4-4ef2-a603-a47520eebff1 /root/.crypt-me
'';
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.11";
}