Add NixOS config

This commit is contained in:
Zeph Levy 2025-11-11 16:09:55 +01:00
commit 6020d64797
43 changed files with 1372 additions and 0 deletions

31
nixos/modules/user.nix Normal file
View file

@ -0,0 +1,31 @@
{ pkgs, ...} : {
programs.fish.enable = true;
documentation.man.generateCaches = false;
# virtualisation.docker.enable = true;
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings = { dns_enabled = true; };
};
};
users = {
defaultUserShell = pkgs.bash;
users.zeph = {
isNormalUser = true;
extraGroups = [
"wheel"
"networkmanager"
"video"
"kvm"
"docker"
];
packages = with pkgs; [];
};
};
services.fwupd.enable = true;
}