feat: a bunch of changes i forgot to commit
This commit is contained in:
parent
57c72d9ac7
commit
8141140de9
21 changed files with 2871 additions and 186 deletions
33
computers/shared/river.nix
Normal file
33
computers/shared/river.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{config, lib, pkgs, ...}: let
|
||||
cfg = config.alqueva.river;
|
||||
in {
|
||||
options.alqueva.river = {
|
||||
enable = lib.mkEnableOption "River";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
alqueva.support.wayland = true;
|
||||
|
||||
programs.river = {
|
||||
enable = true;
|
||||
xwayland.enable = false;
|
||||
extraPackages = [
|
||||
pkgs.swaybg
|
||||
pkgs.kanshi
|
||||
];
|
||||
};
|
||||
|
||||
xdg.portal.wlr = {
|
||||
enable = true;
|
||||
settings = {
|
||||
screencast = {
|
||||
output_name = "HDMI-A-1";
|
||||
chooser_type = "simple";
|
||||
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue