mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
add sway
This commit is contained in:
parent
486fed8909
commit
7569077f71
3 changed files with 19 additions and 0 deletions
16
modules/sway/default.nix
Normal file
16
modules/sway/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue