mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: export home-manager options in nixos
This commit is contained in:
parent
8006a0abf2
commit
e3a0416a86
13 changed files with 151 additions and 191 deletions
|
|
@ -1,7 +0,0 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.swarselsystems.shellAliases = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
default = { };
|
||||
};
|
||||
}
|
||||
|
|
@ -4,10 +4,6 @@
|
|||
type = lib.types.str;
|
||||
default = "swarsel";
|
||||
};
|
||||
options.swarselsystems.flakePath = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
options.swarselsystems.withHomeManager = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
@ -25,11 +21,8 @@
|
|||
default = "";
|
||||
};
|
||||
options.swarselsystems.isCrypted = lib.mkEnableOption "uses full disk encryption";
|
||||
options.swarselsystems.isPublic = lib.mkEnableOption "is a public machine (no secrets)";
|
||||
options.swarselsystems.initialSetup = lib.mkEnableOption "initial setup (no sops keys available)";
|
||||
options.swarselsystems.isLinux = lib.mkEnableOption "whether this is a linux machine";
|
||||
|
||||
options.swarselsystems.isBtrfs = lib.mkEnableOption "use btrfs filesystem";
|
||||
options.swarselsystems.isImpermanence = lib.mkEnableOption "use impermanence on this system";
|
||||
options.swarselsystems.isSecureBoot = lib.mkEnableOption "use secure boot on this system";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
{ self, lib, ... }:
|
||||
|
||||
{
|
||||
options.swarselsystems.wallpaper = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
default = "${self}/wallpaper/lenovowp.png";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue