- flake.nix with mkNixos + mkDarwin dispatchers
- hosts/common/{default.nix} (NixOS shared)
- hosts/common-darwin/{default.nix} (darwin shared)
- hosts/poppy/ (M1 MacBook Air, nix-darwin)
- hosts/muscari/ (k3s server, placeholder)
- hosts/rosemary/ (backup VM, placeholder)
- home/default.nix (home-manager for mikl)
- README.md, garden.md (host naming scheme: plants)
- secrets/.gitkeep
old muscari-only config moved to nix-config-legacy/
20 lines
No EOL
322 B
Nix
20 lines
No EOL
322 B
Nix
{ pkgs, ... }:
|
|
{
|
|
# flake + nix-command
|
|
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
|
|
];
|
|
} |