Overhaul luna complete
This commit is contained in:
parent
06f5971965
commit
6f9fdca876
110 changed files with 2408 additions and 2129 deletions
31
modules/wm/qtile/default.nix
Normal file
31
modules/wm/qtile/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf mkOption types;
|
||||
cfg = config.horseman.wm.qtile;
|
||||
in {
|
||||
options = {
|
||||
horseman.desktop.qtile = {
|
||||
enable = mkEnableOption "Qtile";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
windowManager.qtile.enable = true;
|
||||
};
|
||||
|
||||
system.activationScripts.script.text = ''
|
||||
cd /home/horseman && \
|
||||
rm -r .config/qtile && \
|
||||
cp -r nix-config/modules/wm/qtile/config \
|
||||
.config/qtile
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue