Changed directory of config
This commit is contained in:
parent
669de539a7
commit
98668e05f9
4 changed files with 6 additions and 5 deletions
|
|
@ -22,5 +22,5 @@ sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake github:KyleKre
|
||||||
|
|
||||||
or together
|
or together
|
||||||
~~~
|
~~~
|
||||||
sudo nix --extra-experimental-features "flakes nix-command" run github:nix-community/disko -- --mode zap_create_mount --flake github:KyleKrein/nixos-config#kylekrein-homepc && sudo git clone https://github.com/KyleKrein/nixos-config.git /mnt/persist/nixos-config && sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake /mnt/persist/nixos-config#kylekrein-homepc && sudo rm -rf /mnt/tmp
|
sudo nix --extra-experimental-features "flakes nix-command" run github:nix-community/disko -- --mode zap_create_mount --flake github:KyleKrein/nixos-config#kylekrein-homepc && sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake github:KyleKrein/nixos-config#kylekrein-homepc && sudo rm -rf /mnt/tmp
|
||||||
~~~
|
~~~
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
kylekrein.services.autoUpgrade = {
|
kylekrein.services.autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pushUpdates = if hwconfig.hostname == "${username}-homepc" then true else false;
|
pushUpdates = if hwconfig.hostname == "${username}-homepc" then true else false;
|
||||||
configDir = "${if hwconfig.useImpermanence then "/persist/nixos-config" else "/home/${username}/nixos-config"}";
|
configDir = "/home/${username}/nixos-config";
|
||||||
user = username;
|
user = username;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -248,7 +248,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||||
flake = "${if hwconfig.useImpermanence then "/persist/nixos-config" else "/home/${username}/nixos-config"}";
|
flake = "/home/${username}/nixos-config";
|
||||||
};
|
};
|
||||||
#https://discourse.nixos.org/t/dolphin-does-not-have-mime-associations/48985/3
|
#https://discourse.nixos.org/t/dolphin-does-not-have-mime-associations/48985/3
|
||||||
# This fixes the unpopulated MIME menus
|
# This fixes the unpopulated MIME menus
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /persist/home/ 0777 root root -" # /persist/home created, owned by root
|
"d /persist/home/ 0777 root root -" # /persist/home created, owned by root
|
||||||
"d /persist/home/${username} 0700 ${username} users -" # /persist/home/<user> created, owned by that user
|
"d /persist/home/${username} 0700 ${username} users -" # /persist/home/<user> created, owned by that user
|
||||||
"d /persist/nixos-config/ 0700 ${username} users -"
|
#"d /persist/nixos-config 0700 ${username} users -"
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,9 @@
|
||||||
"Pictures"
|
"Pictures"
|
||||||
"Documents"
|
"Documents"
|
||||||
"Videos"
|
"Videos"
|
||||||
"VirtualBox VMs"
|
"VMs"
|
||||||
"Git"
|
"Git"
|
||||||
|
"nixos-config"
|
||||||
"blender"
|
"blender"
|
||||||
".gnupg"
|
".gnupg"
|
||||||
".ssh"
|
".ssh"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue