add: niri
This commit is contained in:
parent
f3a5f9b390
commit
5c490db63f
5 changed files with 1030 additions and 11 deletions
1019
flake.lock
1019
flake.lock
File diff suppressed because it is too large
Load diff
|
@ -25,6 +25,10 @@
|
|||
url = "github:fufexan/nix-gaming";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
niri = {
|
||||
url = "github:sodiboo/niri-flake";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
@ -43,6 +47,7 @@
|
|||
modules = [
|
||||
inputs.disko.nixosModules.default
|
||||
(import ./disko.nix {device="/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_with_Heatsink_1TB_S6WSNJ0T900943T";})
|
||||
inputs.niri.nixosModules.niri
|
||||
./waves.nix
|
||||
];
|
||||
};
|
||||
|
@ -57,6 +62,8 @@
|
|||
};
|
||||
|
||||
modules = [
|
||||
inputs.niri.homeModules.niri
|
||||
# inputs.niri.homeModules.config
|
||||
./modules/home/dv.nix
|
||||
];
|
||||
};
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
# terminal
|
||||
./term
|
||||
# gui
|
||||
./gui.nix
|
||||
./gui-core.nix
|
||||
./niri.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
|
|
12
modules/home/niri.nix
Normal file
12
modules/home/niri.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{...}: {
|
||||
programs.niri.config = ''
|
||||
window-rule {
|
||||
match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
||||
default-column-width {}
|
||||
}
|
||||
|
||||
binds {
|
||||
Super+T { spawn "wezterm"; }
|
||||
}
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue