From ff2547f3ed61308614ad1fe832a6ea741a12b6f9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 6 May 2023 11:14:22 -0700 Subject: profiles/workstation: move sway to the workstation profile --- modules/default.nix | 2 +- modules/programs/default.nix | 5 ----- modules/programs/sway/default.nix | 26 -------------------------- 3 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 modules/programs/default.nix delete mode 100644 modules/programs/sway/default.nix (limited to 'modules') diff --git a/modules/default.nix b/modules/default.nix index d08b890..b248c51 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,7 +1,7 @@ { lib, ... }: { - imports = [ ./system ./services ./programs ./secrets ]; + imports = [ ./system ./services ./secrets ]; options.my = with lib; { user = { diff --git a/modules/programs/default.nix b/modules/programs/default.nix deleted file mode 100644 index 2de6855..0000000 --- a/modules/programs/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: - -{ - imports = [ ./sway ]; -} diff --git a/modules/programs/sway/default.nix b/modules/programs/sway/default.nix deleted file mode 100644 index afb3204..0000000 --- a/modules/programs/sway/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ pkgs, config, lib, ... }: -let cfg = config.my.programs.sway; -in -{ - options.my.programs.sway = with lib; { - enable = mkEnableOption "sway configuration"; - }; - - config = lib.mkIf cfg.enable { - programs.sway = { - enable = true; - wrapperFeatures.gtk = true; - extraPackages = with pkgs; [ - brightnessctl - polkit_gnome - xsettingsd - swaylock - swayidle - wl-clipboard - ]; - extraSessionCommands = '' - export MOZ_ENABLE_WAYLAND=1 - ''; - }; - }; -} -- cgit 1.4.1