remove impermanence, too unstable
This commit is contained in:
parent
c30546f0b3
commit
3294b086e7
4 changed files with 5 additions and 55 deletions
|
|
@ -40,38 +40,6 @@
|
|||
LC_TIME = "en_GB.UTF-8";
|
||||
};
|
||||
|
||||
# Impermanence
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
fileSystems."/persist" = {
|
||||
device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||
fsType = "ext4";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/nix"
|
||||
"/home"
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/ollama"
|
||||
];
|
||||
};
|
||||
|
||||
environment.etc."machine-id" = {
|
||||
source = "/persist/etc/machine-id";
|
||||
mode = "0444";
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
programs.zsh.enable = true; # home-manager already installs this but nixos complains w/o it
|
||||
users.users.xory = {
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@
|
|||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# fileSystems."/" =
|
||||
# { device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||
# fsType = "ext4";
|
||||
# };
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/4CB1-40B6";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue