core: split to core-desktop.nix
This commit is contained in:
parent
0dfba79fd3
commit
22a7d47ace
3 changed files with 29 additions and 25 deletions
28
nix-os/core-desktop.nix
Normal file
28
nix-os/core-desktop.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
services.printing.enable = true;
|
||||
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
|
||||
# Enable audio interfaces renaming
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
mpv
|
||||
];
|
||||
|
||||
services.openssh.extraConfig = ''
|
||||
X11Forwarding yes
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue