aeu
This commit is contained in:
@@ -30,8 +30,8 @@
|
|||||||
nix.package = pkgs.nix;
|
nix.package = pkgs.nix;
|
||||||
|
|
||||||
# TODO: Set your hostname
|
# TODO: Set your hostname
|
||||||
networking.hostName = "your-hostname";
|
networking.hostName = "m2n1";
|
||||||
networking.computerName = "your-hostname";
|
networking.computerName = "m2n1";
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment
|
# Create /etc/zshrc that loads the nix-darwin environment
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|||||||
@@ -76,10 +76,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# nix-darwin configuration entrypoint
|
# nix-darwin configuration entrypoint
|
||||||
# Available through 'darwin-rebuild switch --flake .#your-hostname'
|
# Available through 'darwin-rebuild switch --flake .#m2n1'
|
||||||
darwinConfigurations = {
|
darwinConfigurations = {
|
||||||
# FIXME replace with your hostname
|
# FIXME replace with your hostname
|
||||||
your-hostname = darwin.lib.darwinSystem {
|
m2n1 = darwin.lib.darwinSystem {
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
# > Our main darwin configuration file <
|
# > Our main darwin configuration file <
|
||||||
@@ -90,8 +90,7 @@
|
|||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||||
# FIXME: Replace with your username
|
home-manager.users.df = import ./home-manager/home.nix;
|
||||||
home-manager.users.your-username = import ./home-manager/home.nix;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
# TODO: Set your username
|
# TODO: Set your username
|
||||||
home = {
|
home = {
|
||||||
username = lib.mkDefault "your-username";
|
username = lib.mkDefault "df";
|
||||||
homeDirectory = lib.mkDefault (
|
homeDirectory = lib.mkDefault (
|
||||||
if pkgs.stdenv.isDarwin
|
if pkgs.stdenv.isDarwin
|
||||||
then "/Users/${config.home.username}"
|
then "/Users/${config.home.username}"
|
||||||
|
|||||||
Reference in New Issue
Block a user