chore: update flakes
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.calibre;
|
||||
cfg = config.mySystem.services.calibre;
|
||||
in {
|
||||
options.system.services.calibre = {
|
||||
options.mySystem.services.calibre = {
|
||||
enable = mkEnableOption "Enable Calibre Web";
|
||||
user = mkOption {
|
||||
type = types.string;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.endlessh;
|
||||
cfg = config.mySystem.services.endlessh;
|
||||
in {
|
||||
options.system.services.endlessh = {
|
||||
options.mySystem.services.endlessh = {
|
||||
enable = mkEnableOption "Enables endlessh.";
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.fwupd;
|
||||
cfg = config.mySystem.services.fwupd;
|
||||
in {
|
||||
options.system.services.fwupd.enable = mkEnableOption "Enable fwupd";
|
||||
options.mySystem.services.fwupd.enable = mkEnableOption "Enable fwupd";
|
||||
config.services.fwupd = mkIf cfg.enable {
|
||||
inherit (cfg) enable;
|
||||
};
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.jellyfin;
|
||||
cfg = config.mySystem.services.jellyfin;
|
||||
in {
|
||||
options.system.services.jellyfin = {
|
||||
options.mySystem.services.jellyfin = {
|
||||
enable = mkEnableOption "Enable Jellyfin";
|
||||
dataDir = mkOption {
|
||||
type = types.string;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.plex;
|
||||
cfg = config.mySystem.services.plex;
|
||||
in {
|
||||
options.system.services.plex = {
|
||||
options.mySystem.services.plex = {
|
||||
enable = mkEnableOption "Enable Plex";
|
||||
group = mkOption {
|
||||
type = types.string;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.printing;
|
||||
cfg = config.mySystem.services.printing;
|
||||
in {
|
||||
options.system.services.printing.enable = mkEnableOption "Enable printing with CUPS";
|
||||
options.mySystem.services.printing.enable = mkEnableOption "Enable printing with CUPS";
|
||||
config.services.printing = mkIf cfg.enable {
|
||||
inherit (cfg) enable;
|
||||
};
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.ssh;
|
||||
cfg = config.mySystem.services.ssh;
|
||||
in {
|
||||
options.system.services.ssh = {
|
||||
options.mySystem.services.ssh = {
|
||||
enable = mkEnableOption "Enables OpenSSH";
|
||||
allowedUsers = mkOption {
|
||||
type = types.listOf types.str;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.services.sunshine;
|
||||
cfg = config.mySystem.services.sunshine;
|
||||
in {
|
||||
options.system.services.sunshine = {
|
||||
options.mySystem.services.sunshine = {
|
||||
enable = mkEnableOption "Enables Sunshine";
|
||||
autostart = mkEnableOption "Enables autostart";
|
||||
};
|
||||
@@ -15,6 +15,6 @@ in {
|
||||
autoStart = cfg.autostart;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
settings.sunshine_name = config.system.networking.hostname;
|
||||
settings.sunshine_name = config.mySystem.networking.hostname;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user