mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 17:38:29 +02:00
refactor(home/linux/desktop): home/linux/desktop => home/linux/gui
This commit is contained in:
21
home/linux/gui/i3/default.nix
Normal file
21
home/linux/gui/i3/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
} @ args:
|
||||
with lib; let
|
||||
cfg = config.modules.desktop.i3;
|
||||
in {
|
||||
imports = [
|
||||
./options
|
||||
];
|
||||
|
||||
options.modules.desktop.i3 = {
|
||||
enable = mkEnableOption "i3 window manager";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (
|
||||
mkMerge (import ./values args)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user