refactor: export home-manager options in nixos

This commit is contained in:
Leon Schwarzäugl 2025-02-25 22:46:41 +01:00
parent 8006a0abf2
commit e3a0416a86
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
13 changed files with 151 additions and 191 deletions

View file

@ -1,7 +0,0 @@
{ lib, ... }:
{
options.swarselsystems.shellAliases = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
default = { };
};
}

View file

@ -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";
}

View file

@ -1,8 +0,0 @@
{ self, lib, ... }:
{
options.swarselsystems.wallpaper = lib.mkOption {
type = lib.types.path;
default = "${self}/wallpaper/lenovowp.png";
};
}