summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-12 21:19:46 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-12 21:19:46 +0200
commit319db87cc896f06a709377ae72c92b4124a81ccb (patch)
treea84c8488f216340596b9c53c962fdd764e7eb192 /share
parent7d44ad2076b27f795aae233b082cee59d4fb077c (diff)
sync current config
Diffstat (limited to 'share')
-rw-r--r--share/common.nix27
1 files changed, 9 insertions, 18 deletions
diff --git a/share/common.nix b/share/common.nix
index 018b274..db0dc17 100644
--- a/share/common.nix
+++ b/share/common.nix
@@ -216,7 +216,8 @@ in
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
- theme = "catppuccin-mocha";
+ theme = "sddm-astronaut-theme";
+ extraPackages = [ pkgs.sddm-astronaut ];
};
# enable sound with PipeWire
@@ -269,7 +270,8 @@ in
# save power
powerManagement.enable = true;
- services.thermald.enable = true;
+ powerManagement.cpuFreqGovernor = "ondemand";
+ powerManagement.powertop.enable = true;
# allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -421,24 +423,13 @@ in
decompressFonts = true;
};
- # fonts I use
- packages = with pkgs; [
- # good sans-serif ui font
- inter
-
- # contains good serif ui font and support for Japanese
- ibm-plex
-
- # good monospace coding and terminal font
- jetbrains-mono
- ];
-
- # tune fontconfig
+ # use the IBM Plex family of fonts as defaults
+ packages = with pkgs; [ ibm-plex ];
fontconfig = {
enable = true;
defaultFonts = {
- monospace = [ "JetBrains Mono" ];
- sansSerif = [ "Inter Display" ];
+ monospace = [ "IBM Plex Mono" ];
+ sansSerif = [ "IBM Plex Sans" ];
serif = [ "IBM Plex Serif" ];
};
};
@@ -508,7 +499,7 @@ in
# enable VirtualBox
virtualisation.virtualbox.host.enable = true;
- virtualisation.virtualbox.host.enableKvm = true;
+ #virtualisation.virtualbox.host.enableKvm = true;
virtualisation.virtualbox.host.enableHardening = false;
virtualisation.virtualbox.host.addNetworkInterface = false;