mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-21 17:02:18 +00:00
nixos: reorganize more services
This commit is contained in:
parent
373afff21c
commit
40afcef081
5 changed files with 20 additions and 18 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
17
hosts/common/global/locale.nix
Normal file
17
hosts/common/global/locale.nix
Normal 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";
|
||||
}
|
|
@ -7,5 +7,6 @@
|
|||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./pipewire.nix
|
||||
./printing.nix
|
||||
./xserver.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue