Incorporate config updates from homelab

This commit is contained in:
Emmet 2024-04-06 08:32:34 -05:00
parent 05cfe06e85
commit 12b3d12dec
2 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,7 @@
imports =
[ ../../system/hardware-configuration.nix
../../system/hardware/time.nix # Network time sync
../../system/security/firewall.nix
../../system/security/doas.nix
../../system/security/gpg.nix
( import ../../system/app/docker.nix {storageDriver = null; inherit pkgs userSettings lib;} )
@ -71,10 +72,15 @@
git
rclone
rdiff-backup
rsnapshot
cryptsetup
gocryptfs
];
programs.fuse.userAllowOther = true;
services.haveged.enable = true;
# I use zsh btw
environment.shells = with pkgs; [ zsh ];
users.defaultUserShell = pkgs.zsh;

View file

@ -19,6 +19,7 @@ assert lib.asserts.assertOneOf "storageDriver" storageDriver [
};
users.users.${userSettings.username}.extraGroups = [ "docker" ];
environment.systemPackages = with pkgs; [
docker
docker-compose
lazydocker
];