diff options
| author | Joe Mou <dev@mou.fo> | 2024-02-13 22:25:19 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2024-02-13 22:27:27 -0500 |
| commit | e12fb7e7d533be78312c8fa52e1f07ed516e9131 (patch) | |
| tree | 396fbc36efe4a18d378630720e03f082ed3e2c50 /hostnix/elmo/system.nix | |
| parent | dd076148cc59eb4a613d951e5e0b929c3cb3cbfd (diff) | |
Refactor elmo default configs
Diffstat (limited to 'hostnix/elmo/system.nix')
| -rw-r--r-- | hostnix/elmo/system.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/hostnix/elmo/system.nix b/hostnix/elmo/system.nix new file mode 100644 index 0000000..6ef89d1 --- /dev/null +++ b/hostnix/elmo/system.nix @@ -0,0 +1,35 @@ +{ config, pkgs, ... }: + +{ + # Bootloader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + networking.hostName = "elmo"; # Define your hostname. + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + + # Enable networking + networking.networkmanager.enable = true; + + # Set your time zone. + time.timeZone = "America/New_York"; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + i18n.extraLocaleSettings = { + LC_ADDRESS = "en_US.UTF-8"; + LC_IDENTIFICATION = "en_US.UTF-8"; + LC_MEASUREMENT = "en_US.UTF-8"; + LC_MONETARY = "en_US.UTF-8"; + LC_NAME = "en_US.UTF-8"; + LC_NUMERIC = "en_US.UTF-8"; + LC_PAPER = "en_US.UTF-8"; + LC_TELEPHONE = "en_US.UTF-8"; + LC_TIME = "en_US.UTF-8"; + }; +} |
