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 { "pi5" = nixos-raspberrypi.lib.nixosSystem {
specialArgs = inputs; specialArgs = inputs;
modules = [ modules = [
Pi5-impermanence.nixosModules.impermanence
./hosts/pi5/configuration.nix
{ {
# Hardware specific configuration, see section below for a more complete # Hardware specific configuration, see section below for a more complete
# list of modules # list of modules

View File

@@ -22,8 +22,9 @@ in
# ./sops.nix # ./sops.nix
# ../default.nix # ../default.nix
]; ];
networking.networkmanager.enable = true;
raspberry-pi-nix.board = lib.mkForce "bcm2712"; programs.zsh.enable = true;
# raspberry-pi-nix.board = lib.mkForce "bcm2712";
# Enable nix flakes and nix-command tools # Enable nix flakes and nix-command tools
nix = { nix = {
@@ -74,14 +75,14 @@ in
}; };
}; };
hardware = { # hardware = {
raspberry-pi."4".fkms-3d.enable = false; # raspberry-pi."4".fkms-3d.enable = false;
raspberry-pi."4".apply-overlays-dtmerge.enable = false; # raspberry-pi."4".apply-overlays-dtmerge.enable = false;
raspberry-pi."4".audio.enable = false; # raspberry-pi."4".audio.enable = false;
raspberry-pi."4".bluetooth.enable = false; # raspberry-pi."4".bluetooth.enable = false;
raspberry-pi."4".dwc2.enable = false; # raspberry-pi."4".dwc2.enable = false;
raspberry-pi."4".xhci.enable = false; # raspberry-pi."4".xhci.enable = false;
}; # };
# Set your time zone. # Set your time zone.
time.timeZone = timezone; time.timeZone = timezone;
@@ -120,10 +121,10 @@ in
]; ];
services.openssh.enable = true; services.openssh.enable = true;
programs.command-not-found.enable = lib.mkForce false;
programs.nix-index = { programs.nix-index = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = false;
enableZshIntegration = true; enableZshIntegration = true;
}; };

View File

@@ -16,7 +16,6 @@
fileSystems."/" = fileSystems."/" =
{ device = "none"; { device = "none";
fsType = "tmpfs"; fsType = "tmpfs";
mode = "755";
}; };
fileSystems."/nix" = fileSystems."/nix" =
@@ -56,7 +55,7 @@
}; };
fileSystems."/boot/firmware" = fileSystems."/boot/firmware" =
{ device = "/dev/disk/by-uuid/777B-8D3F"; { device = "/dev/disk/by-uuid/15B0-5CAA";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
@@ -72,4 +71,4 @@
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true; # networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
} }