Hostname diff

This commit is contained in:
xeovalyte 2025-04-24 17:25:36 +02:00
parent ff3388379c
commit 4b1332e748
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:GWI1hq+MNKR2UOcvk7n9tekASXT8vyazK7vDF9Xyciw
5 changed files with 28 additions and 2 deletions

View File

@ -80,7 +80,7 @@
]; ];
}; };
th-vrt-ctr01 = nixpkgs.lib.nixosSystem { v-th-ctr01 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [

View File

@ -22,6 +22,7 @@
}; };
services = { services = {
docker.enable = false; docker.enable = false;
podman.enable = true;
quickemu.enable = false; quickemu.enable = false;
sunshine.enable = false; sunshine.enable = false;
garbage-collection.enable = true; garbage-collection.enable = true;
@ -50,7 +51,7 @@
]; ];
}; };
networking.hostName = "th-vrt-ctr01"; # Define your hostname. networking.hostName = "v-th-ctr-01"; # Define your hostname.
networking.firewall = { networking.firewall = {
enable = true; enable = true;

View File

@ -7,6 +7,7 @@
./applications/thunar.nix ./applications/thunar.nix
./services/docker.nix ./services/docker.nix
./services/podman.nix
./services/quickemu.nix ./services/quickemu.nix
./services/sunshine.nix ./services/sunshine.nix
./services/garbage-collection.nix ./services/garbage-collection.nix

View File

@ -0,0 +1,24 @@
{ lib, config, ... }:
with lib;
let
cfg = config.settings.services.podman;
in {
options = {
settings.services.podman.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable podman configuration
'';
};
};
config = mkIf cfg.enable {
virtualisation.containers.enable = true;
virtualisation.podman = {
enable = true;
};
};
}