Configuration is more flexible
Add new host must be easier
This commit is contained in:
parent
431c99a58e
commit
51fdbb4a87
16 changed files with 91 additions and 79 deletions
9
nixos/includes/desktop/pipewire.nix
Normal file
9
nixos/includes/desktop/pipewire.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
_: {
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
3
nixos/includes/desktop/swaylock.nix
Normal file
3
nixos/includes/desktop/swaylock.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
security.pam.services.swaylock = {};
|
||||
}
|
9
nixos/includes/desktop/xdg-portal.nix
Normal file
9
nixos/includes/desktop/xdg-portal.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ...}:
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
# gtk portal needed to make gtk apps happy
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue