summaryrefslogtreecommitdiff
path: root/users/kassouni/palette/default.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-08-30 22:42:35 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-08-30 22:42:35 -0700
commit02f1cb4dae4f466d79e102f890f093fb9e97e7f7 (patch)
tree112cdebf1c19f853dc8cea54b994d030236155ba /users/kassouni/palette/default.nix
parentaf99b4960a9bf1043234354d685ed23818c14aaa (diff)
power settings, palette cleanup
Diffstat (limited to 'users/kassouni/palette/default.nix')
-rw-r--r--users/kassouni/palette/default.nix20
1 files changed, 8 insertions, 12 deletions
diff --git a/users/kassouni/palette/default.nix b/users/kassouni/palette/default.nix
index 7e9eec4..403aa60 100644
--- a/users/kassouni/palette/default.nix
+++ b/users/kassouni/palette/default.nix
@@ -6,18 +6,15 @@
}:
let
cfg = config.kassouni.palette;
-
- # Every sibling .nix file is an ordinary home-manager module that appends to
- # kassouni.palette.commands, so dropping a file in here adds an entry.
- commandModules = map (file: ./. + "/${file}") (
- lib.attrNames (
- lib.filterAttrs (name: type: type == "regular" && name != "default.nix" && lib.hasSuffix ".nix" name)
- (builtins.readDir ./.)
- )
- );
in
{
- imports = commandModules;
+ imports = [
+ ./bluetooth.nix
+ ./reboot.nix
+ ./rebuild.nix
+ ./screenshot.nix
+ ./shutdown.nix
+ ];
options.kassouni.palette.commands = lib.mkOption {
type = lib.types.listOf (
@@ -40,8 +37,7 @@ in
);
default = [ ];
description = ''
- Entries shown in the rofi command palette. Menu order follows module
- import order, which is alphabetical by filename.
+ Entries shown in the rofi command palette.
'';
};