Update home impermanence to be in the style of GNU Stow
This commit is contained in:
parent
968ae4631c
commit
66502988ef
22 changed files with 72 additions and 64 deletions
|
@ -1,30 +1,31 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
fileSystems = {
|
||||
"/persist/storage" = {
|
||||
device = "/dev/disk/by-uuid/d0d6783f-ad51-4d85-b8a9-3374f6460ef6";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
"nofail"
|
||||
"nosuid"
|
||||
];
|
||||
};
|
||||
|
||||
# Network mounts
|
||||
"/home/${config.sysusers.main}/Network/Midas" = {
|
||||
device = "sv.nixfox.ca:/storage";
|
||||
fsType = "nfs4";
|
||||
options = [
|
||||
"noatime"
|
||||
"noauto"
|
||||
"soft"
|
||||
"x-systemd.automount"
|
||||
];
|
||||
};
|
||||
"/home/${config.sysusers.main}/Network/Kitty" = {
|
||||
device = "sv.nixfox.ca:/storage/bun";
|
||||
fsType = "nfs4";
|
||||
options = [
|
||||
"noauto"
|
||||
"port=2050"
|
||||
"soft"
|
||||
"x-systemd.automount"
|
||||
];
|
||||
};
|
||||
"/home/${config.sysusers.main}/Network/Prophet" = {
|
||||
device = "mx.nixfox.ca:/storage";
|
||||
fsType = "nfs4";
|
||||
options = [
|
||||
"noatime"
|
||||
"noauto"
|
||||
"soft"
|
||||
"x-systemd.automount"
|
||||
|
|
|
@ -45,7 +45,10 @@
|
|||
"/etc/NetworkManager/system-connections"
|
||||
"/var/lib/decky-loader"
|
||||
];
|
||||
users.${config.sysusers.main}.directories = [ ".steam" ];
|
||||
users.${config.sysusers.main}.directories = [
|
||||
".config/dconf"
|
||||
".steam"
|
||||
];
|
||||
};
|
||||
gnome.excludePackages = with pkgs; [
|
||||
adwaita-icon-theme
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
"nosuid"
|
||||
];
|
||||
};
|
||||
|
||||
# Network mounts
|
||||
"/home/${config.sysusers.main}/Network/Midas" = {
|
||||
device = "11.0.0.1:/storage";
|
||||
fsType = "nfs4";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue