(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./disk-config.nix
+ ../common/global
];
boot.loader.grub = {
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
};
networking.hostName = "antares";
- time.timeZone = "Europe/Berlin";
virtualisation.podman = {
enable = true;
--- /dev/null
+{ inputs, outputs, ... }:
+{
+ imports = [
+ ./locale.nix
+ ];
+}
\ No newline at end of file
--- /dev/null
+{lib, ...}:
+{
+ time.timeZone = lib.mkDefault "Europe/Berlin";
+ i18n = {
+ defaultLocale = lib.mkDefault "en_US.UTF-8";
+ extraLocaleSettings = {
+ LC_ADDRESS = lib.mkDefault "en_IE.UTF-8";
+ LC_IDENTIFICATION = lib.mkDefault "en_IE.UTF-8";
+ LC_MEASUREMENT = lib.mkDefault "en_IE.UTF-8";
+ LC_MONETARY = lib.mkDefault "en_IE.UTF-8";
+ LC_NAME = lib.mkDefault "en_IE.UTF-8";
+ LC_NUMERIC = lib.mkDefault "en_IE.UTF-8";
+ LC_PAPER = lib.mkDefault "en_IE.UTF-8";
+ LC_TELEPHONE = lib.mkDefault "en_IE.UTF-8";
+ LC_TIME = lib.mkDefault "en_IE.UTF-8";
+ };
+ };
+}
\ No newline at end of file
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
+ ../common/global
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Enable networking
networking.networkmanager.enable = true;
- # Set your time zone.
- time.timeZone = "Europe/Berlin";
-
- # Select internationalisation properties.
- i18n.defaultLocale = "en_US.UTF-8";
-
- i18n.extraLocaleSettings = {
- LC_ADDRESS = "de_DE.UTF-8";
- LC_IDENTIFICATION = "de_DE.UTF-8";
- LC_MEASUREMENT = "de_DE.UTF-8";
- LC_MONETARY = "de_DE.UTF-8";
- LC_NAME = "de_DE.UTF-8";
- LC_NUMERIC = "de_DE.UTF-8";
- LC_PAPER = "de_DE.UTF-8";
- LC_TELEPHONE = "de_DE.UTF-8";
- LC_TIME = "de_DE.UTF-8";
- };
-
# Enable the X11 windowing system.
services.xserver.enable = true;