diff --git a/flake.nix b/flake.nix index 501869c..17e2a48 100755 --- a/flake.nix +++ b/flake.nix @@ -387,6 +387,8 @@ "pi5" = nixos-raspberrypi.lib.nixosSystem { specialArgs = inputs; modules = [ + Pi5-impermanence.nixosModules.impermanence + ./hosts/pi5/configuration.nix { # Hardware specific configuration, see section below for a more complete # list of modules diff --git a/hosts/pi5/configuration.nix b/hosts/pi5/configuration.nix index d70a0b5..bd6b15b 100755 --- a/hosts/pi5/configuration.nix +++ b/hosts/pi5/configuration.nix @@ -22,8 +22,9 @@ in # ./sops.nix # ../default.nix ]; - - raspberry-pi-nix.board = lib.mkForce "bcm2712"; + networking.networkmanager.enable = true; + programs.zsh.enable = true; +# raspberry-pi-nix.board = lib.mkForce "bcm2712"; # Enable nix flakes and nix-command tools nix = { @@ -74,14 +75,14 @@ in }; }; - hardware = { - raspberry-pi."4".fkms-3d.enable = false; - raspberry-pi."4".apply-overlays-dtmerge.enable = false; - raspberry-pi."4".audio.enable = false; - raspberry-pi."4".bluetooth.enable = false; - raspberry-pi."4".dwc2.enable = false; - raspberry-pi."4".xhci.enable = false; - }; +# hardware = { +# raspberry-pi."4".fkms-3d.enable = false; +# raspberry-pi."4".apply-overlays-dtmerge.enable = false; +# raspberry-pi."4".audio.enable = false; +# raspberry-pi."4".bluetooth.enable = false; +# raspberry-pi."4".dwc2.enable = false; +# raspberry-pi."4".xhci.enable = false; +# }; # Set your time zone. time.timeZone = timezone; @@ -120,10 +121,10 @@ in ]; services.openssh.enable = true; - + programs.command-not-found.enable = lib.mkForce false; programs.nix-index = { enable = true; - enableBashIntegration = true; + enableBashIntegration = false; enableZshIntegration = true; }; diff --git a/hosts/pi5/hardware-configuration.nix b/hosts/pi5/hardware-configuration.nix index 4b96a62..fa9a787 100644 --- a/hosts/pi5/hardware-configuration.nix +++ b/hosts/pi5/hardware-configuration.nix @@ -16,7 +16,6 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - mode = "755"; }; fileSystems."/nix" = @@ -56,7 +55,7 @@ }; fileSystems."/boot/firmware" = - { device = "/dev/disk/by-uuid/777B-8D3F"; + { device = "/dev/disk/by-uuid/15B0-5CAA"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; @@ -72,4 +71,4 @@ # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; -} \ No newline at end of file +}