X-Git-Url: https://gitweb.ps.run/flake_thinkpad/blobdiff_plain/89c4e40e6dd442e788e471acf12b7fe645be4bda..7c6631e307cb5e6848200f3b6c3421fae08d8e23:/config-system.nix diff --git a/config-system.nix b/config-system.nix new file mode 100644 index 0000000..845d98d --- /dev/null +++ b/config-system.nix @@ -0,0 +1,37 @@ +{ config, pkgs, inputs, lib, ... } @ args: +{ + boot.tmp.cleanOnBoot = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.download-buffer-size = 500000000; + nix.settings.trusted-users = ["root" "ps"]; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.download-buffer-size = 500000000; + nix.settings.trusted-users = ["root" "ps"]; + nixpkgs.config.allowUnfree = true; + + # Set your time zone. + time.timeZone = "Europe/Berlin"; + + # Select internationalisation properties. + i18n.defaultLocale = "de_DE.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"; + }; + + # This value determines the NixOS release from which the default + # settings for stateful data, like file locations and database versions + # on your system were taken. It‘s perfectly fine and recommended to leave + # this value at the release version of the first install of this system. + # Before changing this value read the documentation for this option + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). + system.stateVersion = "24.05"; # Did you read the comment? +}