tsuki: update hardware

This commit is contained in:
notohh 2024-05-02 00:58:11 -04:00
parent 4d89115a0c
commit d8ad686e7b
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 9 additions and 44 deletions

View file

@ -1,33 +0,0 @@
{
disko.devices = {
disk = {
nvme0n1 = {
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
end = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
name = "root";
end = "-0";
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
};
};
};
};
};
};
};
}

View file

@ -6,7 +6,6 @@
}: { }: {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
# ./disko-config.nix
]; ];
boot = { boot = {
@ -29,20 +28,19 @@
}; };
fileSystems = { fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/a423d32f-ac5d-4ea2-82fb-f94b05afce29";
fsType = "ext4";
};
"/boot/efi" = {
device = "/dev/disk/by-uuid/FEAF-138A";
fsType = "vfat";
};
"/nas/restic" = { "/nas/restic" = {
device = "192.168.1.199:/mnt/Sutoreji/nix-restic-data/tsuki"; device = "192.168.1.199:/mnt/Sutoreji/nix-restic-data/tsuki";
fsType = "nfs"; fsType = "nfs";
}; };
"/nas/ISOS" = {
device = "192.168.1.199:/mnt/Sutoreji/ISOS";
fsType = "nfs";
}; };
"/nas/osu-backups" = {
device = "192.168.1.199:/mnt/Sutoreji/osu-backups";
fsType = "nfs";
};
};
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -1,7 +1,7 @@
{...}: { {...}: {
imports = [ imports = [
./restic.nix ./restic.nix
./atticd.nix # ./atticd.nix
./hydroxide.nix ./hydroxide.nix
]; ];
} }