diff --git a/darwin/configuration.nix b/darwin/configuration.nix index 6ed7887..bd2dc9d 100644 --- a/darwin/configuration.nix +++ b/darwin/configuration.nix @@ -30,8 +30,8 @@ nix.package = pkgs.nix; # TODO: Set your hostname - networking.hostName = "your-hostname"; - networking.computerName = "your-hostname"; + networking.hostName = "m2n1"; + networking.computerName = "m2n1"; # Create /etc/zshrc that loads the nix-darwin environment programs.zsh.enable = true; diff --git a/flake.nix b/flake.nix index 5fc5a90..8431af5 100644 --- a/flake.nix +++ b/flake.nix @@ -76,10 +76,10 @@ }; # nix-darwin configuration entrypoint - # Available through 'darwin-rebuild switch --flake .#your-hostname' + # Available through 'darwin-rebuild switch --flake .#m2n1' darwinConfigurations = { # FIXME replace with your hostname - your-hostname = darwin.lib.darwinSystem { + m2n1 = darwin.lib.darwinSystem { specialArgs = {inherit inputs;}; modules = [ # > Our main darwin configuration file < @@ -90,8 +90,7 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.extraSpecialArgs = {inherit inputs;}; - # FIXME: Replace with your username - home-manager.users.your-username = import ./home-manager/home.nix; + home-manager.users.df = import ./home-manager/home.nix; } ]; }; diff --git a/home-manager/home.nix b/home-manager/home.nix index 6986002..b72248d 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -27,7 +27,7 @@ # TODO: Set your username home = { - username = lib.mkDefault "your-username"; + username = lib.mkDefault "df"; homeDirectory = lib.mkDefault ( if pkgs.stdenv.isDarwin then "/Users/${config.home.username}"