niri stuff; remove hosts module

This commit is contained in:
cy 2025-01-22 18:52:34 -05:00
parent 9b0c02deb9
commit e51f883626
4 changed files with 7 additions and 27 deletions

View file

@ -135,13 +135,16 @@ in
"Mod+Shift+U".action = move-window-to-workspace-up;
"Mod+Shift+I".action = move-window-to-workspace-down;
"Mod+W".action = maximize-column;
"Mod+E".action = set-column-width "50%";
"Mod+R".action = set-column-width "75%";
"Mod+Q".action = set-column-width "25%";
"Mod+C".action = center-column;
"Mod+Shift+Space".action = toggle-window-floating;
"Mod+Space".action = switch-focus-between-floating-and-tiling;
"Print".action = screenshot;
"Alt+Print".action = screenshot-window;
"Ctrl+Print".action = screenshot-screen;
"Mod+R".action = switch-preset-column-width;
# "Mod+R".action = switch-preset-column-width;
"Mod+Shift+R".action = switch-preset-window-height;
"Mod+Ctrl+R".action = reset-window-height;
"Mod+F".action = fullscreen-window;

View file

@ -311,8 +311,7 @@
services.trezord.enable = true;
my.niri = {
enable = true;
package = pkgs.niri-unstable;
};
programs.niri.enable = true;
programs.niri.package = pkgs.niri-unstable;
programs.xwayland.enable = true;
}

View file

@ -2,6 +2,5 @@
{
imports = [
./backup.nix
./niri.nix
];
}

View file

@ -1,21 +0,0 @@
{
pkgs,
config,
lib,
...
}:
let
cfg = config.my.niri;
in
{
options.my.niri = {
enable = lib.mkEnableOption "niri";
package = lib.mkPackageOption pkgs "niri" { };
};
config = lib.mkIf cfg.enable {
programs.niri.package = cfg.package;
programs.niri.enable = true;
programs.xwayland.enable = true;
};
}