rename partition root

This commit is contained in:
twoneis 2024-05-08 17:12:28 +02:00
parent 1566988dc9
commit 33ca1ea446
3 changed files with 27 additions and 28 deletions

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
./hardware-config.nix ./hardware-config.nix
./disko.nix
./nvidia.nix ./nvidia.nix
./options.nix ./options.nix
]; ];

View file

@ -41,7 +41,7 @@
}; };
}; };
mountpoint = "/rootfs"; mountpoint = "/partition-root";
swap = { swap = {
swapfile = { swapfile = {
size = "16G"; size = "16G";

View file

@ -4,32 +4,32 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# fileSystems = { fileSystems = {
# "/boot" = { "/boot" = {
# device = "/dev/disk/by-uuid/646D-4793"; device = "/dev/disk/by-uuid/646D-4793";
# fsType = "vfat"; fsType = "vfat";
# }; };
# "/" = { "/" = {
# device = "/dev/disk/by-uuid/1a5777297-4ed3-48d7-adc7-a937fa93d868"; device = "/dev/disk/by-uuid/1a5777297-4ed3-48d7-adc7-a937fa93d868";
# fsType = "btrfs"; fsType = "btrfs";
# options = [ "subvol=rootfs" "compress=zstd" "noatime" ]; options = [ "subvol=rootfs" "compress=zstd" "noatime" ];
# }; };
# "/nix" = { "/nix" = {
# device = "/dev/disk/by-uuid/1a5777297-4ed3-48d7-adc7-a937fa93d868"; device = "/dev/disk/by-uuid/1a5777297-4ed3-48d7-adc7-a937fa93d868";
# fsType = "btrfs"; fsType = "btrfs";
# options = [ "subvol=nix" "compress=zstd" "noatime" ]; options = [ "subvol=nix" "compress=zstd" "noatime" ];
# }; };
# "/persist" = { "/persist" = {
# device = "/dev/disk/by-uuid/1a5777297-4ed3-48d7-adc7-a937fa93d868"; device = "/dev/disk/by-uuid/1a5777297-4ed3-48d7-adc7-a937fa93d868";
# fsType = "btrfs"; fsType = "btrfs";
# options = [ "subvol=persist" "compress=zstd" "noatime" ]; options = [ "subvol=persist" "compress=zstd" "noatime" ];
# }; };
# "/ext" = { "/ext" = {
# device = "/dev/disk/by-uuid/89112638-6953-48a7-9b2f-dd61ce9fe8b0"; device = "/dev/disk/by-uuid/89112638-6953-48a7-9b2f-dd61ce9fe8b0";
# fsType = "btrfs"; fsType = "btrfs";
# options = [ "subvol=ext" "compress=zstd" "noatime" ]; options = [ "subvol=ext" "compress=zstd" "noatime" ];
# }; };
# }; };
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's