No disk defaults for disko configurations
Some checks failed
/ check (push) Failing after 3m44s

This commit is contained in:
Daniel Flanagan 2024-12-27 16:20:48 -06:00
parent 0e62da006c
commit 06a36e534d
2 changed files with 14 additions and 12 deletions

View file

@ -18,7 +18,7 @@
};
in {
standardWithHibernateSwap = {
disks ? ["/dev/sda"],
disk,
swapSize,
...
}: {
@ -33,7 +33,7 @@ in {
disk = {
primary = {
type = "disk";
device = builtins.elemAt disks 0;
device = disk;
content = {
type = "gpt";
partitions = {
@ -73,14 +73,15 @@ in {
content = {
type = "btrfs";
extraArgs = ["-f"];
mountpoint = "/partition-root";
subvolumes = {
"/nixos" = {
mountpoint = "/";
mountOptions = ["compress=zstd" "noatime"];
"/rootfs" = {
mountpoint = "/rootfs";
mountOptions = ["compress=zstd"];
};
"/home" = {
mountpoint = "/home";
mountOptions = ["compress=zstd" "noatime"];
mountOptions = ["compress=zstd"];
};
"/nix" = {
mountpoint = "/nix";
@ -110,7 +111,7 @@ in {
ESP = {
label = "EFI";
name = "ESP";
size = "512M";
size = "4G";
type = "EF00";
content = {
type = "filesystem";
@ -135,14 +136,15 @@ in {
content = {
type = "btrfs";
extraArgs = ["-f"];
mountpoint = "/partition-root";
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = ["compress=zstd" "noatime"];
mountOptions = ["compress=zstd"];
};
"/home" = {
mountpoint = "/home";
mountOptions = ["compress=zstd" "noatime"];
mountOptions = ["compress=zstd"];
};
"/nix" = {
mountpoint = "/nix";
@ -178,7 +180,7 @@ in {
subvolumes = {
"/rootfs" = {
mountpoint = "/";
mountOptions = [];
mountOptions = ["compress=zstd"];
};
"/home" = {
mountpoint = "/home";
@ -394,7 +396,7 @@ in {
};
};
};
legacy = {disks ? ["/dev/vda"], ...}: {
legacy = {disks, ...}: {
disko.devices = {
disk = {
primary = {

View file

@ -337,7 +337,7 @@ in
];
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [
"eDP-1,2880x1920@120Hz,0x0,1.66667"
"eDP-1,2880x1920@120Hz,0x0,1.5"
];
};
};