about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-27 12:37:10 +0900
committersefidel <contact@sefidel.net>2023-07-27 12:37:10 +0900
commitd030ca9699e89a08e3a762d39d5079b3cbd5032a (patch)
treed1c7869dc9bb28db8e823023984ce221b9abe29d
parent1353e1ff9262acbd5ee148b0cb15844c177cbcf0 (diff)
downloadnixrc-d030ca9699e89a08e3a762d39d5079b3cbd5032a.tar.gz
nixrc-d030ca9699e89a08e3a762d39d5079b3cbd5032a.zip
chore: replace use of deprecated options
-rw-r--r--nixos/beta/hardware-configuration.nix2
-rw-r--r--nixos/kompakt/configuration.nix2
-rw-r--r--nixos/kompakt/hardware-configuration.nix2
3 files changed, 1 insertions, 5 deletions
diff --git a/nixos/beta/hardware-configuration.nix b/nixos/beta/hardware-configuration.nix
index 2372d11..9d81fb0 100644
--- a/nixos/beta/hardware-configuration.nix
+++ b/nixos/beta/hardware-configuration.nix
@@ -22,6 +22,4 @@
   networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
 
   powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
-  # high-resolution display
-  hardware.video.hidpi.enable = lib.mkDefault true;
 }
diff --git a/nixos/kompakt/configuration.nix b/nixos/kompakt/configuration.nix
index 554d830..41b5e01 100644
--- a/nixos/kompakt/configuration.nix
+++ b/nixos/kompakt/configuration.nix
@@ -73,7 +73,7 @@
   fonts = {
     fontDir.enable = true;
 
-    fonts = with pkgs; [
+    packages = with pkgs; [
       dina-font
       jetbrains-mono
       sarasa-gothic
diff --git a/nixos/kompakt/hardware-configuration.nix b/nixos/kompakt/hardware-configuration.nix
index 66b6571..ab2c6ed 100644
--- a/nixos/kompakt/hardware-configuration.nix
+++ b/nixos/kompakt/hardware-configuration.nix
@@ -55,6 +55,4 @@
 
   nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
   powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
-  # high-resolution display
-  hardware.video.hidpi.enable = lib.mkDefault true;
 }