summaryrefslogtreecommitdiff
path: root/hosts/pendrive/disko.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-02-10 22:27:11 +0100
committeradikro <adikro@disroot.org>2026-02-10 22:27:11 +0100
commit233e5fb7d43a0736857ee6b9f74967f03b73837c (patch)
treef46c2b13193e495d14502c6b9849482bce366ee3 /hosts/pendrive/disko.nix
parent43f1d9649a8cf9043dee99a3e366534134aba57b (diff)
...
Diffstat (limited to 'hosts/pendrive/disko.nix')
-rw-r--r--hosts/pendrive/disko.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/hosts/pendrive/disko.nix b/hosts/pendrive/disko.nix
index 24674b7..cc9dede 100644
--- a/hosts/pendrive/disko.nix
+++ b/hosts/pendrive/disko.nix
@@ -22,42 +22,40 @@
content = {
type = "luks";
name = "crypted";
- settings = {
- allowDiscards = true;
- };
+ settings.allowDiscards = true;
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
- "@" = {
+ "root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd:1"
"noatime"
];
};
- "@home" = {
+ "home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd:1"
"noatime"
];
};
- "@nix" = {
+ "nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd:1"
"noatime"
];
};
- "@log" = {
+ "log" = {
mountpoint = "/var/log";
mountOptions = [
"compress=zstd:1"
"noatime"
];
};
- "@swap" = {
+ "swap" = {
mountpoint = "/.swapvol";
mountOptions = [
"nodatacow"