added a bunch of nixos modules

This commit is contained in:
2026-09-01 23:16:16 +02:00
parent cfa9ff6a54
commit 054f3f9994
31 changed files with 302 additions and 19 deletions
+7
View File
@@ -0,0 +1,7 @@
{ ... }: {
flake.modules.nixos.boot = {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelModules = [ "kvm-amd" ];
};
}
+20
View File
@@ -0,0 +1,20 @@
{ ... }: {
flake.modules.nixos.locale = {
time.timeZone = "Europe/Vienna";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_AT.UTF-8";
LC_IDENTIFICATION = "de_AT.UTF-8";
LC_MEASUREMENT = "de_AT.UTF-8";
LC_MONETARY = "de_AT.UTF-8";
LC_NAME = "de_AT.UTF-8";
LC_NUMERIC = "de_AT.UTF-8";
LC_PAPER = "de_AT.UTF-8";
LC_TELEPHONE = "de_AT.UTF-8";
LC_TIME = "de_AT.UTF-8";
};
};
}
+8
View File
@@ -0,0 +1,8 @@
{ self, ... }: {
flake.modules.nixos.system = {
imports = [
self.modules.nixos.boot
self.modules.nixos.locale
];
};
}