This commit is contained in:
2025-05-09 14:35:29 -05:00
parent 27b8d8e4d7
commit df6701a609
3 changed files with 17 additions and 15 deletions

View File

@@ -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

View File

@@ -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;
};

View File

@@ -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";
}
}