fixes
This commit is contained in:
parent
10944da4f0
commit
ac771933c7
@ -71,8 +71,6 @@ in {
|
||||
pywal
|
||||
python27Packages.pygtk
|
||||
python2
|
||||
rust-stable
|
||||
|
||||
] ++ lib.optionals isLaptop [
|
||||
# Important
|
||||
acpi
|
||||
@ -82,7 +80,7 @@ in {
|
||||
blueman
|
||||
] ++ lib.optionals (!isVM) [
|
||||
libreoffice
|
||||
# rust-stable
|
||||
rust-stable
|
||||
] ++ lib.optionals (device == "AMD-Workstation") [
|
||||
xonar-fp
|
||||
];
|
||||
@ -97,10 +95,11 @@ in {
|
||||
spicetify-cli
|
||||
discord
|
||||
pulseeffects
|
||||
quodlibet
|
||||
] ++ lib.optionals (!isVM) [
|
||||
steam
|
||||
steam-run
|
||||
protontricks
|
||||
# protontricks
|
||||
lutris
|
||||
# retroarch
|
||||
] ++ lib.optionals (enableVirtualisation) [
|
||||
|
@ -56,7 +56,7 @@ with types; {
|
||||
video = "intel";
|
||||
ram = 8;
|
||||
isShared = false;
|
||||
enableVirtualisation = true;
|
||||
enableVirtualisation = false;
|
||||
hostName = "dell-ataraxia";
|
||||
};
|
||||
NixOS-VM = {
|
||||
|
@ -26,7 +26,7 @@
|
||||
userControlled.enable = true;
|
||||
};
|
||||
firewall.enable = false;
|
||||
# usePredictableInterfaceNames = false;
|
||||
usePredictableInterfaceNames = false;
|
||||
hostName = config.deviceSpecific.hostName;
|
||||
};
|
||||
}
|
||||
|
@ -33,6 +33,11 @@ with deviceSpecific; {
|
||||
# '';
|
||||
|
||||
};
|
||||
|
||||
# TODO: obsolete?
|
||||
powerManagement.cpuFreqGovernor =
|
||||
lib.mkIf config.services.tlp.enable (lib.mkForce null);
|
||||
|
||||
services.undervolt = {
|
||||
enable = (device == "Dell-Laptop");
|
||||
coreOffset = "-120";
|
||||
|
@ -3,7 +3,7 @@ let
|
||||
cfg = config.secrets.wireguard.${config.device};
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
|
||||
# boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
|
||||
environment.systemPackages = [ pkgs.wireguard pkgs.wireguard-tools ];
|
||||
networking.firewall.checkReversePath = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user