This commit is contained in:
kiri committed 2026-09-02 23:25:33 +02:00
1 parent 093431ecf7
commit 4a4b523259
3 files changed
+20 -5

No files matched your search

+3 -2
View File
@@ -1,11 +1,14 @@
{ inputs, config, ... }: { inputs, config, ... }:
let let
hmModules = config.flake.modules.homeManager; hmModules = config.flake.modules.homeManager;
nixosModules = config.flake.modules.nixos;
in in
{ {
flake.modules.nixos.ai = flake.modules.nixos.ai =
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [ nixosModules.podman ];
home-manager.sharedModules = [ hmModules.ai ]; home-manager.sharedModules = [ hmModules.ai ];
nixpkgs.overlays = [ inputs.llm-agents.overlays.shared-nixpkgs ]; nixpkgs.overlays = [ inputs.llm-agents.overlays.shared-nixpkgs ];
@@ -27,8 +30,6 @@ in
flake.modules.homeManager.ai = flake.modules.homeManager.ai =
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [ hmModules.podman ];
services.podman = { services.podman = {
volumes = { volumes = {
grounded-docs-config = { }; grounded-docs-config = { };
+16 -2
View File
@@ -1,8 +1,22 @@
{ ... }: { config, ... }:
let
homeModules = config.flake.modules.homeManager;
in
{
flake.modules.nixos.podman = {
home-manager.sharedModules = [ homeModules.podman ];
virtualisation.podman.enable = true;
};
flake.modules.homeManager.podman =
{ osConfig, pkgs, ... }:
{ {
flake.modules.homeManager.podman = {
services.podman = { services.podman = {
enable = true; enable = true;
package = osConfig.virtualisation.podman.package;
}; };
home.packages = [ pkgs.podman-tui ];
}; };
} }
+1 -1
View File
@@ -22,7 +22,7 @@ in
nixosModules.caddy nixosModules.caddy
nixosModules.server-firewall nixosModules.server-firewall
nixosModules.sudo-ssh-agent-auth nixosModules.sudo-ssh-agent-auth
nixosModules.vps-insights # nixosModules.vps-insights
nixosModules.vaultwarden nixosModules.vaultwarden
nixosModules.radicale nixosModules.radicale
nixosModules.actual nixosModules.actual