Compare commits
2 Commits
b97fb04d64
...
95482003c8
Author | SHA1 | Date | |
---|---|---|---|
95482003c8 | |||
dc8472fda4 |
@ -54,6 +54,8 @@
|
|||||||
feather # Amazing monero wallet
|
feather # Amazing monero wallet
|
||||||
heroic # Epic games/gog game launcher
|
heroic # Epic games/gog game launcher
|
||||||
protonvpn-gui # Proton vpn gui app
|
protonvpn-gui # Proton vpn gui app
|
||||||
|
beets # Music tagger
|
||||||
|
nicotine-plus # Amazing soulseek client
|
||||||
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
|
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
|
||||||
(retroarch.override { cores = with libretro; [ snes9x ]; })
|
(retroarch.override { cores = with libretro; [ snes9x ]; })
|
||||||
|
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
# Imports
|
# Imports
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/wifi-dongle.nix
|
./modules/wifi-dongle.nix
|
||||||
./modules/disable-hibernation.nix
|
./modules/disable-hibernation.nix
|
||||||
@ -68,11 +67,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
theme = "catppuccin-sddm-corners";
|
theme = "catppuccin-sddm-corners";
|
||||||
# Fix keyboard showing up unnecesarilly
|
# Fix keyboard showing up unnecesarilly
|
||||||
settings = {
|
settings = { General = { InputMethod = ""; }; };
|
||||||
General = {
|
|
||||||
InputMethod="";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Setup plasma with excluding a couple unnecesarry packages
|
# Setup plasma with excluding a couple unnecesarry packages
|
||||||
@ -151,6 +146,9 @@
|
|||||||
|
|
||||||
# Wireguard settings
|
# Wireguard settings
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
# allow specific tcp ports
|
||||||
|
allowedTCPPorts = [ 2234 ];
|
||||||
# if packets are still dropped, they will show up in dmesg
|
# if packets are still dropped, they will show up in dmesg
|
||||||
logReversePathDrops = true;
|
logReversePathDrops = true;
|
||||||
# wireguard trips rpfilter up
|
# wireguard trips rpfilter up
|
||||||
@ -190,7 +188,8 @@
|
|||||||
users.users.crony = {
|
users.users.crony = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Crony";
|
description = "Crony";
|
||||||
extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" "libvirtd" ];
|
extraGroups =
|
||||||
|
[ "networkmanager" "wheel" "video" "input" "audio" "libvirtd" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -203,8 +202,8 @@
|
|||||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||||
recognitionType = "magic";
|
recognitionType = "magic";
|
||||||
offset = 0;
|
offset = 0;
|
||||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
mask = "\\xff\\xff\\xff\\xff\\x00\\x00\\x00\\x00\\xff\\xff\\xff";
|
||||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
magicOrExtension = "\\x7fELF....AI\\x02";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Automatic cleanup and optimization
|
# Automatic cleanup and optimization
|
||||||
@ -221,8 +220,7 @@
|
|||||||
description = "Set my ryzen cpu power.";
|
description = "Set my ryzen cpu power.";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = toString (
|
ExecStart = toString (pkgs.writeShellScript "ryzenadj-setup" ''
|
||||||
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
|
${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
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user