updates config
This commit is contained in:
parent
13c76e23d1
commit
acbe8a473d
16 changed files with 270 additions and 22 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
11
modules/hosts/dnsc-machine.nix
Normal file
11
modules/hosts/dnsc-machine.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue