❄️ Nix configurations
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update i18n

+29 -8
+10 -8
hosts/polecat/configuration.nix
··· 7 7 { 8 8 imports = [ 9 9 ./hardware-configuration.nix 10 + ../../modules/nixos/common/i18n.nix 10 11 ]; 11 12 12 13 # Bootloader ··· 20 21 networkmanager.enable = true; 21 22 domain = "otter.place"; 22 23 useDHCP = false; 23 - interfaces.enp1s0.useDHCP = false; 24 - interfaces.enp1s0.ipv4.addresses = [ 25 - { 26 - address = "192.168.1.50"; 27 - prefixLength = 24; 28 - } 29 - ]; 24 + interfaces.enp1s0 = { 25 + useDHCP = false; 26 + ipv4.addresses = [ 27 + { 28 + address = "192.168.1.50"; 29 + prefixLength = 24; 30 + } 31 + ]; 32 + }; 30 33 defaultGateway = "192.168.1.1"; 31 34 nameservers = [ "192.168.1.1" "1.1.1.1" ]; 32 35 }; 33 36 34 37 time.timeZone = "Europe/Paris"; 35 - i18n.defaultLocale = "en_US.UTF-8"; 36 38 37 39 environment.systemPackages = map lib.lowPrio [ 38 40 pkgs.curl
modules/nixos/.gitkeep

This is a binary file and will not be displayed.

+19
modules/nixos/common/i18n.nix
··· 1 + { 2 + lib, 3 + pkgs, 4 + ... 5 + }: 6 + { 7 + i18n.defaultLocale = "en_US.UTF-8"; 8 + i18n.extraLocaleSettings = { 9 + LC_ADDRESS = "fr_FR.UTF-8"; 10 + LC_IDENTIFICATION = "fr_FR.UTF-8"; 11 + LC_MEASUREMENT = "fr_FR.UTF-8"; 12 + LC_MONETARY = "fr_FR.UTF-8"; 13 + LC_NAME = "fr_FR.UTF-8"; 14 + LC_NUMERIC = "fr_FR.UTF-8"; 15 + LC_PAPER = "fr_FR.UTF-8"; 16 + LC_TELEPHONE = "fr_FR.UTF-8"; 17 + LC_TIME = "fr_FR.UTF-8"; 18 + }; 19 + }