updates config

This commit is contained in:
Dennis Schoepf 2026-03-03 21:36:01 +01:00
parent 13c76e23d1
commit acbe8a473d
16 changed files with 270 additions and 22 deletions

View file

@ -4,6 +4,7 @@
...
}:
let
hostname = "dnsc-air";
username = config.flake.globalConfig.username;
in
{
@ -12,10 +13,10 @@ in
specialArgs = { inherit inputs; };
modules = [
inputs.home-manager.darwinModules.home-manager
config.flake.modules.darwin.system
config.flake.modules.darwin.base
{
networking.hostName = "dnsc-air";
networking.computerName = "dnsc-air";
networking.hostName = "${hostname}";
networking.computerName = "${hostname}";
users.users.${username}.home = "/Users/${username}";
nix.enable = false;
nix.settings.experimental-features = [

View file

@ -0,0 +1,11 @@
{ inputs, ... }:
{
flake.nixosConfigurations.dnsc-machine = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = with inputs.self.modules.nixos; [
base
"${inputs.self}/hosts/dnsc-machine/default.nix"
];
};
}