diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-08-18 18:55:34 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-08-18 18:55:34 -0700 |
| commit | 4753c566cfc42f3af2bc6fac1717b88c4f32bcec (patch) | |
| tree | f069044b7570471fa2a4212e5542f3f701ad086f /nix | |
| parent | d747e5d390840f19184f5e1ca41e6cdb034a0451 (diff) | |
add docker to setup
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/modules/configuration.nix | 5 | ||||
| -rw-r--r-- | nix/modules/docker.nix | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/nix/modules/configuration.nix b/nix/modules/configuration.nix index 65c566e..5439682 100644 --- a/nix/modules/configuration.nix +++ b/nix/modules/configuration.nix @@ -19,6 +19,7 @@ ./murmur.nix ./ngircd.nix ./znc.nix + ./docker.nix ]; documentation = { @@ -318,6 +319,7 @@ users.groups.ngircd = lib.mkDefault {}; users.users = { + ngircd = { isSystemUser = lib.mkDefault true; group = "ngircd"; @@ -355,10 +357,11 @@ openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICts6+MQiMwpA+DfFQxjIN214Jn0pCw/2BDvOzPhR/H2 preston@continuity-dell" ]; + initialPassword = "${config.monorepo.vars.userName}"; isNormalUser = true; description = config.monorepo.vars.fullName; - extraGroups = [ "networkmanager" "wheel" "video" "docker" "jackaudio" "tss" "dialout" ]; + extraGroups = [ "networkmanager" "wheel" "video" "docker" "jackaudio" "tss" "dialout" "docker" ]; shell = pkgs.zsh; packages = []; }; diff --git a/nix/modules/docker.nix b/nix/modules/docker.nix new file mode 100644 index 0000000..dbe4326 --- /dev/null +++ b/nix/modules/docker.nix @@ -0,0 +1,4 @@ +{ lib, config, vars, ... }: +{ + virtualisation.docker.enable = true; +} |
