diff --git a/flake.lock b/flake.lock index c5b4fa7..acfc2f6 100644 --- a/flake.lock +++ b/flake.lock @@ -20,6 +20,28 @@ "type": "github" } }, + "dms": { + "inputs": { + "flake-compat": "flake-compat", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1785111455, + "narHash": "sha256-aTNuC9NDBnYAeEtFsleeUwmGX3AZlKOutbl+LQRPkmQ=", + "owner": "AvengeMedia", + "repo": "DankMaterialShell", + "rev": "069ddab041c738236a8910e4c39b65d9628d3018", + "type": "github" + }, + "original": { + "owner": "AvengeMedia", + "ref": "stable", + "repo": "DankMaterialShell", + "type": "github" + } + }, "dms-plugin-registry": { "inputs": { "nixpkgs": [ @@ -40,6 +62,22 @@ "type": "github" } }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1767039857, + "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", + "owner": "NixOS", + "repo": "flake-compat", + "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "flake-compat", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -184,6 +222,7 @@ "root": { "inputs": { "danksearch": "danksearch", + "dms": "dms", "dms-plugin-registry": "dms-plugin-registry", "home-manager": "home-manager", "niri": "niri", diff --git a/flake.nix b/flake.nix index ec495c9..97d5d88 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,11 @@ flake = false; }; + dms = { + url = "github:AvengeMedia/DankMaterialShell/stable"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + dms-plugin-registry = { url = "github:AvengeMedia/dms-plugin-registry"; inputs.nixpkgs.follows = "nixpkgs"; @@ -27,7 +32,7 @@ }; }; - outputs = { nixpkgs, home-manager, niri, dms-plugin-registry, danksearch, wvkbd-src, ... }@inputs: { + outputs = { nixpkgs, home-manager, niri, dms, dms-plugin-registry, danksearch, wvkbd-src, ... }@inputs: { nixosConfigurations = { thinkpad = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; diff --git a/system/services/default.nix b/system/services/default.nix index 085951c..12dd110 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -8,6 +8,10 @@ let }; in { + imports = [ + inputs.dms.nixosModules.greeter + ]; + programs.niri = { enable = true; # Tell the Niri module to use the unstable package directly from the niri-flake