security and such

This commit is contained in:
cnst
2024-07-31 18:44:51 +02:00
parent 0eeca7d8a4
commit ec2d61b288
4 changed files with 15 additions and 13 deletions

View File

@@ -1,13 +1,9 @@
{
inputs,
outputs,
lib,
config,
pkgs,
system,
...
}: let
homeDir = builtins.getEnv "HOME";
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
users.users.cnst = {
@@ -39,7 +35,6 @@ in {
];
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos;
environment.systemPackages = [pkgs.scx];
boot.kernelParams = [
"amd_pstate=active"