separate services to file
This commit is contained in:
parent
8b162bf941
commit
c4779b2a79
2 changed files with 15 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
14
nix/services.nix
Normal file
14
nix/services.nix
Normal file
|
|
@ -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"];
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue