mirror of
https://github.com/blahai/nyx.git
synced 2025-06-10 04:13:01 -04:00
stuffies
This commit is contained in:
parent
ffae125fcf
commit
d6c098bbbe
23 changed files with 92 additions and 587 deletions
|
@ -1,18 +1,25 @@
|
|||
{
|
||||
lib,
|
||||
self,
|
||||
self',
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.attrsets) genAttrs;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
hjem = {
|
||||
users = genAttrs config.olympus.system.users (name: ./${name});
|
||||
options.olympus.system.enableHjem =
|
||||
mkEnableOption "Should hjem be enabled"
|
||||
// {
|
||||
default = true;
|
||||
};
|
||||
|
||||
clobberByDefault = true;
|
||||
config = mkIf config.olympus.system.enableHjem {
|
||||
hjem = {
|
||||
users = genAttrs config.olympus.system.users (name: ./${name});
|
||||
clobberByDefault = true;
|
||||
specialArgs = {inherit inputs;};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue