beginning security/secrets overhaul

This commit is contained in:
serenity-F 2025-03-08 22:29:52 +10:00
parent 961d3bd355
commit dc0ee8c51b
4 changed files with 18 additions and 4 deletions

View file

@ -32,14 +32,20 @@
};
};
## Genuinely dunno what these do hey, like isnt sudo
## already restricted to @wheel only?
security = {
## Sets sudo auth to @wheel only
sudo.execWheelOnly = true;
## Enables soteria polkit
## disabled forNow:tm: - https://github.com/NixOS/nixpkgs/issues/379104
#soteria.enable = true;
polkit = {
enable = true;
#extraConfig = '' '';
};
};
nix = {

View file

@ -33,8 +33,8 @@ in {
#xdgAutostart = true;
#extraCommands = [
#];
#variables = [
#];
## Needed for soteria - https://github.com/NixOS/nixpkgs/issues/373290
variables = [ "--all" ];
};
swaynag = {

1
secrets/.sops.yaml Normal file
View file

@ -0,0 +1 @@
blah

7
secrets/default.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment = { systemPackages = with pkgs; [ age sops ]; };
}