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";
|
initialPassword = "leonv";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "gunther"; # Define your hostname.
|
networking.hostName = "iso"; # Define your hostname.
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -68,25 +68,6 @@
|
||||||
|
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
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
|
# source zsh
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
|
Loading…
Reference in a new issue