diff options
| author | adikro <adikro@disroot.org> | 2025-12-24 16:21:00 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-24 16:21:00 +0100 |
| commit | 6aaa5993e4c1cfb205ed555d958702f9bba1770d (patch) | |
| tree | 3af8cf20967cf10542edd2e51232b1da70002fde /sys/wm | |
| parent | 2ceabfd1d1dc03ca895e960048b73a82e29e45e8 (diff) | |
a bunch of changes, renames sys to os and refactored some of the logic
Diffstat (limited to 'sys/wm')
| -rw-r--r-- | sys/wm/niri.nix | 21 | ||||
| -rw-r--r-- | sys/wm/wm.nix | 20 |
2 files changed, 0 insertions, 41 deletions
diff --git a/sys/wm/niri.nix b/sys/wm/niri.nix deleted file mode 100644 index c92b068..0000000 --- a/sys/wm/niri.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ inputs, config, lib, pkgs, username, ... }: -let - cfg = config.sys.wm.niri; -in -{ - imports = [ inputs.niri.nixosModules.niri ]; - - options.sys.wm.niri.enable = lib.mkEnableOption "Niri"; - - config = lib.mkIf cfg.enable { - nixpkgs.overlays = [ inputs.niri.overlays.niri ]; - - programs.niri = { - enable = true; - package = pkgs.niri-unstable; - }; - - sys.srv.compat.enable = true; - home-manager.users.${username}.hm.env.niri.enable = true; - }; -} diff --git a/sys/wm/wm.nix b/sys/wm/wm.nix deleted file mode 100644 index 5374264..0000000 --- a/sys/wm/wm.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, lib, pkgs, ... }: -let - cfg = config.sys.wm; -in -{ - imports = [ - ./niri.nix - ]; - - options.sys.wm.enable = lib.mkEnableOption "enables shared wm features"; - config = lib.mkIf cfg.enable { - services.dbus.enable = true; - - xdg.portal = { - enable = true; - xdgOpenUsePortal = true; - extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - }; - }; -} |
