summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-06-11 16:03:15 +0200
committerAlan Pearce2022-06-12 17:19:26 +0200
commit298db108f052348a83581a315396ca1bd8d584e2 (patch)
treed5c1503b72787737646f877c62080cbf6dc14168
parente578939110d38986e009affa98a946a8b81cad5c (diff)
downloadnixfiles-298db108f052348a83581a315396ca1bd8d584e2.tar.lz
nixfiles-298db108f052348a83581a315396ca1bd8d584e2.tar.zst
nixfiles-298db108f052348a83581a315396ca1bd8d584e2.zip
update settings to build on 22.05
-rw-r--r--system/settings/configuration/nix.nix4
-rw-r--r--system/settings/hardware/bare-metal.nix2
-rw-r--r--system/settings/hardware/keyboardio-model01.nix4
-rw-r--r--system/settings/hardware/mouse.nix6
-rw-r--r--system/settings/services/xserver.nix2
-rw-r--r--system/settings/user-interface.nix2
-rw-r--r--user/settings/passwords.nix2
7 files changed, 12 insertions, 10 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index 85e14e2c..0521ab1e 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -3,8 +3,8 @@
 { nix = {
     buildCores = 0;
 
-    daemonNiceLevel = 19;
-    daemonIONiceLevel = 7;
+    daemonCPUSchedPolicy = "idle";
+    daemonIOSchedClass = "idle";
 
     trustedUsers = [ "@wheel" ];
 
diff --git a/system/settings/hardware/bare-metal.nix b/system/settings/hardware/bare-metal.nix
index db668830..2dba6231 100644
--- a/system/settings/hardware/bare-metal.nix
+++ b/system/settings/hardware/bare-metal.nix
@@ -1,7 +1,7 @@
 { config, pkgs, ... }:
 
 { environment.systemPackages = with pkgs; [
-    fuse_exfat
+    exfat
     cryptsetup
     dmidecode
     hdparm
diff --git a/system/settings/hardware/keyboardio-model01.nix b/system/settings/hardware/keyboardio-model01.nix
index 7a624f56..9c44a916 100644
--- a/system/settings/hardware/keyboardio-model01.nix
+++ b/system/settings/hardware/keyboardio-model01.nix
@@ -6,8 +6,8 @@
   '';
 
   environment.systemPackages = with pkgs; [
-    arduino_core
+    arduino-core
   ];
 
-  environment.variables.ARDUINO_PATH = "${pkgs.arduino_core}/share/arduino";
+  environment.variables.ARDUINO_PATH = "${pkgs.arduino-core}/share/arduino";
 }
diff --git a/system/settings/hardware/mouse.nix b/system/settings/hardware/mouse.nix
index d43dba37..83e76d71 100644
--- a/system/settings/hardware/mouse.nix
+++ b/system/settings/hardware/mouse.nix
@@ -3,7 +3,9 @@
 { 
   services.xserver.libinput = {
     enable = true;
-    accelProfile = "flat";
-    accelSpeed = "0";
+    mouse = {
+      accelProfile = "flat";
+      accelSpeed = "0";
+    };
   };
 }
diff --git a/system/settings/services/xserver.nix b/system/settings/services/xserver.nix
index 42392224..b6a6a567 100644
--- a/system/settings/services/xserver.nix
+++ b/system/settings/services/xserver.nix
@@ -29,7 +29,7 @@ with lib;
   ];
 
   fonts = {
-    enableFontDir = true;
+    fontDir.enable = true;
     enableDefaultFonts = false;
     fontconfig = {
       antialias = true;
diff --git a/system/settings/user-interface.nix b/system/settings/user-interface.nix
index a83b6e73..c8eb18bc 100644
--- a/system/settings/user-interface.nix
+++ b/system/settings/user-interface.nix
@@ -68,7 +68,7 @@
 
   programs.dconf.enable = true;
   programs.seahorse.enable = true;
-  services.gnome3 = {
+  services.gnome = {
     gnome-keyring.enable = true;
     at-spi2-core.enable = true;
   };
diff --git a/user/settings/passwords.nix b/user/settings/passwords.nix
index 0100ec58..83e39c15 100644
--- a/user/settings/passwords.nix
+++ b/user/settings/passwords.nix
@@ -2,8 +2,8 @@
 
 {
   home.packages = with pkgs; [
-    keepassx-community
     pass-otp
+    keepassxc
     pwgen
 
     python3Packages.keyring