mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:16:33 +01:00
15 lines
232 B
Nix
15 lines
232 B
Nix
{ config, lib, ... }:
|
|
|
|
let cfg = config.jopejoe1.sway;
|
|
in {
|
|
options.jopejoe1.sway = {
|
|
enable = lib.mkEnableOption "Enable Sway";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.sway = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|
|
|