beginning security/secrets overhaul
This commit is contained in:
parent
961d3bd355
commit
dc0ee8c51b
4 changed files with 18 additions and 4 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
1
secrets/.sops.yaml
Normal file
|
|
@ -0,0 +1 @@
|
|||
blah
|
||||
7
secrets/default.nix
Normal file
7
secrets/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
environment = { systemPackages = with pkgs; [ age sops ]; };
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue