From 7b40e3bf9e074fa6bfb404ea4149167c9366c5c0 Mon Sep 17 00:00:00 2001 From: caem Date: Sun, 19 Jan 2025 13:18:30 +0100 Subject: [PATCH] more stuff --- hosts/puter/disko.nix | 1 + hosts/vm/disko.nix | 3 ++- modules/home/caem/default.nix | 2 +- modules/nixos/core/nix.nix | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/puter/disko.nix b/hosts/puter/disko.nix index 0d74c27..ed5a9da 100644 --- a/hosts/puter/disko.nix +++ b/hosts/puter/disko.nix @@ -31,6 +31,7 @@ type = "btrfs"; extraArgs = [ "-f" "-L nixos" ]; subvolumes = { + /* Do not rename the root partition as it'll break impermanence */ "/root" = { mountpoint = "/"; mountOptions = [ diff --git a/hosts/vm/disko.nix b/hosts/vm/disko.nix index 774c58d..aeff7ff 100644 --- a/hosts/vm/disko.nix +++ b/hosts/vm/disko.nix @@ -27,7 +27,8 @@ type = "btrfs"; extraArgs = [ "-f" "-L nixos" ]; subvolumes = { - "/rootfs" = { + /* Do not rename the root partition as it'll break impermanence */ + "/root" = { mountpoint = "/"; mountOptions = [ "noatime" diff --git a/modules/home/caem/default.nix b/modules/home/caem/default.nix index 0ea8b8e..d787beb 100644 --- a/modules/home/caem/default.nix +++ b/modules/home/caem/default.nix @@ -36,7 +36,7 @@ "documents" "download" "music" - "pictures" + "images" "videos" "programming" ]; diff --git a/modules/nixos/core/nix.nix b/modules/nixos/core/nix.nix index 3f8b675..6b0d75f 100644 --- a/modules/nixos/core/nix.nix +++ b/modules/nixos/core/nix.nix @@ -8,6 +8,9 @@ trusted-users = [ "@wheel" ]; allowed-users = [ "@wheel" ]; }; + extraOptions = '' + experimental-features = nix-command flakes + ''; }; nixpkgs = {