feat(dank): add DankMaterialShell (niri) profile
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Sv2QAunLcLo3tS1YsfLgN
This commit is contained in:
@@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.my.profiles.dank;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [ self.inputs.dank.nixosModules.dank-material-shell ];
|
||||||
|
|
||||||
|
options.my.profiles.dank.enable = lib.mkEnableOption "DankMaterialShell on niri";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Dependency: declarative user config comes from home-manager.
|
||||||
|
my.profiles.home-manager.enable = true;
|
||||||
|
|
||||||
|
# System side: niri Wayland session + DMS daemons/packages.
|
||||||
|
programs.niri.enable = true;
|
||||||
|
|
||||||
|
programs.dank-material-shell = {
|
||||||
|
enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
quickshell.package = pkgs.unstable.quickshell;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Home side: DMS shell + niri keybinds/spawn for finn.
|
||||||
|
home-manager.users.finn = {
|
||||||
|
imports = [
|
||||||
|
inputs.niri.homeModules.niri
|
||||||
|
inputs.dank.homeModules.dank-material-shell
|
||||||
|
inputs.dank.homeModules.niri
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.dank-material-shell = {
|
||||||
|
enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
quickshell.package = pkgs.unstable.quickshell;
|
||||||
|
niri.enableKeybinds = true;
|
||||||
|
niri.enableSpawn = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.stateVersion = "26.05";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
./home-assistant
|
./home-assistant
|
||||||
./hyprland
|
./hyprland
|
||||||
./home-manager
|
./home-manager
|
||||||
|
./dank
|
||||||
./zsh
|
./zsh
|
||||||
./paperless
|
./paperless
|
||||||
./prowlarr
|
./prowlarr
|
||||||
|
|||||||
Reference in New Issue
Block a user