dms: add plugins declaratively
This commit is contained in:
parent
3bf00ee59a
commit
45a9d03a81
3 changed files with 41 additions and 2 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -160,6 +160,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dms-plugin-registry": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775611601,
|
||||||
|
"narHash": "sha256-qHO90a2KcPMjGoNRNlHwfbC+53DNcDZ+Ff7pnyNL5Hc=",
|
||||||
|
"owner": "AvengeMedia",
|
||||||
|
"repo": "dms-plugin-registry",
|
||||||
|
"rev": "db6733400494c83307a4ef91724839ea61082f10",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "AvengeMedia",
|
||||||
|
"repo": "dms-plugin-registry",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -439,6 +459,7 @@
|
||||||
"clan-core": "clan-core",
|
"clan-core": "clan-core",
|
||||||
"direnv-instant": "direnv-instant",
|
"direnv-instant": "direnv-instant",
|
||||||
"disko": "disko_2",
|
"disko": "disko_2",
|
||||||
|
"dms-plugin-registry": "dms-plugin-registry",
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
|
|
|
||||||
|
|
@ -65,5 +65,8 @@
|
||||||
|
|
||||||
lanzaboote.url = "github:nix-community/lanzaboote/v1.0.0";
|
lanzaboote.url = "github:nix-community/lanzaboote/v1.0.0";
|
||||||
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
|
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
dms-plugin-registry.url = "github:AvengeMedia/dms-plugin-registry";
|
||||||
|
dms-plugin-registry.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,12 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
|
self,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [ self.inputs.dms-plugin-registry.modules.default ];
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
@ -12,5 +19,13 @@
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
programs.dms-shell.enable = true;
|
programs.dms-shell = {
|
||||||
|
enable = true;
|
||||||
|
plugins = {
|
||||||
|
dankBatteryAlerts.enable = config.services.upower.enable;
|
||||||
|
dankHooks.enable = true;
|
||||||
|
dankKDEConnect.enable = true;
|
||||||
|
musicLyrics.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue