split hardware back out again, dir rename
This commit is contained in:
parent
48024a6bae
commit
8df61f216e
10 changed files with 124 additions and 103 deletions
25
modules/home/default.nix
Normal file
25
modules/home/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.my.home;
|
||||
in {
|
||||
imports = [
|
||||
./vinzenz.nix
|
||||
./ronja.nix
|
||||
# enable home manager
|
||||
<home-manager/nixos>
|
||||
];
|
||||
|
||||
options.my.home = {
|
||||
enable = lib.mkEnableOption "my home management";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue