diff --git a/system/lesbos/configuration.nix b/system/lesbos/configuration.nix index debfe77..67607c5 100644 --- a/system/lesbos/configuration.nix +++ b/system/lesbos/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ config, pkgs, timezone, locale, ... }: { imports = @@ -25,21 +25,21 @@ networking.networkmanager.enable = true; # Set your time zone. - time.timeZone = "America/Denver"; + time.timeZone = "${timezone}"; # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; + i18n.defaultLocale = "${locale}"; 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"; + LC_ADDRESS = "${locale}"; + LC_IDENTIFICATION = "${locale}"; + LC_MEASUREMENT = "${locale}"; + LC_MONETARY = "${locale}"; + LC_NAME = "${locale}"; + LC_NUMERIC = "${locale}"; + LC_PAPER = "${locale}"; + LC_TELEPHONE = "${locale}"; + LC_TIME = "${locale}"; }; @@ -49,11 +49,6 @@ services.desktopManager.plasma6.enable = true; # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - # Enable CUPS to print documents. services.printing.enable = true; @@ -81,17 +76,11 @@ isNormalUser = true; description = "autumn"; extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - kdePackages.kate - # thunderbird - ]; }; # Install firefox. programs = { - bash.interactiveshellInit = "fish"; firefox.enable = true; - waybar.enable = false; }; # Allow unfree packages diff --git a/system/yukigekko/configuration.nix b/system/yukigekko/configuration.nix index 3ffa821..309f3ef 100644 --- a/system/yukigekko/configuration.nix +++ b/system/yukigekko/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, lib, home-manager, timezone, username, system, locale, ... }: +{ config, pkgs, lib, home-manager, timezone, user, system, locale, ... }: { imports =