Add minimal modular setup

This commit is contained in:
muon 2024-05-28 15:55:10 +00:00
commit e81d8c9be4
19 changed files with 351 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{ pkgs, lib, ... }: {
imports = [
./locale.nix
./programs.nix
./services.nix
];
}

View file

@ -0,0 +1,10 @@
{ pkgs, lib, config, ... }: {
time.timeZone = "Etc/UTC";
i18n.defaultLocale = "en_US.UTF-8";
console = if config.mods.xorg.enable then {
useXkbConfig = true;
} else {
keymap = "us";
};
}

View file

@ -0,0 +1,11 @@
{ pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [
vim
wget
];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
}

View file

@ -0,0 +1,3 @@
{ pkgs, lib, ... }: {
services.openssh.enable = true;
}