sets up basic structure

This commit is contained in:
Dennis 2026-03-03 13:46:54 +01:00
parent a0e3d792a9
commit 2ac5d0321b
17 changed files with 1368 additions and 36 deletions

View file

@ -0,0 +1,36 @@
{
inputs,
config,
...
}:
let
username = config.flake.globalConfig.username;
in
{
flake.darwinConfigurations.dnsc-air = inputs.nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
specialArgs = { inherit inputs; };
modules = [
inputs.home-manager.darwinModules.home-manager
{
networking.hostName = "dnsc-air";
networking.computerName = "dnsc-air";
users.users.${username}.home = "/Users/${username}";
nix.enable = false;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
home-manager = {
useGlobalPkgs = true;
backupFileExtension = "backup";
users.${username} = {
imports = [ config.flake.modules.homeManager.neovim ];
home.stateVersion = "24.11";
};
};
}
];
};
}