refactor: what can I say

This commit is contained in:
2025-04-19 12:42:19 +08:00
parent d34da2b672
commit 2242e26ede
51 changed files with 211 additions and 332 deletions

View File

@@ -14,7 +14,6 @@ lib.my.makeSwitch {
config' = {
my.desktop.wm = {
cage.enable = true;
dwm.enable = true;
niri.enable = true;
};
};

View File

@@ -3,7 +3,6 @@
imports = [
./all.nix
./cage.nix
./dwm.nix
./niri
];
}

View File

@@ -1,16 +0,0 @@
{
config,
lib,
pkgs,
...
}:
lib.my.makeHomePackageConfig {
inherit config pkgs;
packageName = "dwm";
packagePath = [ "dwm" ];
optionPath = [
"desktop"
"wm"
"dwm"
];
}

View File

@@ -5,7 +5,10 @@
...
}:
{
my.home.systemd.user.services.swaync.Unit.After = [ "graphical-session.target" ];
my.home.systemd.user.services.swaync = {
Unit.After = [ "graphical-session.target" ];
Service.ExecStart = [ "swaync" ];
};
my.home.programs.niri.settings = {
input = {