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