diff --git a/modules/gui.nix b/modules/gui.nix index 8839aef..fafd37a 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -1,17 +1,6 @@ { config, lib, pkgs, ... }: -let - tmux_config = builtins.readFile /home/coolneng/.tmux.conf; - - # Fetch old version of waybar - pinnedpkgs = import (builtins.fetchGit { - name = "my-old-revision"; - url = "https://github.com/nixos/nixpkgs-channels/"; - ref = "refs/heads/nixpkgs-unstable"; - rev = "c83e13315caadef275a5d074243c67503c558b3b"; - }) { }; - - old-waybar = pinnedpkgs.waybar; +let tmux_config = builtins.readFile /home/coolneng/.tmux.conf; in { # Display manager @@ -31,21 +20,21 @@ in { # Window manager programs.sway = { enable = true; - extraPackages = [ - pkgs.xwayland - pkgs.swaylock - pkgs.swayidle - pkgs.swaybg - pkgs.rofi - old-waybar - pkgs.clipman - pkgs.wl-clipboard - pkgs.grim - pkgs.slurp - pkgs.light - pkgs.imv - pkgs.kanshi - pkgs.kitty + extraPackages = with pkgs; [ + xwayland + swaylock + swayidle + swaybg + rofi + waybar + clipman + wl-clipboard + grim + slurp + light + imv + kanshi + kitty ]; extraSessionCommands = '' export MOZ_ENABLE_WAYLAND=1