Skip to content

Commit

Permalink
feat!: remove swaync module
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Apr 30, 2024
1 parent fb06916 commit e576bda
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 155 deletions.
4 changes: 0 additions & 4 deletions home/isabel/configs/gui/swaync.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
lib,
pkgs,
self,
osConfig,
...
}: let
inherit (lib) mkIf;
in {
imports = [self.homeManagerModules.swaync];

services.swaync = mkIf osConfig.modules.programs.gui.bars.waybar.enable {
enable = true;
systemd.enable = true;

style = pkgs.fetchurl {
url = "https://github.com/catppuccin/swaync/releases/download/v0.2.2/mocha.css";
Expand Down
4 changes: 2 additions & 2 deletions modules/base/nix/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
in {
nix = {
# https://github.com/nix-community/home-manager/issues/4692#issuecomment-1848832609
package = pkgs.nixVersions.unstable;
# package = pkgs.nixVersions.nix_2_22;
# package = pkgs.nixVersions.unstable;
package = pkgs.nixVersions.nix_2_22;

# pin the registry to avoid downloading and evaluating a new nixpkgs version everytime
registry = mapAttrs (_: v: {flake = v;}) flakeInputs;
Expand Down
2 changes: 0 additions & 2 deletions modules/extra/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
imports = [
./gtklock.nix
./hyfetch.nix
./nushell.nix
./swaync.nix
];
}
145 changes: 0 additions & 145 deletions modules/extra/home-manager/swaync.nix

This file was deleted.

2 changes: 0 additions & 2 deletions parts/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ in {

hyfetch = mkModule /modules/extra/home-manager/hyfetch.nix;

swaync = mkModule /modules/extra/home-manager/swaync.nix;

default = builtins.throw "There is no default module.";
};
};
Expand Down

0 comments on commit e576bda

Please sign in to comment.