Skip to content

Commit

Permalink
hyprlock: drop; switch to swaylock (#9)
Browse files Browse the repository at this point in the history
* swaylock: fix catppuccin namespace

* mirage: switch to swaylock

* treewide: drop hyprland module; move swaylock to common
  • Loading branch information
w-lfchen authored Dec 31, 2024
1 parent 9c019af commit df92754
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 52 deletions.
2 changes: 1 addition & 1 deletion hosts/mirage/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# host specific config
environment.systemPackages = with pkgs; [ brightnessctl ];

security.pam.services.hyprlock = { };
security.pam.services.swaylock = { };

# https://www.reddit.com/r/linux/comments/1em8biv/psa_pipewire_has_been_halving_your_battery_life/
services.pipewire.wireplumber.extraConfig."wireplumber.profiles".main."monitor.libcamera" = "disabled";
Expand Down
1 change: 0 additions & 1 deletion hosts/mirage/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
imports = [
modules.home.default
modules.home.hyprlock
modules.home.wlogout
];

Expand Down
1 change: 0 additions & 1 deletion hosts/refuge/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
modules.home.default
modules.home.nvidia
modules.home.obs
modules.home.swaylock
];

home.stateVersion = "23.05"; # don't change this value
Expand Down
1 change: 1 addition & 0 deletions modules/home/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
./programs.nix
./services.nix
./spotify.nix
./swaylock.nix
./terminals.nix
./wm.nix
];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{ paths, pkgs, ... }:
{
catppuccin.swaylock.enable = true;

programs.swaylock = {
enable = true;
catppuccin.enable = true;
package = pkgs.swaylock-effects;
settings = {
# use this instead of `builtins.toString wallpapers + "/refuge/line-crust.png"` in order to not rebuild upon whitespace change
Expand Down
48 changes: 0 additions & 48 deletions modules/home/hyprlock.nix

This file was deleted.

0 comments on commit df92754

Please sign in to comment.