summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-08-18 18:55:34 -0700
committerPreston Pan <ret2pop@gmail.com>2025-08-18 18:55:34 -0700
commit4753c566cfc42f3af2bc6fac1717b88c4f32bcec (patch)
treef069044b7570471fa2a4212e5542f3f701ad086f /config
parentd747e5d390840f19184f5e1ca41e6cdb034a0451 (diff)
add docker to setup
Diffstat (limited to 'config')
-rw-r--r--config/nix.org14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/nix.org b/config/nix.org
index 34e7d0d..125547a 100644
--- a/config/nix.org
+++ b/config/nix.org
@@ -365,6 +365,15 @@ Still, it is suitable for using Krita.
}
#+end_src
You should add your own video drivers in a custom machine configuration.
+** Docker
+In order to run docker containers, I need this file:
+#+begin_src nix :tangle ../nix/modules/docker.nix
+ { lib, config, vars, ... }:
+ {
+ virtualisation.docker.enable = true;
+ }
+#+end_src
+
** Pipewire
My low latency pipewire configuration is used for music production, as well as for regular
desktop usage. Pipewire is much better than pulseaudio because it supports jack with the same
@@ -856,6 +865,7 @@ because they enhance security.
./murmur.nix
./ngircd.nix
./znc.nix
+ ./docker.nix
];
documentation = {
@@ -1155,6 +1165,7 @@ because they enhance security.
users.groups.ngircd = lib.mkDefault {};
users.users = {
+
ngircd = {
isSystemUser = lib.mkDefault true;
group = "ngircd";
@@ -1192,10 +1203,11 @@ because they enhance security.
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 = [];
};