mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 08:56:34 +01:00
add sway
This commit is contained in:
parent
486fed8909
commit
7569077f71
3 changed files with 19 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
./repo-sync
|
./repo-sync
|
||||||
./ssh
|
./ssh
|
||||||
./steam
|
./steam
|
||||||
|
./sway
|
||||||
./users
|
./users
|
||||||
../upstream
|
../upstream
|
||||||
self.inputs.home-manager.nixosModules.home-manager
|
self.inputs.home-manager.nixosModules.home-manager
|
||||||
|
|
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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
overlays.enable = true;
|
overlays.enable = true;
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
plasma.enable = true;
|
plasma.enable = true;
|
||||||
|
sway.enable = true;
|
||||||
jopejoe1.enable = true;
|
jopejoe1.enable = true;
|
||||||
root.enable = true;
|
root.enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
|
@ -33,6 +34,7 @@
|
||||||
catppuccin-gtk
|
catppuccin-gtk
|
||||||
tela-icon-theme
|
tela-icon-theme
|
||||||
element-desktop
|
element-desktop
|
||||||
|
kitty
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
Loading…
Reference in a new issue