Edited flake to use podman dir instead of docker
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
# Helper: collect every *.nix file inside ./docker as a list
|
||||
dockerModules = let
|
||||
dir = ../docker;
|
||||
# Helper: collect every *.nix file inside ./podman as a list
|
||||
podmanModules = let
|
||||
dir = ../podman;
|
||||
entries = builtins.readDir dir;
|
||||
names = builtins.attrNames entries;
|
||||
nixNames = builtins.filter (n: builtins.match ".*\\.nix" n != null) names;
|
||||
@@ -43,8 +43,8 @@
|
||||
# Core host configuration
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
# Docker services – automatically added from ./docker/*.nix
|
||||
] ++ dockerModules;
|
||||
# Podman services – automatically added from ./podman/*.nix
|
||||
] ++ podmanModules;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user