From b018a8100fe3a52cd5c6085b1619cd0a7bef8210 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Sat, 22 Jul 2023 13:31:43 -0400 Subject: [PATCH] Switch to l8st nix --- configs/filesystems.nix | 4 ++-- nixos.nix | 5 +---- system/system-information.nix | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/configs/filesystems.nix b/configs/filesystems.nix index c4fa24b..fe8407e 100644 --- a/configs/filesystems.nix +++ b/configs/filesystems.nix @@ -1,8 +1,8 @@ { config, lib, pkgs, modulesPath, ... }: let systemInformation = import ../system/system-information.nix; in { - boot.tmpOnTmpfs = true; - boot.tmpOnTmpfsSize = "75%"; + boot.tmp.useTmpfs = true; + boot.tmp.tmpfsSize = "75%"; boot.initrd.luks.devices = { cryptoroot = { device = systemInformation.rootPartition; diff --git a/nixos.nix b/nixos.nix index cd6a571..c2dcd43 100644 --- a/nixos.nix +++ b/nixos.nix @@ -170,7 +170,7 @@ let systemInformation = import ./system/system-information.nix; in openssh = { # Disable by default banner = "Welcome to ${systemInformation.prettyHostname}!\n"; - passwordAuthentication = false; + settings.PasswordAuthentication = false; }; }; @@ -213,8 +213,5 @@ let systemInformation = import ./system/system-information.nix; in hardware.cpu.intel.updateMicrocode = systemInformation.isIntel; hardware.cpu.amd.updateMicrocode = systemInformation.isAmd; - # high-resolution display - hardware.video.hidpi.enable = systemInformation.isHiDPI; - nix.settings.auto-optimise-store = true; } \ No newline at end of file diff --git a/system/system-information.nix b/system/system-information.nix index aa56cbc..c394682 100644 --- a/system/system-information.nix +++ b/system/system-information.nix @@ -6,7 +6,6 @@ swapPartition = "/dev/disk/by-uuid/6144d426-6c5f-4a8a-ac16-d4d5eecbf7a0"; efiPartition = "/dev/disk/by-uuid/E5A8-38EA"; - isHiDPI = true; isIntel = true; isAmd = false; -} +} \ No newline at end of file