change hostname for iso

This commit is contained in:
Leon Vatthauer 2024-05-20 22:11:41 +02:00
parent f7ad0b6b75
commit 8d922e9b48
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8

View file

@ -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;
@ -102,4 +83,4 @@
# flakes # flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
} }