Generalize and move configs
This commit is contained in:
parent
17f2a16f48
commit
ffb1b6d541
21 changed files with 73 additions and 64 deletions
|
@ -6,6 +6,7 @@
|
|||
./keyd
|
||||
./libvirtd
|
||||
./mpd
|
||||
./portals
|
||||
./ssh
|
||||
./sunshine
|
||||
./tlp
|
||||
|
|
6
modules/system/services/general/portals/default.nix
Normal file
6
modules/system/services/general/portals/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./wlr
|
||||
];
|
||||
}
|
11
modules/system/services/general/portals/wlr/default.nix
Normal file
11
modules/system/services/general/portals/wlr/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
xdg.portal.wlr = {
|
||||
enable = config.system.desktop.enable;
|
||||
settings.screencast = {
|
||||
max_fps = 60;
|
||||
chooser_type = "simple";
|
||||
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or -B 00000066 -b 00000099";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue