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

View file

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