diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-01 19:52:29 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-01 19:52:29 -0700 |
commit | 5493fe0db118b0fd934073eb63d2d2e3e1fc99df (patch) | |
tree | b6e1a0d57b39f2c2a366358d5bcd5a54dc66e20c /modules/services | |
parent | profiles/laptop: consolidate services related to laptop (diff) | |
download | world-5493fe0db118b0fd934073eb63d2d2e3e1fc99df.tar.gz |
profiles/workstation: moved more things around
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/default.nix | 2 | ||||
-rw-r--r-- | modules/services/gnome/default.nix | 22 | ||||
-rw-r--r-- | modules/services/pcscd/default.nix | 11 |
3 files changed, 0 insertions, 35 deletions
diff --git a/modules/services/default.nix b/modules/services/default.nix index 9c0fc3c..457d86a 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -7,11 +7,9 @@ ./cgit ./fwupd ./gitolite - ./gnome ./monitoring ./navidrome ./nginx - ./pcscd ./samba ./sendsms ./ssh-server diff --git a/modules/services/gnome/default.nix b/modules/services/gnome/default.nix deleted file mode 100644 index 46619eb..0000000 --- a/modules/services/gnome/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, pkgs, lib, ... }: -let cfg = config.my.services.gnome; -in -{ - options.my.services.gnome = with lib; { enable = mkEnableOption "gnome"; }; - - config = lib.mkIf cfg.enable { - services = { - dbus = { - enable = true; - packages = with pkgs; [ gcr dconf ]; - }; - - udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ]; - - gvfs = { - enable = true; - package = pkgs.gnome.gvfs; - }; - }; - }; -} diff --git a/modules/services/pcscd/default.nix b/modules/services/pcscd/default.nix deleted file mode 100644 index 84a588e..0000000 --- a/modules/services/pcscd/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -# PCSCD management -{ config, lib, ... }: -let cfg = config.my.services.pcscd; -in -{ - options.my.services.pcscd = { - enable = lib.mkEnableOption "pcscd configuration (for yubikeys)"; - }; - - config = lib.mkIf cfg.enable { services.pcscd.enable = true; }; -} |