palantir: just stripe everything into one partition
This commit is contained in:
parent
9c35b32ea9
commit
fe26921b10
@ -30,7 +30,7 @@ in
|
|||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "mdraid";
|
type = "mdraid";
|
||||||
name = "md0";
|
name = "raid0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -47,7 +47,7 @@ in
|
|||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "mdraid";
|
type = "mdraid";
|
||||||
name = "md0";
|
name = "raid0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -56,39 +56,13 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
mdadm = {
|
mdadm = {
|
||||||
md0 = {
|
raid0 = {
|
||||||
type = "mdadm";
|
type = "mdadm";
|
||||||
level = 0; # RAID0
|
level = 0; # RAID0
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "filesystem";
|
||||||
partitions = {
|
format = "ext4";
|
||||||
root = {
|
mountpoint = "/";
|
||||||
size = "30G";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "ext4";
|
|
||||||
mountpoint = "/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nix = {
|
|
||||||
size = "50G";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "ext4";
|
|
||||||
mountpoint = "/nix";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
games = {
|
|
||||||
size = "130G";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "ext4";
|
|
||||||
mountpoint = "/games";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,14 +3,17 @@
|
|||||||
{
|
{
|
||||||
# Imports
|
# Imports
|
||||||
imports = [
|
imports = [
|
||||||
disko.nixosModules.disko ../disko/palantir/lvm.nix
|
disko.nixosModules.disko ../disko/palantir/lvm-striped.nix
|
||||||
|
|
||||||
../modules/nvidia.nix
|
../modules/nvidia.nix
|
||||||
../modules/plasma.nix
|
../modules/plasma.nix
|
||||||
../modules/gaming.nix
|
../modules/gaming.nix
|
||||||
];
|
];
|
||||||
# Disks
|
# Disks
|
||||||
boot.initrd.services.lvm.enable = true;
|
boot.initrd.services.lvm.enable = false;
|
||||||
|
boot.swraid.enable = true;
|
||||||
|
boot.swraid.mdadmConf = "MAILADDR root";
|
||||||
|
boot.initrd.availableKernelModules = [ "md_mod" "raid0" ];
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user