mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: eliminate old module setup [part 1]
This commit is contained in:
parent
da4cf4eca0
commit
de9b5cf40c
58 changed files with 2375 additions and 2899 deletions
|
|
@ -1,15 +0,0 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
options.swarselsystems = {
|
||||
hasBluetooth = lib.mkEnableOption "bluetooth availability";
|
||||
hasFingerprint = lib.mkEnableOption "fingerprint sensor availability";
|
||||
trackpoint = {
|
||||
isAvailable = lib.mkEnableOption "trackpoint availability";
|
||||
trackpoint.device = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.swarselsystems = {
|
||||
server = {
|
||||
enable = lib.mkEnableOption "is a server machine";
|
||||
kavita = lib.mkEnableOption "enable kavita on server";
|
||||
jellyfin = lib.mkEnableOption "enable jellyfin on server";
|
||||
navidrome = lib.mkEnableOption "enable navidrome on server";
|
||||
spotifyd = lib.mkEnableOption "enable spotifyd on server";
|
||||
mpd = lib.mkEnableOption "enable mpd on server";
|
||||
matrix = lib.mkEnableOption "enable matrix on server";
|
||||
nextcloud = lib.mkEnableOption "enable nextcloud on server";
|
||||
immich = lib.mkEnableOption "enable immich on server";
|
||||
paperless = lib.mkEnableOption "enable paperless on server";
|
||||
transmission = lib.mkEnableOption "enable transmission and friends on server";
|
||||
syncthing = lib.mkEnableOption "enable syncthing on server";
|
||||
restic = lib.mkEnableOption "enable restic backups on server";
|
||||
monitoring = lib.mkEnableOption "enable monitoring on server";
|
||||
jenkins = lib.mkEnableOption "enable jenkins on server";
|
||||
emacs = lib.mkEnableOption "enable emacs server on server";
|
||||
forgejo = lib.mkEnableOption "enable forgejo on server";
|
||||
ankisync = lib.mkEnableOption "enable ankisync on server";
|
||||
freshrss = lib.mkEnableOption "enable freshrss on server";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.swarselsystems = {
|
||||
withHomeManager = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
isSwap = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
swapSize = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "8G";
|
||||
};
|
||||
rootDisk = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
isCrypted = lib.mkEnableOption "uses full disk encryption";
|
||||
initialSetup = lib.mkEnableOption "initial setup (no sops keys available)";
|
||||
|
||||
isImpermanence = lib.mkEnableOption "use impermanence on this system";
|
||||
isSecureBoot = lib.mkEnableOption "use secure boot on this system";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue