Docker: Simplify docker module by making usernames adjustable
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.tux = {
|
||||
flake.modules.nixos.tux-devtools = {
|
||||
imports = with inputs.self.modules.nixos;
|
||||
with inputs.self.factory; [
|
||||
development-tools
|
||||
@@ -9,7 +9,7 @@
|
||||
udev-pio
|
||||
udev-lauterbach
|
||||
|
||||
docker
|
||||
(docker [ "weckyy702" ])
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
flake.modules.nixos.tux = {
|
||||
users.users.weckyy702.extraGroups = [ "docker" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user