diff --git a/modules/core/configuration.nix b/modules/core/configuration.nix index 0e0bd0f..39b4503 100755 --- a/modules/core/configuration.nix +++ b/modules/core/configuration.nix @@ -140,38 +140,6 @@ # Some programs need SUID wrappers, can be configured further or are # started in user sessions. - # List services that you want to enable: - - services = { - - flatpak.enable = true; - - # udev.packages = with pkgs; [ - # yubikey-personalization - # ]; - - locate = { - enable = false; - package = pkgs.plocate; - localuser = null; - }; - - printing = { - enable = false; - # drivers = with pkgs; [ uwu-driver-cups ]; - }; - - avahi = { - enable = false; - nssmdns = false; - openFirewall = false; - }; - - openssh = { - enable = false; - }; - - }; # Set up hardware acceleration # https://nixos.wiki/wiki/Accelerated_Video_Playback diff --git a/modules/core/packages/default.nix b/modules/core/packages/default.nix index 443e897..8d7742a 100644 --- a/modules/core/packages/default.nix +++ b/modules/core/packages/default.nix @@ -6,6 +6,9 @@ ./packages.nix ]; + + services.flatpak.enable = true; + nix = { settings = { cores = 0; diff --git a/modules/core/services/default.nix b/modules/core/services/default.nix index 0662e51..db4a754 100644 --- a/modules/core/services/default.nix +++ b/modules/core/services/default.nix @@ -1,7 +1,31 @@ +{ pkgs, lib, config, ... }: + { imports = [ # file.nix ]; + + + services = { + + openssh = { + enable = false; + }; + avahi = { + enable = false; + nssmdns = false; + openFirewall = false; + }; + + locate = { + enable = false; + package = pkgs.plocate; + localuser = null; + }; + + }; + + }