mass reformat

This commit is contained in:
notgne2 2022-10-03 17:08:32 -07:00
parent ed1c53e94c
commit 9cb456ad60
No known key found for this signature in database
GPG key ID: 5CE0A245A2DAC84A
25 changed files with 1216 additions and 1043 deletions

View file

@ -1,6 +1,11 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.workstation;
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.workstation;
in {
options.workstation = {
enable = mkEnableOption "make my computer work";
@ -105,7 +110,7 @@ in {
# Optimizes running games
programs.gamemode = {
enable = lib.mkDefault true;
settings = { general.renice = 10; };
settings = {general.renice = 10;};
};
# Allows realtime stuff, useful for games, audio etc
@ -175,14 +180,18 @@ in {
"lp"
];
subUidRanges = [{
startUid = 100000;
count = 65536;
}];
subGidRanges = [{
startGid = 100000;
count = 65536;
}];
subUidRanges = [
{
startUid = 100000;
count = 65536;
}
];
subGidRanges = [
{
startGid = 100000;
count = 65536;
}
];
};
# brightness
@ -258,7 +267,7 @@ in {
# Shit breaks without this lol
programs.dconf.enable = lib.mkDefault true;
services.dbus.packages = with pkgs; [ dconf ];
services.dbus.packages = with pkgs; [dconf];
boot.kernel.sysctl = {
# better default swap