From d56ef56dcd4f14334e8870e89cba516963b54c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20K=C3=B6nig?= Date: Mon, 1 Jun 2026 19:51:18 +0200 Subject: [PATCH] feat: consume dms shell from m3ta-home --- flake.lock | 7 ++++--- flake.nix | 5 ----- hosts/AZ-LT-NIX/default.nix | 20 +++++++------------- hosts/common/users/sascha.koenig.nix | 1 + 4 files changed, 12 insertions(+), 21 deletions(-) diff --git a/flake.lock b/flake.lock index 3958d02..aa9af69 100644 --- a/flake.lock +++ b/flake.lock @@ -379,6 +379,7 @@ "dms-plugin-registry": { "inputs": { "nixpkgs": [ + "m3ta-home", "nixpkgs" ] }, @@ -573,6 +574,7 @@ "agent-lib": "agent-lib", "agents": "agents_2", "dms": "dms", + "dms-plugin-registry": "dms-plugin-registry", "home-manager": "home-manager_4", "m3ta-nixpkgs": "m3ta-nixpkgs", "nix-colors": "nix-colors", @@ -582,8 +584,8 @@ "nur": "nur" }, "locked": { - "lastModified": 1780332501, - "narHash": "sha256-Esn5LBzLcUU4dcWrMXjBo6VNi9XMzs356/8tuvPHwBE=", + "lastModified": 1780336233, + "narHash": "sha256-y+TPAauff8RtustIj5f6anEHyW7BpSObQ4hLo/6wkjA=", "path": "/home/sascha.koenig/p/NIX/m3ta-home", "type": "path" }, @@ -1081,7 +1083,6 @@ "agenix": "agenix", "agents": "agents", "disko": "disko", - "dms-plugin-registry": "dms-plugin-registry", "home-manager": "home-manager_2", "llm-agents": "llm-agents", "m3ta-home": "m3ta-home", diff --git a/flake.nix b/flake.nix index 2fc05ab..79bcdbc 100644 --- a/flake.nix +++ b/flake.nix @@ -49,11 +49,6 @@ url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS"; }; nix-colors.url = "github:misterio77/nix-colors"; - - dms-plugin-registry = { - url = "github:AvengeMedia/dms-plugin-registry"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; outputs = { diff --git a/hosts/AZ-LT-NIX/default.nix b/hosts/AZ-LT-NIX/default.nix index 7e283e3..9788c92 100644 --- a/hosts/AZ-LT-NIX/default.nix +++ b/hosts/AZ-LT-NIX/default.nix @@ -32,9 +32,8 @@ # Please also change your hostname accordingly: #:w # networking.hostName = "nixos"; # Define your hostname. -{inputs, ...}: { +{...}: { imports = [ - inputs.dms-plugin-registry.modules.default ../common ./configuration.nix ./hardware.nix @@ -56,15 +55,10 @@ }; # rocmOverrideGfx = "11.0.3"; }; - programs.dms-shell = { - enable = true; - enableDynamicTheming = true; - enableClipboardPaste = true; - plugins = { - dankBatteryAlerts.enable = true; - emojiLauncher.enable = true; - dankPomodoroTimer.enable = true; - dankVault.enable = true; - }; - }; + # System prerequisites formerly enabled transitively by the NixOS + # programs.dms-shell module. DMS itself is configured via m3ta-home. + services.power-profiles-daemon.enable = true; + services.accounts-daemon.enable = true; + hardware.i2c.enable = true; + hardware.graphics.enable = true; } diff --git a/hosts/common/users/sascha.koenig.nix b/hosts/common/users/sascha.koenig.nix index 9dcab94..e33e398 100644 --- a/hosts/common/users/sascha.koenig.nix +++ b/hosts/common/users/sascha.koenig.nix @@ -65,6 +65,7 @@ hyprland.enable = true; rofi.enable = true; wayland.enable = true; + dms.enable = true; }; apps = { crypto.enable = false;