Commit 849dc4544280
Changed files (2)
systems
nagoya
systems/nagoya/hardware.nix
@@ -10,12 +10,12 @@ _: {
"x-systemd.idle-timeout=1min"
];
};
+ # "/" = {
+ # device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
+ # fsType = "ext4";
+ # options = [ "noatime" ];
+ # };
"/" = {
- device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
- fsType = "ext4";
- options = [ "noatime" ];
- };
- "/data" = {
device = "/dev/disk/by-uuid/e769fd8d-1fed-4a59-a987-e21f35294d5f";
fsType = "ext4";
options = [ "noatime" ];
flake.nix
@@ -96,56 +96,56 @@
pkgsInput = inputs.nixpkgs-25_05;
homeInput = inputs.home-manager-25_05;
};
- # nagoya = libx.mkRPIHost {
- # hostname = "nagoya";
- # hardwareType = "rpi4"; # to disable tpm2 TODO find a better way
- # };
- nagoya = inputs.nixos-raspberrypi.lib.nixosSystem {
- specialArgs = inputs;
- modules = [
- (
- { ... }:
- {
- imports = with inputs.nixos-raspberrypi.nixosModules; [
- raspberry-pi-5.base
- raspberry-pi-5.bluetooth
- ];
- }
- )
- (_: {
- networking.hostName = "nagoya";
- users.users.yourUserName = {
- initialPassword = "yourInitialPassword";
- isNormalUser = true;
- extraGroups = [
- "wheel"
- ];
- };
-
- services.openssh.enable = true;
- })
-
- (_: {
- fileSystems = {
- "/boot/firmware" = {
- device = "/dev/disk/by-uuid/2175-794E";
- fsType = "vfat";
- options = [
- "noatime"
- "noauto"
- "x-systemd.automount"
- "x-systemd.idle-timeout=1min"
- ];
- };
- "/" = {
- device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
- fsType = "ext4";
- options = [ "noatime" ];
- };
- };
- })
- ];
+ nagoya = libx.mkRPIHost {
+ hostname = "nagoya";
+ hardwareType = "rpi4"; # to disable tpm2 TODO find a better way
};
+ # nagoya = inputs.nixos-raspberrypi.lib.nixosSystem {
+ # specialArgs = inputs;
+ # modules = [
+ # (
+ # { ... }:
+ # {
+ # imports = with inputs.nixos-raspberrypi.nixosModules; [
+ # raspberry-pi-5.base
+ # raspberry-pi-5.bluetooth
+ # ];
+ # }
+ # )
+ # (_: {
+ # networking.hostName = "nagoya";
+ # users.users.yourUserName = {
+ # initialPassword = "yourInitialPassword";
+ # isNormalUser = true;
+ # extraGroups = [
+ # "wheel"
+ # ];
+ # };
+ #
+ # services.openssh.enable = true;
+ # })
+ #
+ # (_: {
+ # fileSystems = {
+ # "/boot/firmware" = {
+ # device = "/dev/disk/by-uuid/2175-794E";
+ # fsType = "vfat";
+ # options = [
+ # "noatime"
+ # "noauto"
+ # "x-systemd.automount"
+ # "x-systemd.idle-timeout=1min"
+ # ];
+ # };
+ # "/" = {
+ # device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
+ # fsType = "ext4";
+ # options = [ "noatime" ];
+ # };
+ # };
+ # })
+ # ];
+ # };
sakhalin = libx.mkHost {
hostname = "sakhalin";
pkgsInput = inputs.nixpkgs-25_05;