migrates dnsc-air
This commit is contained in:
parent
4e26d4b880
commit
25d3917db6
9 changed files with 142 additions and 2 deletions
32
modules/hosts/dnsc-air/default.nix
Normal file
32
modules/hosts/dnsc-air/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ inputs, config, ... }:
|
||||
let
|
||||
hostname = "dnsc-air";
|
||||
in
|
||||
{
|
||||
flake.darwinConfigurations.${hostname} = inputs.nix-darwin.lib.darwinSystem {
|
||||
system = "aarch64-darwin";
|
||||
modules = with config.flake.modules.darwin; [
|
||||
inputs.nix-homebrew.darwinModules.nix-homebrew
|
||||
|
||||
base
|
||||
home-manager
|
||||
shell
|
||||
git
|
||||
ssh
|
||||
cli-tools
|
||||
nix
|
||||
neovim
|
||||
terminal
|
||||
browser
|
||||
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
networking.hostName = hostname;
|
||||
networking.computerName = hostname;
|
||||
system.defaults.smb.NetBIOSName = hostname;
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue