structure security module in configuration.nix
This commit is contained in:
parent
418623567b
commit
fefd5980c7
2 changed files with 14 additions and 12 deletions
|
|
@ -30,10 +30,12 @@
|
||||||
LC_TELEPHONE = "de_DE.UTF-8";
|
LC_TELEPHONE = "de_DE.UTF-8";
|
||||||
LC_TIME = "de_DE.UTF-8";
|
LC_TIME = "de_DE.UTF-8";
|
||||||
};
|
};
|
||||||
security.rtkit.enable = true;
|
|
||||||
security.polkit.enable = true; # polkit
|
security = {
|
||||||
security.polkit.enablePkexecWrapper = true;
|
rtkit.enable = true;
|
||||||
programs.niri.enable = true;
|
polkit.enable = true; # polkit
|
||||||
|
polkit.enablePkexecWrapper = true;
|
||||||
|
};
|
||||||
users.users."lucy" = {
|
users.users."lucy" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "lucy";
|
description = "lucy";
|
||||||
|
|
@ -91,14 +93,6 @@
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"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?
|
system.stateVersion = "26.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,12 @@
|
||||||
"ddkjiahejlhfcafbddmgiahcphecmpfh" # ublock origin lite
|
"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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue