- merged common-darwin/default.nix content into hosts/poppy/default.nix - removed hosts/common-darwin/ - removed ./hosts/common-darwin import from mkDarwin in flake.nix linux hosts/common/ stays — already 2 linux hosts (muscari + rosemary)
27 lines
No EOL
479 B
Nix
27 lines
No EOL
479 B
Nix
{ pkgs, ... }:
|
|
{
|
|
networking.hostName = "poppy";
|
|
|
|
# Allow unfree packages (some macOS-ported tools need it)
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
system.primaryUser = "mikl";
|
|
|
|
# nix settings
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
# nix daemon (multi-user install)
|
|
services.nix-daemon.enable = true;
|
|
|
|
users.users.mikl = {
|
|
home = "/Users/mikl";
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
environment.systemPackages = [
|
|
pkgs.vim
|
|
];
|
|
} |