From 6c95ed3ebb1c45b5285c49dc86719aaaa651a1f1 Mon Sep 17 00:00:00 2001 From: "Finn@MiBook" Date: Fri, 24 Jul 2026 14:09:59 +0200 Subject: [PATCH] feat(dank): enable DMS/niri session on mibook, pin HM to release-26.05, drop redundant keybinds - Pin home-manager input to release-26.05 to match nixpkgs (was resolving to HM master / 26.11, causing a Home Manager version mismatch warning). - Drop niri.enableKeybinds = true from the dank HM config; keybinds are already provided by the imported DMS niri homeModule (includes), and using both together triggered the "enableKeybinds and includes.enable" warning. - Enable my.profiles.dank on mibook (machines/mibook/environments.nix). - Rebuild confirmed exit 0 with both target warnings resolved. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_018Sv2QAunLcLo3tS1YsfLgN --- flake.lock | 7 ++++--- flake.nix | 2 +- machines/mibook/environments.nix | 1 + modules/environments/dank/default.nix | 3 +-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 88410f3..073aff5 100644 --- a/flake.lock +++ b/flake.lock @@ -138,15 +138,16 @@ ] }, "locked": { - "lastModified": 1784877405, - "narHash": "sha256-W649GocILahx7Vb/JMx834217+OLKBrq014VmC/8+NM=", + "lastModified": 1784350909, + "narHash": "sha256-ZWyzLbS1yKUTeFJLmdVuWNnHttL333/ldJbEE+KzCrM=", "owner": "nix-community", "repo": "home-manager", - "rev": "32de400b6ac9f43042bca706f4a64f6ad08117e8", + "rev": "4ce190229c73d44536caa7072f6308fb2d8feeb3", "type": "github" }, "original": { "owner": "nix-community", + "ref": "release-26.05", "repo": "home-manager", "type": "github" } diff --git a/flake.nix b/flake.nix index 6e75cc6..36e7d94 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; home-manager = { - url = "github:nix-community/home-manager"; + url = "github:nix-community/home-manager/release-26.05"; inputs.nixpkgs.follows = "nixpkgs"; }; niri.url = "github:sodiboo/niri-flake"; diff --git a/machines/mibook/environments.nix b/machines/mibook/environments.nix index 8581e93..2ade63f 100644 --- a/machines/mibook/environments.nix +++ b/machines/mibook/environments.nix @@ -6,6 +6,7 @@ in { my.profiles = { kde-desktop.enable = true; + dank.enable = true; zsh.enable = true; apps = { desktop_apps = true; diff --git a/modules/environments/dank/default.nix b/modules/environments/dank/default.nix index cab6ae9..0e08f04 100644 --- a/modules/environments/dank/default.nix +++ b/modules/environments/dank/default.nix @@ -27,7 +27,7 @@ in quickshell.package = pkgs.unstable.quickshell; }; - # Home side: DMS shell + niri keybinds/spawn for finn. + # Home side: DMS shell + niri spawn for finn (keybinds come via includes). home-manager.users.finn = { imports = [ inputs.niri.homeModules.niri @@ -39,7 +39,6 @@ in enable = true; systemd.enable = true; quickshell.package = pkgs.unstable.quickshell; - niri.enableKeybinds = true; niri.enableSpawn = true; };