Change in folders organisation

This commit is contained in:
Laurent Gueret
2026-01-29 11:04:36 +01:00
parent 4d824e2be1
commit 7dfad1672f
25 changed files with 48 additions and 112 deletions
-4
View File
@@ -13,10 +13,6 @@ in
enable = true;
config = {
init.defaultBranch = "main";
user = {
name = "Laurent Gueret";
email = "gueretlob@icloud.com";
};
};
};
@@ -1,10 +1,10 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.shell.docker;
cfg = config.os.virtualisation.docker;
in
{
options.os.shell.docker = {
options.os.virtualisation.docker = {
enable = mkEnableOption "System docker service";
};
config = mkIf cfg.enable {
@@ -13,5 +13,6 @@ in
enable = true;
daemon.settings.features.cdi = true;
};
};
}
@@ -0,0 +1,35 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.os.virtualisation.podman;
in
{
options.os.virtualisation.podman = {
enable = mkEnableOption "System docker service";
};
config = mkIf cfg.enable {
virtualisation = {
containers.enable = true;
podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
defaultNetwork.settings.dns_enabled = true; # Required for containers under podman-compose to be able to talk to each other.
};
};
environment = {
systemPackages = with pkgs; [
pods
podman-compose
];
};
};
}
+1 -1
View File
@@ -24,8 +24,8 @@
os.gnome.apps.enable = true;
# Virtualisation Apps
os.shell.docker.enable = true;
os.virtualisation.cuda.enable = true;
os.virtualisation.podman.enable = true;
# System version
system.stateVersion = "25.11";
+1 -1
View File
@@ -6,7 +6,7 @@
isNormalUser = true;
extraGroups = [
"wheel"
"docker"
"podman"
];
};
};