From 94318e9676e0a8368b9e122205b0e42bf7707dbc Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 28 May 2024 11:39:43 -0500 Subject: [PATCH] feat(nix/hosts/orion): add swaylock support in pam --- flake.nix | 4 +--- hosts/orion/modules/services/pam-swaylock.nix | 4 ++++ users/price/home.nix | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 hosts/orion/modules/services/pam-swaylock.nix diff --git a/flake.nix b/flake.nix index a9f2d9c4..d7b8df83 100644 --- a/flake.nix +++ b/flake.nix @@ -97,9 +97,7 @@ { formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style); packages = forAllSystems (pkgs: import ./pkgs pkgs); - homeConfigurations = builtins.mapAttrs (mkHomeCfg) { - "price" = ./users/price/home.nix; - }; + homeConfigurations = builtins.mapAttrs (mkHomeCfg) { "price" = ./users/price/home.nix; }; overlays = import ./overlays { inherit inputs; }; devShells = forAllSystems (pkgs: { default = pkgs.mkShell { diff --git a/hosts/orion/modules/services/pam-swaylock.nix b/hosts/orion/modules/services/pam-swaylock.nix new file mode 100644 index 00000000..c43fc834 --- /dev/null +++ b/hosts/orion/modules/services/pam-swaylock.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + security.pam.services.swaylock = { }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 9ce68cdb..5b001dbd 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -51,6 +51,7 @@ in wezterm fontconfig sqlite + swaylock-effects luajit imagemagick dotnet-sdk_8