mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
feat: share config between nixos / home-manager
This commit is contained in:
parent
641a0cd84d
commit
57d5ea065a
166 changed files with 1029 additions and 1031 deletions
|
|
@ -25,8 +25,8 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
options.swarselmodules.optional.work = lib.mkEnableOption "optional work settings";
|
||||
options.swarselsystems = {
|
||||
modules.optional.work = lib.mkEnableOption "optional work settings";
|
||||
hostName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
|
|
@ -36,7 +36,7 @@ in
|
|||
default = "";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.swarselsystems.modules.optional.work {
|
||||
config = lib.mkIf config.swarselmodules.optional.work {
|
||||
sops =
|
||||
let
|
||||
secretNames = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue