Skip to content

Commit 756cc0e

Browse files
committed
niri: init
1 parent 7e25e4a commit 756cc0e

File tree

9 files changed

+625
-34
lines changed

9 files changed

+625
-34
lines changed

flake.lock

Lines changed: 151 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
nvim-blink-cmp = {
2626
url = "github:Saghen/blink.cmp";
2727
};
28+
niri = {
29+
url = "github:sodiboo/niri-flake";
30+
};
2831
wunschkonzert = {
2932
url = "github:debugloop/wunschkonzert";
3033
inputs.nixpkgs.follows = "nixpkgs";
@@ -103,6 +106,7 @@
103106
inputs.neovim-nightly-overlay.overlays.default
104107
];
105108
})
109+
inputs.niri.nixosModules.niri
106110
];
107111
};
108112

home/fish.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
set fish_cursor_visual block
3434
3535
# connect to gnome-keyring in graphical terminals
36-
if test -n "$DISPLAY"
36+
if test -n "$WAYLAND_DISPLAY"
3737
for env_var in (gnome-keyring-daemon --start 2>/dev/null);
3838
set -x (echo $env_var | string split "=")
3939
end
@@ -42,7 +42,7 @@
4242
loginShellInit = ''
4343
# start wm on tty1
4444
if test (tty) = /dev/tty1
45-
sway
45+
alias startx=exec niri-session
4646
end
4747
'';
4848
shellAbbrs = {

home/wayland/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}: {
66
imports = [
77
# our windowmanager
8-
./sway.nix
8+
./niri.nix
99
# auxiliary services
1010
./avizo.nix
1111
./clipman.nix

0 commit comments

Comments
 (0)