summaryrefslogtreecommitdiff
path: root/hosts/vm/disko.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-02-03 22:58:50 +0100
committeradikro <adikro@disroot.org>2026-02-03 22:58:50 +0100
commiteb95abfc230dc239122f1e89e90cd9a998491a2f (patch)
tree9d60efacf83b97059f6300e360be2248f8e9c57e /hosts/vm/disko.nix
parente5036417abe5d3597792f869e2831decd50eba5d (diff)
...
Diffstat (limited to 'hosts/vm/disko.nix')
-rw-r--r--hosts/vm/disko.nix104
1 files changed, 0 insertions, 104 deletions
diff --git a/hosts/vm/disko.nix b/hosts/vm/disko.nix
deleted file mode 100644
index edc4008..0000000
--- a/hosts/vm/disko.nix
+++ /dev/null
@@ -1,104 +0,0 @@
-{
- disko.devices = {
- disk = {
- main = {
- type = "disk";
- device = "/dev/nvme0n1";
- content = {
- type = "gpt";
- partitions = {
- ESP = {
- size = "2G";
- type = "EF00";
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- mountOptions = [ "umask=0077" ];
- };
- };
- root = {
- size = "100%";
- content = {
- type = "btrfs";
- extraArgs = [ "-f" ];
- subvolumes = {
- "@" = {
- mountpoint = "/";
- mountOptions = [ "compress=zstd:1" "noatime" ];
- };
- "@home" = {
- mountpoint = "/home";
- mountOptions = [ "compress=zstd:1" "noatime" ];
- };
- "@nix" = {
- mountpoint = "/nix";
- mountOptions = [ "compress=zstd:1" "noatime" ];
- };
- "@log" = {
- mountpoint = "/var/log";
- mountOptions = [ "compress=zstd:1" "noatime" ];
- };
- "@games" = {
- mountpoint = "/games";
- mountOptions = [ "compress=zstd:1" "noatime" ];
- };
- "@llms" = {
- mountpoint = "/llms";
- mountOptions = [ "nodatacow" "noatime"];
- };
- "@vms" = {
- mountpoint = "/vms";
- mountOptions = [ "nodatacow" "noatime" ];
- };
- "@swap" = {
- mountpoint = "/.swapvol";
- mountOptions = [ "nodatacow" "noatime" ];
- };
- };
- };
- };
- };
- };
- };
- media = {
- type = "disk";
- device = "/dev/sda";
- content = {
- type = "gpt";
- partitions = {
- media = {
- size = "100%";
- content = {
- type = "btrfs";
- extraArgs = [ "-f" ];
- subvolumes = {
- "@archive" = {
- mountpoint = "/media/archive";
- mountOptions = [ "compress=zstd:1" "autodefrag" "noatime" ];
- };
- "@movies" = {
- mountpoint = "/media/movies";
- mountOptions = [ "autodefrag" "noatime" ];
- };
- "@anime" = {
- mountpoint = "/media/anime";
- mountOptions = [ "autodefrag" "noatime" ];
- };
- "@pictures" = {
- mountpoint = "/media/pics";
- mountOptions = [ "autodefrag" "noatime" ];
- };
- "@videos" = {
- mountpoint = "/media/vids";
- mountOptions = [ "autodefrag" "noatime" ];
- };
- };
- };
- };
- };
- };
- };
- };
- };
-}