more confing

This commit is contained in:
autumn
2025-08-27 14:30:55 -06:00
parent f00ac66469
commit b41004dda9
2 changed files with 13 additions and 24 deletions

View File

@@ -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