Add a dummy/fallback entry if hostname doesn't match
This commit is contained in:
parent
94bd059ab6
commit
242da6ca5f
12
flake.nix
12
flake.nix
|
@ -73,6 +73,18 @@
|
|||
in {
|
||||
inherit (home-manager) defaultPackage;
|
||||
homeConfigurations = {
|
||||
# Fallback entry
|
||||
pixelifytica = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||
modules = defaultModules {
|
||||
username = "pixelifytica";
|
||||
hostname = "Atlas";
|
||||
};
|
||||
extraSpecialArgs = defaultExtraSpecialArgs {
|
||||
system = "x86_64-linux";
|
||||
hostname = "Atlas";
|
||||
};
|
||||
};
|
||||
# Server
|
||||
"pixelifytica@Legion" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||
|
|
1
home/Atlas.nix
Normal file
1
home/Atlas.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{...}: {imports = [./default.nix];}
|
|
@ -1,3 +1 @@
|
|||
{...}: {
|
||||
imports = [./default.nix];
|
||||
}
|
||||
{...}: {imports = [./default.nix];}
|
||||
|
|
Reference in a new issue