change hostname for iso
This commit is contained in:
parent
f7ad0b6b75
commit
8d922e9b48
1 changed files with 2 additions and 21 deletions
|
@ -9,7 +9,7 @@
|
|||
initialPassword = "leonv";
|
||||
};
|
||||
|
||||
networking.hostName = "gunther"; # Define your hostname.
|
||||
networking.hostName = "iso"; # Define your hostname.
|
||||
# Enable networking
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
|
@ -68,25 +68,6 @@
|
|||
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
|
||||
# NFS setup
|
||||
services.rpcbind.enable = true; # needed for NFS
|
||||
systemd.mounts = [{
|
||||
type = "nfs";
|
||||
mountConfig = {
|
||||
Options = "noatime";
|
||||
};
|
||||
what = "192.168.178.20:/volume1/MiniDrive";
|
||||
where = "/MiniDrive";
|
||||
}];
|
||||
|
||||
systemd.automounts = [{
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
automountConfig = {
|
||||
TimeoutIdleSec = "10";
|
||||
};
|
||||
where = "/MiniDrive";
|
||||
}];
|
||||
|
||||
# source zsh
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
@ -102,4 +83,4 @@
|
|||
|
||||
# flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue