Users: Add Josh & Groups: NFRF Add Josh

master
David Crompton 2024-04-24 09:42:07 -04:00
parent d35c9ffc37
commit 29a13e0149
6 changed files with 23 additions and 2 deletions

View File

@ -2,8 +2,14 @@
virtualisation = { virtualisation = {
podman = { podman = {
enable = true; enable = true;
dockerCompat = true;
}; };
docker.rootless = {
enable = true;
setSocketVariable = true;
};
# For compatability, and for some reason this isn't able to be per
# container?
oci-containers.backend = "docker";
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@ -7,6 +7,7 @@
matplotlib matplotlib
tqdm tqdm
seaborn seaborn
neuronpy
])) ]))
]; ];
} }

View File

@ -9,10 +9,11 @@ in {
# "Normal" User: for Podman Usage # "Normal" User: for Podman Usage
isNormalUser = true; isNormalUser = true;
home = stateDir; home = stateDir;
linger = true;
}; };
groups.overleaf = {}; groups.overleaf = {};
}; };
services.caddy.virtualHosts = { services.caddy.virtualHosts = {
"overleaf.ws.kcnhub.com" = { "overleaf.ws.kcnhub.com" = {
extraConfig = '' extraConfig = ''

View File

@ -16,6 +16,7 @@
./users/reza.nix ./users/reza.nix
./users/michael.nix ./users/michael.nix
./users/ryan.nix ./users/ryan.nix
./users/josh.nix
# Groups # Groups
./users/groups/admin.nix ./users/groups/admin.nix

View File

@ -4,6 +4,7 @@
"spandan" "spandan"
"frances" "frances"
"nooshin" "nooshin"
"josh"
]; ];
}; };
} }

View File

@ -0,0 +1,11 @@
{ pkgs, ... }: {
users.users.josh = {
isNormalUser = true;
extraGroups = [ ];
homeSize = "50g";
homeProjectId = 117;
packages = with pkgs; [
];
};
}