Add NixOS config
This commit is contained in:
commit
6020d64797
43 changed files with 1372 additions and 0 deletions
31
nixos/modules/user.nix
Normal file
31
nixos/modules/user.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue