incorporated john-p14s, big squash merge of stuff
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user