aboutsummaryrefslogtreecommitdiffstats
path: root/flake/nixosConfigurations
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-02 18:14:33 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-02 18:25:39 +0100
commit34b8b4c52e4afa8b854e6c3d37780ce5faf74c05 (patch)
tree31079c091c83c7d02d1e9a4f7a9a34eb9db7f91e /flake/nixosConfigurations
parentfeat(lib): Init `baseLib` (diff)
downloadnixos-config-34b8b4c52e4afa8b854e6c3d37780ce5faf74c05.zip
refactor(modules/river): Migrate to `by-name`
This includes a near rewrite `river-mk-keymap` (previously, `river_init_lesser`.)
Diffstat (limited to 'flake/nixosConfigurations')
-rw-r--r--flake/nixosConfigurations/abstract-nord.pngbin0 -> 140219 bytes
-rw-r--r--flake/nixosConfigurations/common.nix75
2 files changed, 74 insertions, 1 deletions
diff --git a/flake/nixosConfigurations/abstract-nord.png b/flake/nixosConfigurations/abstract-nord.png
new file mode 100644
index 00000000..5ef498bf
--- /dev/null
+++ b/flake/nixosConfigurations/abstract-nord.png
Binary files differ
diff --git a/flake/nixosConfigurations/common.nix b/flake/nixosConfigurations/common.nix
index 3c244cf0..46a02b72 100644
--- a/flake/nixosConfigurations/common.nix
+++ b/flake/nixosConfigurations/common.nix
@@ -3,6 +3,7 @@
{
config,
pkgs,
+ lib,
...
}: {
soispha = {
@@ -108,7 +109,79 @@
imv.enable = true;
less.enable = true;
lf.enable = true;
- river.enable = true;
+ river = {
+ enable = true;
+ init = {
+ rules = [
+ {
+ app-id = "float";
+ title = "*";
+ action = "float";
+ }
+ {
+ app-id = "mpv";
+ title = "*";
+ action = "float";
+ }
+ {
+ app-id = "ModernGL";
+ title = "*";
+ action = "float";
+ }
+ {
+ app-id = "*";
+ title = "Manim Slides";
+ action = "float";
+ }
+ {
+ app-id = "*";
+ title = "floating please";
+ action = "float";
+ }
+
+ {
+ app-id = "*";
+ title = "*";
+ action = "ssd";
+ }
+ # This remove the focus border around Firefox (which is useful because the Firefox is nearly always in its own tag.)
+ {
+ app-id = "firefox";
+ title = "*";
+ action = "csd";
+ }
+ ];
+ generalSettings = {
+ # background
+ background-color = "0x002b36";
+ border-color-focused = "0x93a1a1";
+ border-color-unfocused = "0x586e75";
+
+ # keyboard repeat rate
+ set-repeat = ["50" "300"];
+
+ # Cursor
+ focus-follows-cursor = "normal";
+ # hide-cursor = ["timeout" "2000"];
+ hide-cursor = ["when-typing" "enabled"];
+ set-cursor-warp = "on-output-change";
+ xcursor-theme = ["Nordzy-cursors" "24"];
+ };
+ inputs = {
+ pointer-1133-49970-Logitech_Gaming_Mouse_G502 = [["pointer-accel" "0"] ["accel-profile" "none"]];
+ pointer-12951-6505-ZSA_Technology_Labs_Moonlander_Mark_I = [["pointer-accel" "0"] ["accel-profile" "none"]];
+ };
+ backgroundStart = [
+ pkgs.gammastep
+ pkgs.yambar
+
+ pkgs.mako
+ ["${lib.getExe pkgs.swaybg}" "--image" "${./abstract-nord.png}"]
+ pkgs.swayidle
+ pkgs.alacritty
+ ];
+ };
+ };
swaylock.enable = true;
taskwarrior.enable = true;
yambar.enable = true;