Set hostname in darwin-config, use hostname for darwin home manager config

main
xenia 2024-03-19 13:10:37 +01:00
parent 02ff8573ea
commit bf8d138fca
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,8 @@
security.pam.enableSudoTouchIdAuth = true;
networking.hostName = "Joe-Bidens-MacBook-Pro";
system.defaults = {
NSGlobalDomain.AppleShowAllFiles = true;
finder.AppleShowAllFiles = true;

View File

@ -68,7 +68,7 @@
mkNixOsGraphical = opts: import ./nixos/graphical.nix (opts // { fox-layout = rachel.keyboardLayouts.fox; });
mkNixOsNetworking = opts: import ./nixos/networking.nix opts;
in {
homeConfigurations."xenia@Joe-Bidens-MacBook-Pro.local" =
homeConfigurations."xenia@Joe-Bidens-MacBook-Pro" =
let
system = "aarch64-darwin";
pkgs = mkPkgs system;