about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xmachines/base.nix2
-rw-r--r--machines/x220-gnome/gnome.nix4
-rwxr-xr-xmodules/nur.nix2
3 files changed, 4 insertions, 4 deletions
diff --git a/machines/base.nix b/machines/base.nix
index f89738c..8b4a55d 100755
--- a/machines/base.nix
+++ b/machines/base.nix
@@ -10,7 +10,7 @@
   #  ../modules/internet.nix
   ];
 
-  boot.cleanTmpDir = true;
+  boot.tmp.cleanOnBoot = true;
 
   environment.systemPackages = with pkgs; [
     wget vim curl htop file
diff --git a/machines/x220-gnome/gnome.nix b/machines/x220-gnome/gnome.nix
index 8ce3f57..4eb4ec1 100644
--- a/machines/x220-gnome/gnome.nix
+++ b/machines/x220-gnome/gnome.nix
@@ -69,8 +69,8 @@
 
 # Configure keymap in X11
 	services.xserver = {
-		layout = "pl";
-		xkbVariant = "";
+		xkb.layout = "pl";
+		xkb.variant = "";
 	};
 
 # Configure console keymap
diff --git a/modules/nur.nix b/modules/nur.nix
index a4c3449..f2688a0 100755
--- a/modules/nur.nix
+++ b/modules/nur.nix
@@ -6,7 +6,7 @@
       inherit pkgs;
     };
   };
-  nix.binaryCaches = [
+  nix.settings.substituters = [
     "https://cache.nixos.org"
     "https://pn.cachix.org"
   ];