Compare commits
No commits in common. "6da74e745eaa32fe3dca816d9f9aa9742943fdbc" and "9b0c02deb9f4fa8b21e5812bbc51ebb2cf923ef5" have entirely different histories.
6da74e745e
...
9b0c02deb9
6 changed files with 29 additions and 12 deletions
|
@ -135,16 +135,13 @@ in
|
||||||
"Mod+Shift+U".action = move-window-to-workspace-up;
|
"Mod+Shift+U".action = move-window-to-workspace-up;
|
||||||
"Mod+Shift+I".action = move-window-to-workspace-down;
|
"Mod+Shift+I".action = move-window-to-workspace-down;
|
||||||
"Mod+W".action = maximize-column;
|
"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+C".action = center-column;
|
||||||
"Mod+Shift+Space".action = toggle-window-floating;
|
"Mod+Shift+Space".action = toggle-window-floating;
|
||||||
"Mod+Space".action = switch-focus-between-floating-and-tiling;
|
"Mod+Space".action = switch-focus-between-floating-and-tiling;
|
||||||
"Print".action = screenshot;
|
"Print".action = screenshot;
|
||||||
"Alt+Print".action = screenshot-window;
|
"Alt+Print".action = screenshot-window;
|
||||||
"Ctrl+Print".action = screenshot-screen;
|
"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+Shift+R".action = switch-preset-window-height;
|
||||||
"Mod+Ctrl+R".action = reset-window-height;
|
"Mod+Ctrl+R".action = reset-window-height;
|
||||||
"Mod+F".action = fullscreen-window;
|
"Mod+F".action = fullscreen-window;
|
||||||
|
|
|
@ -115,8 +115,7 @@
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
'';
|
'';
|
||||||
# plain tab conflicts with i try to indent
|
"<Tab>" = ''
|
||||||
"<C-Tab>" = ''
|
|
||||||
cmp.mapping(function(fallback)
|
cmp.mapping(function(fallback)
|
||||||
if require("luasnip").jumpable(1) then
|
if require("luasnip").jumpable(1) then
|
||||||
require("luasnip").jump(1)
|
require("luasnip").jump(1)
|
||||||
|
@ -175,7 +174,6 @@
|
||||||
};
|
};
|
||||||
plugins.fzf-lua = {
|
plugins.fzf-lua = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profile = "fzf-native";
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
"<leader>ff" = "files";
|
"<leader>ff" = "files";
|
||||||
"<leader>fg" = "live_grep";
|
"<leader>fg" = "live_grep";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -26,7 +26,6 @@
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
builders-use-substitutes = true
|
builders-use-substitutes = true
|
||||||
'';
|
'';
|
||||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
|
||||||
};
|
};
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
networking.firewall.logRefusedConnections = false;
|
networking.firewall.logRefusedConnections = false;
|
||||||
|
|
|
@ -311,7 +311,8 @@
|
||||||
|
|
||||||
services.trezord.enable = true;
|
services.trezord.enable = true;
|
||||||
|
|
||||||
programs.niri.enable = true;
|
my.niri = {
|
||||||
programs.niri.package = pkgs.niri-unstable;
|
enable = true;
|
||||||
programs.xwayland.enable = true;
|
package = pkgs.niri-unstable;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./backup.nix
|
./backup.nix
|
||||||
|
./niri.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
21
modules/niri.nix
Normal file
21
modules/niri.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue