diff --git a/configuration.nix b/configuration.nix index a1762e1..dd12ea9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. /etc/nixos/hardware-configuration.nix + ./nix/services.nix ]; nixpkgs.config.allowUnfree = true; # Use the systemd-boot EFI boot loader. diff --git a/nix/services.nix b/nix/services.nix new file mode 100644 index 0000000..0a42e9e --- /dev/null +++ b/nix/services.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: +{ + # Audio + services.pipewire = { + enable = true; + pulse.enable = true; + }; + # Hyrland Idle + services.hypridle.enable = true; + # SSH + services.openssh.enable = true; + # VideoDrivers + services.xserver.videoDrivers = ["nvidia"]; +}