feat: renamed computers to hosts

This commit is contained in:
Artur Manuel 2024-11-30 15:18:36 +00:00
commit b03c70b486
34 changed files with 5 additions and 6 deletions

38
hosts/shared/river.nix Normal file
View file

@ -0,0 +1,38 @@
{
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.wbg
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;
};
}