aeu
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user