niri works

This commit is contained in:
twoneis 2024-03-13 17:12:48 +01:00
parent a8f10d1ea7
commit 53e2d19bd1
6 changed files with 17 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{ ... }: { { ... }: {
withNiri = false; withNiri = true;
withGnome = true; withGnome = true;
withNvidia = true; withNvidia = true;
withVM = false; withVM = false;

View file

@ -1,6 +1,6 @@
{ ... }: { { ... }: {
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = false;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
enable = true; enable = true;

View file

@ -0,0 +1,6 @@
{ pkgs, ... }: {
services.blueman.enable = true;
environment.systemPackages = with pkgs; [
blueman
];
}

View file

@ -5,6 +5,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
./audio.nix ./audio.nix
./bluetooth.nix
./containers.nix ./containers.nix
./distrobox.nix ./distrobox.nix
./fonts.nix ./fonts.nix

View file

@ -1,5 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
signal-desktop signal-desktop
fractal
]; ];
} }

View file

@ -116,9 +116,9 @@ layout {
// Proportion sets the width as a fraction of the output width, taking gaps into account. // Proportion sets the width as a fraction of the output width, taking gaps into account.
// For example, you can perfectly fit four windows sized "proportion 0.25" on an output. // For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
// The default preset widths are 1/3, 1/2 and 2/3 of the output. // The default preset widths are 1/3, 1/2 and 2/3 of the output.
proportion 0.333 proportion 0.25
proportion 0.5 proportion 0.5
proportion 0.667 proportion 0.75
// Fixed sets the width in logical pixels exactly. // Fixed sets the width in logical pixels exactly.
// fixed 1920 // fixed 1920
@ -130,7 +130,7 @@ layout {
// default-column-width {} // default-column-width {}
// Set gaps around windows in logical pixels. // Set gaps around windows in logical pixels.
gaps 8 gaps 4
// Struts shrink the area occupied by windows, similarly to layer-shell panels. // Struts shrink the area occupied by windows, similarly to layer-shell panels.
// You can think of them as a kind of outer gaps. They are set in logical pixels. // You can think of them as a kind of outer gaps. They are set in logical pixels.
@ -190,7 +190,7 @@ binds {
Mod+T { spawn "alacritty"; } Mod+T { spawn "alacritty"; }
Mod+B { spawn "firefox"; } Mod+B { spawn "firefox"; }
Mod+Q { close-window; } Mod+Backspace { close-window; }
Mod+Comma { focus-column-left; } Mod+Comma { focus-column-left; }
Mod+Period { focus-column-right; } Mod+Period { focus-column-right; }
@ -200,7 +200,7 @@ binds {
Mod+Right { focus-column-right; } Mod+Right { focus-column-right; }
Mod+Shift+Comma { move-column-left; } Mod+Shift+Comma { move-column-left; }
Mod+Shift+Period { move-window-down; } Mod+Shift+Period { move-column-right; }
Mod+Ctrl+Left { move-column-left; } Mod+Ctrl+Left { move-column-left; }
Mod+Ctrl+Down { move-window-down; } Mod+Ctrl+Down { move-window-down; }
Mod+Ctrl+Up { move-window-up; } Mod+Ctrl+Up { move-window-up; }
@ -214,7 +214,8 @@ binds {
// Mod+Ctrl+K { move-window-up-or-to-workspace-up; } // Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
Mod+F { maximize-column; } Mod+F { maximize-column; }
Mod+C { center-column; } Mod+K { center-column; }
Mod+Z { switch-preset-column-width; }
// Finer width adjustments. // Finer width adjustments.
// This command can also: // This command can also: