mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-04 12:25:53 +02:00
Add docker to amon
This commit is contained in:
parent
dd2adbd0ff
commit
a99c56eb0c
2 changed files with 7 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
../modules/server/docker.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
|
6
nixos/modules/server/docker.nix
Normal file
6
nixos/modules/server/docker.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
autoPrune.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue