structure security module in configuration.nix

This commit is contained in:
lucy 2026-10-07 15:33:06 +02:00
commit fefd5980c7
2 changed files with 14 additions and 12 deletions

View file

@ -30,10 +30,12 @@
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
security.rtkit.enable = true;
security.polkit.enable = true; # polkit
security.polkit.enablePkexecWrapper = true;
programs.niri.enable = true;
security = {
rtkit.enable = true;
polkit.enable = true; # polkit
polkit.enablePkexecWrapper = true;
};
users.users."lucy" = {
isNormalUser = true;
description = "lucy";
@ -91,14 +93,6 @@
"nix-command"
"flakes"
];
environment.etc = {
"chromium" = {
enable = true;
mode = "symlink";
source = "/home/lucy/.local/share/tinted-theming/tinty/tinted-chromium-build-file.json";
target = "chromium/policies/managed/theme.json";
};
};
system.stateVersion = "26.05"; # Did you read the comment?
}

View file

@ -6,4 +6,12 @@
"ddkjiahejlhfcafbddmgiahcphecmpfh" # ublock origin lite
];
};
environment.etc = {
"chromium" = {
enable = true;
mode = "symlink";
source = "/home/lucy/.local/share/tinted-theming/tinty/tinted-chromium-build-file.json";
target = "chromium/policies/managed/theme.json";
};
};
}