modularizes linux desktop

This commit is contained in:
Dennis Schoepf 2025-12-06 16:56:26 +01:00
parent c01472797b
commit b34a0b3234
13 changed files with 181 additions and 189 deletions

28
modules/unix/base.nix Normal file
View file

@ -0,0 +1,28 @@
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true;
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
security.sudo.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
programs.mtr.enable = true;
environment.variables = {
EDITOR = "nvim";
SYSTEMD_EDITOR = "nvim";
VISUAL = "nvim";
};
}