task | add docker support to fred
This commit is contained in:
parent
02b4c52992
commit
f0a0a8ed26
3 changed files with 29 additions and 6 deletions
|
|
@ -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
19
hosts/fred/docker.nix
Normal 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
|
||||
# ];
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue