diff --git a/configuration.nix b/configuration.nix index 2578f1c..bbca0a2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -93,7 +93,6 @@ cryptsetup curl dracula-theme - dmenu evince ffmpeg fish @@ -114,14 +113,11 @@ google-cloud-sdk gotools htop - i3status inkscape ispell jq - kanshi keychain libreoffice - mako mosquitto mypy nextcloud-client @@ -135,17 +131,11 @@ python311 python311Packages.flake8 python311Packages.ipython - rofi # dmenu replacement - scrot # screenshot signal-desktop silver-searcher shellcheck spotify sqlite - sway - sway-contrib.grimshot - swayidle - swaylock syncthing tailscale telegram-desktop @@ -171,11 +161,6 @@ extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; - # enable sway window manager - programs.sway = { - enable = true; - wrapperFeatures.gtk = true; - }; programs.light.enable = true; programs.fish.enable = true; programs.gnupg.agent = { diff --git a/flake.nix b/flake.nix index 2826d93..42419f8 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ nixosConfigurations = { lift = lib.nixosSystem { system = "x64_64-linux"; - modules = [ ./configuration.nix ]; + modules = [ ./configuration.nix ./sway.nix ]; }; }; }; diff --git a/sway.nix b/sway.nix new file mode 100644 index 0000000..6ccde11 --- /dev/null +++ b/sway.nix @@ -0,0 +1,20 @@ +{ config, pkgs, lib, ... }: + +{ + environment.systemPackages = with pkgs; [ + dmenu + i3status + kanshi + mako + rofi # dmenu replacement + scrot # screenshot + sway-contrib.grimshot + swayidle + swaylock + ]; + + programs.sway = { + enable = true; + wrapperFeatures.gtk = true; + }; +}