just came out of git hell and seemingly fixed machine-id, i think this is it?
This commit is contained in:
parent
c77266c716
commit
20dee8e307
2 changed files with 22 additions and 4 deletions
|
|
@ -44,6 +44,7 @@
|
|||
fileSystems."/persist" = {
|
||||
device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||
fsType = "ext4";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
|
|
@ -54,13 +55,14 @@
|
|||
"/var/lib/bluetooth"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/var/lib/nixos"
|
||||
"/home"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
|
||||
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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue