task | add docker support to fred

This commit is contained in:
Don Harper 2024-11-28 10:04:21 -06:00
parent 02b4c52992
commit f0a0a8ed26
3 changed files with 29 additions and 6 deletions

View file

@ -11,6 +11,7 @@
./hardware-configuration.nix
../server
../themes.nix
./docker.nix
# ./podman.nix
../server/searxng.nix
# ../server/unifi.nix

19
hosts/fred/docker.nix Normal file
View file

@ -0,0 +1,19 @@
# Auto-generated using compose2nix v0.1.6.
{
config,
lib,
...
}: {
# Runtime
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
# defaultNetwork.settings = {
# # Required for container networking to be able to use names.
# dns_enabled = true;
# };
};
# environment.systemPackages = with pkgs; [
# docker-compose
# ];
}

View file

@ -154,13 +154,14 @@ in {
initialPassword = "changeme";
description = "Don Harper";
extraGroups = [
"networkmanager"
"wheel"
"scanner"
"lp"
"video"
"mlocate"
"disk"
"docker"
"lp"
"mlocate"
"networkmanager"
"scanner"
"video"
"wheel"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki"
@ -184,6 +185,7 @@ in {
bash-completion
btop
colmena
docker-compose
git-crypt
gitFull
home-manager
@ -191,6 +193,7 @@ in {
hunspellDicts.en_US
isync
just
lazydocker
lsb-release
lsof
nix-bash-completions