aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-02 23:26:42 +0900
committersefidel <contact@sefidel.net>2022-02-02 23:26:42 +0900
commitf72bb6b51e68b1062b333143ab0dfcc9a57fafc0 (patch)
treeaffec3a5fbed3883282c08e6d65a26dc68d6b992
parent898f61e563bf49e3a4e151f62c557bcc6c35f5b8 (diff)
downloadnixrc-f72bb6b51e68b1062b333143ab0dfcc9a57fafc0.zip
chore: move sway packages to home-manager
-rw-r--r--home/profiles/base/default.nix22
-rw-r--r--nixos/alpha/configuration.nix22
2 files changed, 24 insertions, 20 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 4af56cd..ab84648 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -65,8 +65,25 @@ in
home.keyboard.layout = "us";
home.packages = [
+ # Sway
+ pkgs.autotiling
+ pkgs.swaylock-effects
+ pkgs.swayidle
+ pkgs.swaybg
+ pkgs.wayland-utils
+ pkgs.wl-clipboard
+ pkgs.grim
+ pkgs.slurp
+ pkgs.sway-contrib.grimshot
+ pkgs.waybar
+ pkgs.bemenu
+ pkgs.qt5.qtwayland
+ pkgs.xdg_utils
+
+ # Normal
pkgs.bottom
pkgs.hydra-check
+ pkgs.libnotify
pkgs.nix-tree
pkgs.procs
pkgs.sops
@@ -78,6 +95,11 @@ in
wayland.windowManager.sway = {
enable = true;
+ wrapperFeatures = {
+ base = true;
+ gtk = true;
+ };
+
config = {
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
keybindings = { };
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index f75b254..1ebddb3 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -175,26 +175,8 @@
};
programs = {
- sway = {
- enable = true;
- wrapperFeatures.gtk = true;
-
- extraPackages = with pkgs; [
- autotiling
- swaylock
- swayidle
- swaybg
- wayland-utils
- wl-clipboard
- grim
- slurp
- sway-contrib.grimshot
- waybar
- bemenu
- qt5.qtwayland
- xdg_utils
- ];
- };
+ sway.enable = true;
+ sway.extraPackages = lib.mkForce [];
zsh.enable = true;
zsh.enableCompletion = false;