mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 06:33:08 +01:00
Added LCVariables and KDBLayout as options for user
This commit is contained in:
parent
b1a06d69bf
commit
39077578da
@ -1,9 +1,9 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ pkgs, config, theKBDLayout, ... }:
|
||||
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
layout = "us";
|
||||
layout = "${theKBDLayout}";
|
||||
xkbVariant = "";
|
||||
libinput.enable = true;
|
||||
displayManager.sddm = {
|
||||
|
@ -18,6 +18,8 @@
|
||||
gitUsername = "Tyler Kelley";
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
theLocale = "en_US.UTF-8";
|
||||
theKBDLayout = "us";
|
||||
theLCVariables = "en_US.UTF-8";
|
||||
theTimezone = "America/Chicago";
|
||||
theme = "tokyo-night-storm";
|
||||
browser = "firefox";
|
||||
@ -43,7 +45,8 @@
|
||||
inherit gitUsername; inherit theTimezone;
|
||||
inherit gitEmail; inherit theLocale;
|
||||
inherit wallpaperDir; inherit wallpaperGit;
|
||||
inherit deviceProfile;
|
||||
inherit deviceProfile; inherit theKBDLayout;
|
||||
inherit theLCVariables;
|
||||
};
|
||||
modules = [ ./system.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
|
21
system.nix
21
system.nix
@ -1,6 +1,7 @@
|
||||
{ inputs, config, pkgs, username,
|
||||
hostname, gitUsername, theLocale,
|
||||
theTimezone, wallpaperDir, wallpaperGit, ... }:
|
||||
theTimezone, wallpaperDir, wallpaperGit,
|
||||
theLCVariables, theKBDLayout, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
@ -19,15 +20,15 @@
|
||||
# Select internationalisation properties
|
||||
i18n.defaultLocale = "${theLocale}";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "${theLocale}";
|
||||
LC_IDENTIFICATION = "${theLocale}";
|
||||
LC_MEASUREMENT = "${theLocale}";
|
||||
LC_MONETARY = "${theLocale}";
|
||||
LC_NAME = "${theLocale}";
|
||||
LC_NUMERIC = "${theLocale}";
|
||||
LC_PAPER = "${theLocale}";
|
||||
LC_TELEPHONE = "${theLocale}";
|
||||
LC_TIME = "${theLocale}";
|
||||
LC_ADDRESS = "${theLCVariables}";
|
||||
LC_IDENTIFICATION = "${theLCVariables}";
|
||||
LC_MEASUREMENT = "${theLCVariables}";
|
||||
LC_MONETARY = "${theLCVariables}";
|
||||
LC_NAME = "${theLCVariables}";
|
||||
LC_NUMERIC = "${theLCVariables}";
|
||||
LC_PAPER = "${theLCVariables}";
|
||||
LC_TELEPHONE = "${theLCVariables}";
|
||||
LC_TIME = "${theLCVariables}";
|
||||
};
|
||||
|
||||
# Define a user account.
|
||||
|
Loading…
Reference in New Issue
Block a user