2520010340
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Sv2QAunLcLo3tS1YsfLgN
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
}
|