diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-02 10:48:21 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-02 10:48:21 -0400 |
| commit | 31c316d19cd974bb81a5d6de62142ff24db1c78e (patch) | |
| tree | cb941422c76cb8953830a8d58c8e14dca1a10319 /features/system/services/extra | |
| parent | 1c21018347aa277caba74e554cb8d1b1e7fc6bed (diff) | |
reorganized directory structure
Diffstat (limited to 'features/system/services/extra')
| -rw-r--r-- | features/system/services/extra/plymouth.nix | 36 | ||||
| -rw-r--r-- | features/system/services/extra/sddm.nix | 23 | ||||
| -rw-r--r-- | features/system/services/extra/ssh.nix | 14 | ||||
| -rw-r--r-- | features/system/services/extra/syncthing-client.nix | 35 | ||||
| -rw-r--r-- | features/system/services/extra/udisks2.nix | 12 |
5 files changed, 0 insertions, 120 deletions
diff --git a/features/system/services/extra/plymouth.nix b/features/system/services/extra/plymouth.nix deleted file mode 100644 index 07f00cd..0000000 --- a/features/system/services/extra/plymouth.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ config, pkgs, lib, ... }: let - cfg = config.features.services.extra.plymouth; -in { - options.features.services.extra.plymouth.enable = lib.mkEnableOption "plymouth"; - config = lib.mkIf cfg.enable { - boot = { - plymouth = { - enable = true; - theme = "dark_planet"; - themePackages = with pkgs; [ - # By default we would install all themes - (adi1090x-plymouth-themes.override { - selected_themes = [ "dark_planet" ]; - }) - ]; - }; - - # Enable "Silent Boot" - consoleLogLevel = 0; - initrd.verbose = false; - kernelParams = [ - "quiet" - "splash" - "boot.shell_on_fail" - "loglevel=3" - "rd.systemd.show_status=false" - "rd.udev.log_level=3" - "udev.log_priority=3" - ]; - # Hide the OS choice for bootloaders. - # It's still possible to open the bootloader list by pressing any key - # It will just not appear on screen unless a key is pressed - loader.timeout = 0; - }; - }; -} diff --git a/features/system/services/extra/sddm.nix b/features/system/services/extra/sddm.nix deleted file mode 100644 index f266575..0000000 --- a/features/system/services/extra/sddm.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, pkgs, lib, ... }: let - cfg = config.features.services.extra.sddm; - sddm-astronaut = pkgs.sddm-astronaut.override { - themeConfig = { - # Background = ./background.png; - }; - }; -in { - options.features.services.extra.sddm.enable = lib.mkEnableOption "sddm"; - config = lib.mkIf cfg.enable { - services = { - displayManager.sddm = { - enable = true; - wayland.enable = true; - package = pkgs.kdePackages.sddm; - theme = "sddm-astronaut-theme"; - extraPackages = [ sddm-astronaut ]; - }; - # xserver.enable = true; - }; - environment.systemPackages = [ sddm-astronaut ]; - }; -} diff --git a/features/system/services/extra/ssh.nix b/features/system/services/extra/ssh.nix deleted file mode 100644 index d1cee26..0000000 --- a/features/system/services/extra/ssh.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, lib, ... }: let - cfg = config.features.services.extra.ssh; -in { - options.features.services.extra.ssh.enable = lib.mkEnableOption "ssh"; - config = lib.mkIf cfg.enable { - services.openssh = { - enable = true; - settings = { - PermitRootLogin = "no"; - PasswordAuthentication = false; - }; - }; - }; -} diff --git a/features/system/services/extra/syncthing-client.nix b/features/system/services/extra/syncthing-client.nix deleted file mode 100644 index 6d3d3d3..0000000 --- a/features/system/services/extra/syncthing-client.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ config, pkgs, lib, ... }: let - cfg = config.features.services.extra.syncthing-client; -in { - options.features.services.extra.syncthing-client = { - enable = lib.mkEnableOption "syncthing"; - username = lib.mkOption { - type = lib.types.str; - description = "The username of syncthing's user"; - }; - }; - config = lib.mkIf cfg.enable { - services.syncthing = { - enable = true; - user = cfg.username; - dataDir = "/home/${cfg.username}/Sync"; - configDir = "/home/${cfg.username}/.config/syncthing"; - overrideDevices = true; - overrideFolders = true; - settings = { - devices = { - "prodesk-server" = { - id = "SBH4S2T-B7KVAAI-BKBOQKZ-YSNQDSM-TKXPV6O-OSZUD3O-N6USL6L-DHL3BAK"; - }; - }; - folders = { - "Main" = { - path = "/home/${cfg.username}/Sync"; - devices = [ "prodesk-server" ]; - }; - }; - }; - }; - environment.systemPackages = [ pkgs.syncthing ]; - }; -} diff --git a/features/system/services/extra/udisks2.nix b/features/system/services/extra/udisks2.nix deleted file mode 100644 index 2ec2fa4..0000000 --- a/features/system/services/extra/udisks2.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.features.services.extra.udisks2; -in { - options.features.services.extra.udisks2.enable = lib.mkEnableOption "udisks2"; - config = lib.mkIf cfg.enable { - services.udisks2.enable = true; - }; -} |
