user factory reworks

This commit is contained in:
John Lancaster
2026-03-29 15:03:26 -05:00
parent 1991766a5e
commit 6d1cf5aa80
6 changed files with 56 additions and 52 deletions
+4 -11
View File
@@ -1,20 +1,13 @@
{ inputs, ... }:
{ self, inputs, ... }:
{
flake.modules.nixos.docker = {
virtualisation.docker = {
enable = true;
};
home-manager.sharedModules = with inputs.self.modules.homeManager; [
docker
];
virtualisation.docker.enable = true;
home-manager.sharedModules = [ inputs.self.modules.homeManager.docker ];
};
flake.modules.homeManager.docker = { config, lib, pkgs, ... }:
{
options.docker = {
enable = lib.mkEnableOption "Docker tools and utilities";
};
options.docker.enable = lib.mkEnableOption "Docker tools and utilities";
config = lib.mkIf config.docker.enable {
programs.lazydocker.enable = true;
programs.docker-cli.enable = true;