From dc27851d0e362813dfa32e266a7964ccfd46a70c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 2 Aug 2023 01:20:33 +0000 Subject: [PATCH] [NixOS] Finish moving biskcomp to external SSD --- nixos/machines/biskcomp.nix | 5 ++--- nixos/raspberry-pi.nix | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/nixos/machines/biskcomp.nix b/nixos/machines/biskcomp.nix index 4497c125..31c415cf 100644 --- a/nixos/machines/biskcomp.nix +++ b/nixos/machines/biskcomp.nix @@ -12,7 +12,7 @@ networking.firewall.allowedTCPPorts = [ 3389 ]; fileSystems."/" = { - device = "/dev/disk/by-label/NIXOS"; + device = "/dev/disk/by-label/NIXOS_SD"; fsType = "ext4"; }; @@ -31,6 +31,5 @@ }; networking.hostName = "biskcomp"; - - system.stateVersion = "23.10"; + system.stateVersion = "23.11"; } diff --git a/nixos/raspberry-pi.nix b/nixos/raspberry-pi.nix index 190b852b..99f30f55 100644 --- a/nixos/raspberry-pi.nix +++ b/nixos/raspberry-pi.nix @@ -1,10 +1,10 @@ { config, pkgs, inputs, ... }: { + imports = [ + inputs.nixos-hardware.nixosModules.raspberry-pi-4 + ]; # https://github.com/NixOS/nixos-hardware/issues/631 - # imports = [ - # inputs.nixos-hardware.nixosModules.raspberry-pi-4 - # ]; # hardware.raspberry-pi."4".fkms-3d.enable = true; # hardware.raspberry-pi."4".audio.enable = true;