continue refactor, home modules are actual modules and remove some useless files
This commit is contained in:
16
homeConfigs/modules/x11/x11.nix
Normal file
16
homeConfigs/modules/x11/x11.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ lib, pkgs, config , ... }:
|
||||
|
||||
{
|
||||
options.mods.x11.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "configure x11";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.x11.enable {
|
||||
home.packages = with pkgs; [
|
||||
nitrogen
|
||||
numlockx
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user