Skip to content

Commit

Permalink
test security.soteria.enable from NixOS/nixpkgs#355924
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Nov 14, 2024
1 parent 54b4d7d commit 11a9fed
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 9 deletions.
35 changes: 26 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
nixpkgs-edge.url = "nixpkgs/nixos-unstable-small"; # For latest packages
nixpkgs-master.url = "nixpkgs/master"; # Testing branch of nixpkgs
nixpkgs-scx-test.url = "github:nixos/nixpkgs/refs/pull/352300/merge";
nixpkgs-soteria-test.url = "github:nixos/nixpkgs/refs/pull/355924/merge";

flake-parts = {
url = "github:hercules-ci/flake-parts"; # Flake parts for easy flake management
Expand Down
1 change: 1 addition & 0 deletions modules-overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
imports = [
#./amdgpu.nix # import modules here to test
"${inputs.nixpkgs-scx-test}/nixos/modules/services/scheduling/scx.nix"
"${inputs.nixpkgs-soteria-test}/nixos/modules/security/soteria.nix"
];
}
2 changes: 2 additions & 0 deletions system/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ in {
inputs.rose-pine-hyprcursor.packages.${pkgs.system}.default
];

security.soteria.enable = true; # soteria graphical polkit agent

# Environment variables to start the session with
environment.sessionVariables = {
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas";
Expand Down

0 comments on commit 11a9fed

Please sign in to comment.