👻 (aurum/system) disable disko (temporary)
This commit is contained in:
parent
eeaf3a0bf0
commit
22483cd7c2
|
@ -10,7 +10,7 @@
|
|||
imports = [
|
||||
./audio
|
||||
./boot
|
||||
./disko
|
||||
# ./disko
|
||||
./docker
|
||||
./fonts
|
||||
./hardware
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
type = "gpt";
|
||||
partitions = {
|
||||
esp = {
|
||||
size = "512MiB";
|
||||
size = "512M";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
|
@ -27,20 +27,8 @@
|
|||
settings.allowDiscards = true;
|
||||
passwordFile = "/tmp/secret.key";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
extraArgs = ["-f"];
|
||||
subvolumes = {
|
||||
"@persistent" = {
|
||||
mountpoint = "/persistent";
|
||||
mountOptions = ["compress=zstd" "noatime"];
|
||||
};
|
||||
"@nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = ["compress=zstd" "noatime"];
|
||||
};
|
||||
"@swap" = {
|
||||
mountpoint = "/.swapvol";
|
||||
swap.swapfile.size = "10G";
|
||||
type = "lvm_pv";
|
||||
vg = "pool";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -48,6 +36,33 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
lvm_vg = {
|
||||
pool = {
|
||||
type = "lvm_vg";
|
||||
lvs = {
|
||||
root = {
|
||||
size = "100M";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
mountOptions = [
|
||||
"defaults"
|
||||
];
|
||||
};
|
||||
};
|
||||
home = {
|
||||
size = "10M";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/home";
|
||||
};
|
||||
};
|
||||
raw = {
|
||||
size = "10M";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
# hardware
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
|
@ -28,4 +28,33 @@
|
|||
|
||||
# backlight intensity
|
||||
programs.light.enable = true;
|
||||
|
||||
imports = [
|
||||
./partitions.nix
|
||||
];
|
||||
|
||||
# tests, temporary or move this shit to nixos-hardware public repo
|
||||
# services.thermald.enable = lib.mkDefault true;
|
||||
|
||||
# Includes the Wi-Fi and Bluetooth firmware for the QCA6390. ??????
|
||||
# hardware.enableRedistributableFirmware = true;
|
||||
|
||||
# enable finger print sensor.
|
||||
# this has to be configured with `sudo fprintd-enroll <username>`.
|
||||
services.fprintd.enable = true;
|
||||
services.fprintd.tod.enable = true;
|
||||
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
|
||||
|
||||
# Allows for updating firmware via `fwupdmgr`.
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# webcam bullshit fuck you intel
|
||||
# bugged my power down ? try to uninstall ? doesn't work anyway
|
||||
# hardware.firmware = [
|
||||
# pkgs.ivsc-firmware
|
||||
# ];
|
||||
# hardware.ipu6 = {
|
||||
# enable = true;
|
||||
# platform = "ipu6ep";
|
||||
# };
|
||||
}
|
||||
|
|
15
hosts/aurum/system/hardware/partitions.nix
Normal file
15
hosts/aurum/system/hardware/partitions.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{...}: {
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/288c6720-f583-4756-b74d-27eabf496d09";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/CBDD-1148";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/ccdd234e-b58a-440b-b951-4fef68c3812c"; }
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue