Formatting.

This commit is contained in:
CronyAkatsuki 2024-02-27 20:16:16 +01:00
parent b97fb04d64
commit dc8472fda4

View File

@ -2,8 +2,7 @@
{
# Imports
imports =
[
imports = [
./hardware-configuration.nix
./modules/wifi-dongle.nix
./modules/disable-hibernation.nix
@ -68,11 +67,7 @@
enable = true;
theme = "catppuccin-sddm-corners";
# Fix keyboard showing up unnecesarilly
settings = {
General = {
InputMethod="";
};
};
settings = { General = { InputMethod = ""; }; };
};
# Setup plasma with excluding a couple unnecesarry packages
@ -145,12 +140,15 @@
ryzenadj
wineWowPackages.staging
lutris
(catppuccin-kde.override { winDecStyles = ["classic" "modern"] ;})
(catppuccin-kde.override { winDecStyles = [ "classic" "modern" ]; })
catppuccin-sddm-corners
];
# Wireguard settings
networking.firewall = {
enable = true;
# allow specific tcp ports
allowedTCPPorts = [ 2234 ];
# if packets are still dropped, they will show up in dmesg
logReversePathDrops = true;
# wireguard trips rpfilter up
@ -190,7 +188,8 @@
users.users.crony = {
isNormalUser = true;
description = "Crony";
extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" "libvirtd" ];
extraGroups =
[ "networkmanager" "wheel" "video" "input" "audio" "libvirtd" ];
shell = pkgs.zsh;
};
@ -203,8 +202,8 @@
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
mask = "\\xff\\xff\\xff\\xff\\x00\\x00\\x00\\x00\\xff\\xff\\xff";
magicOrExtension = "\\x7fELF....AI\\x02";
};
# Automatic cleanup and optimization
@ -221,12 +220,11 @@
description = "Set my ryzen cpu power.";
serviceConfig = {
Type = "oneshot";
ExecStart = toString (
pkgs.writeShellScript "ryzenadj-setup" ''
ExecStart = toString (pkgs.writeShellScript "ryzenadj-setup" ''
${pkgs.ryzenadj}/bin/ryzenadj --stapm-limit 35000 --fast-limit 35000 --slow-limit 35000 --slow-time 60 --stapm-time 1000 --tctl-temp 75 --vrmmax-current 65000
'');
};
wantedBy = ["default.target"];
wantedBy = [ "default.target" ];
};
# Esync