diff --git a/nixos/mirai/configuration.nix b/nixos/mirai/configuration.nix index 49f9b341..84ca0a13 100644 --- a/nixos/mirai/configuration.nix +++ b/nixos/mirai/configuration.nix @@ -7,6 +7,7 @@ imports = [ # Include the results of the hardware scan. ./mirai.nix + ./docker.nix ]; # Use the systemd-boot EFI boot loader. @@ -35,11 +36,11 @@ users.users.fs0c131y = { isNormalUser = true; - extraGroups = ["wheel"]; + extraGroups = ["wheel" "docker"]; }; nixpkgs.config.allowUnfree = true; - # networking.hostName = "nixos"; # Define your hostname. + networking.hostName = "mirai"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. diff --git a/nixos/mirai/docker.nix b/nixos/mirai/docker.nix new file mode 100644 index 00000000..02df9029 --- /dev/null +++ b/nixos/mirai/docker.nix @@ -0,0 +1,8 @@ +{ + config, + lib, + pkgs, + ... +}: { + virtualisation.docker.enable = true; +}