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 = [ imports = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
./fish.nix ./fish.nix
./locale.nix
./tailscale.nix ./tailscale.nix
] ++ (builtins.attrValues outputs.nixosModules); ] ++ (builtins.attrValues outputs.nixosModules);
@ -19,19 +20,4 @@
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
networking.domain = "vim.wtf"; 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.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
jack.enable = true;
}; };
} }

View file

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

View file

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