nixos: reorganize more services

This commit is contained in:
John Bowdre 2023-09-24 19:00:27 -05:00
parent 373afff21c
commit 40afcef081
5 changed files with 20 additions and 18 deletions

View File

@ -2,6 +2,7 @@
imports = [
inputs.home-manager.nixosModules.home-manager
./fish.nix
./locale.nix
./tailscale.nix
] ++ (builtins.attrValues outputs.nixosModules);
@ -19,19 +20,4 @@
hardware.enableRedistributableFirmware = true;
networking.domain = "vim.wtf";
i18n = {
defaultLocale = "en_US.UTF-8";
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";
};
};
}

View File

@ -0,0 +1,17 @@
{ lib, ... }: {
i18n = {
defaultLocale = lib.mkDefault "en_US.UTF-8";
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";
};
};
time.timeZone = lib.mkDefault "America/Chicago";
}

View File

@ -7,5 +7,6 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
}

View File

@ -11,6 +11,7 @@
../common/optional/docker.nix
../common/optional/libvirtd.nix
../common/optional/pipewire.nix
../common/optional/sshd.nix
];
@ -26,8 +27,6 @@
networkmanager.enable = true;
};
time.timeZone = "America/Chicago";
system.stateVersion = "23.05";
}

View File

@ -1,6 +1,5 @@
{
imports = [
./pipewire.nix
./printing.nix
./xserver.nix
];