Add a dummy/fallback entry if hostname doesn't match

This commit is contained in:
Evie Litherland-Smith 2024-05-12 16:02:10 +01:00
parent 94bd059ab6
commit 242da6ca5f
3 changed files with 14 additions and 3 deletions

View file

@ -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
View file

@ -0,0 +1 @@
{...}: {imports = [./default.nix];}

View file

@ -1,3 +1 @@
{...}: {
imports = [./default.nix];
}
{...}: {imports = [./default.nix];}