1
0
Fork 0

feat: Change location of nixos config

This commit is contained in:
lwad 2024-04-15 08:48:53 +01:00
parent 9d92285c96
commit 86ea2e32e2
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
system.stateVersion = "23.05";
systemd.tmpfiles.rules = [
"Z /home/${config.lwad.definitions.username}/Documents - ${config.lwad.definitions.username} users"
"L+ /etc/nixos - - - - /home/${config.lwad.definitions.username}/Documents/asuna-vm"
"L+ /home/${config.lwad.definitions.username}/nixos - - - - /home/${config.lwad.definitions.username}/Documents/asuna-vm"
];
users.users.${config.lwad.definitions.username}.hashedPassword =
"$y$j9T$2WsVbq7A5SXrOrdJHKG4y1$NHnBWQ1jeiGyaxgNysGyNPhLJjW1BQlAWpNx4TdQ2L8";

View File

@ -88,7 +88,7 @@ with lib; {
nixos-upgrade =
"${config.lwad.definitions.sudoas.command} systemctl start nixos-upgrade.service";
nixos-upgrade-local =
"${config.lwad.definitions.sudoas.command} nixos-rebuild switch --no-write-lock-file --recreate-lock-file --flake /etc/nixos/#";
"${config.lwad.definitions.sudoas.command} nixos-rebuild switch --no-write-lock-file --recreate-lock-file --flake /home/${config.lwad.definitions.username}/nixos#";
};
services = {
fstrim = {