extract domain name to flake and pass down with special args
This commit is contained in:
parent
3e2fce475b
commit
1da3624a02
2 changed files with 3 additions and 3 deletions
|
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
domainName,
|
||||
...
|
||||
}:
|
||||
let
|
||||
domainName = "yisroelbaum.com";
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
outputs = { self, nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
domainName = "yisroelbaum.com";
|
||||
in {
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
|
|
@ -24,6 +25,7 @@
|
|||
home-manager.users.yisroel = ./home-manager/home.nix;
|
||||
}
|
||||
];
|
||||
specialArgs = { inherit domainName; };
|
||||
};
|
||||
devShells."${system}".default = let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue