mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 09:06:53 +01:00
17 lines
278 B
Nix
17 lines
278 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;
|
||
|
};
|
||
|
networking.networkmanager.enable = true;
|
||
|
};
|
||
|
}
|
||
|
|