26 lines
650 B
Nix
26 lines
650 B
Nix
{ pkgs, ... }: {
|
|
imports = [ ./homebrew.nix ./system.nix ];
|
|
|
|
networking.hostName = "poppy";
|
|
system.primaryUser = "michaotic";
|
|
system.stateVersion = 7;
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix.enable = false;
|
|
|
|
users.users.michaotic = {
|
|
home = "/Users/michaotic";
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
environment.systemPackages = [ pkgs.vim ];
|
|
|
|
home-manager.users.michaotic = {
|
|
imports = [ ../../home/kitty.nix ];
|
|
programs.zsh.shellAliases = {
|
|
switch = "darwin-rebuild switch --flake .#poppy";
|
|
update = "nix flake update && darwin-rebuild switch --flake .#poppy";
|
|
cleanup = "nix-collect-garbage -d";
|
|
};
|
|
};
|
|
}
|