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