Compare commits
No commits in common. "a887a34c0f5876c0ed5ecc62c7e673c78a4c9a2b" and "4b9ca195107f4a26e808dfc2f9dd43ded029a2f7" have entirely different histories.
a887a34c0f
...
4b9ca19510
@ -161,13 +161,11 @@
|
||||
catppuccin-sddm-corners
|
||||
];
|
||||
|
||||
# firewall settings
|
||||
# Wireguard settings
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
# allow specific tcp ports
|
||||
allowedTCPPorts = [ 2234 22000 ];
|
||||
# allow specific udp ports
|
||||
allowedUDPPorts = [ 22000 21027 ];
|
||||
allowedTCPPorts = [ 2234 ];
|
||||
# if packets are still dropped, they will show up in dmesg
|
||||
logReversePathDrops = true;
|
||||
# wireguard trips rpfilter up
|
||||
@ -187,9 +185,6 @@
|
||||
# Enable ratbagd for mice configuration
|
||||
services.ratbagd.enable = true;
|
||||
|
||||
# Enable firmware updater
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Setup syncthing
|
||||
services = {
|
||||
syncthing = {
|
||||
@ -243,7 +238,7 @@
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
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 80 --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
|
||||
'');
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{ config, lib, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
@ -11,19 +11,20 @@
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/35fda926-38bd-4da4-984e-054f768e2e95";
|
||||
{ device = "/dev/disk/by-uuid/378a2cc3-3885-4d83-98d6-cbbf5dfc73fd";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/7BBE-9699";
|
||||
{ device = "/dev/disk/by-uuid/62C0-1109";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/e76bb593-aa6c-4aa6-bf2d-723e3be01edc"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
Loading…
Reference in New Issue
Block a user