this commit adds all defined hosts to flake.nix, todo currently stands at: migrating some submodules for the base configs from the 2 repos, e.g firewall and udev, and setting up home manager to use e.g proper waybar configs per user. very close to usable now!

This commit is contained in:
cydiralis 2025-06-25 17:18:47 +01:00
parent 2a4af3bd83
commit 7b44141da2
No known key found for this signature in database
2 changed files with 133 additions and 3 deletions

View file

@ -3,9 +3,9 @@
./configuration.nix
../overrides.nix
../ssh.nix
../firewall.nix
# ../firewall.nix
../substituters.nix
../fonts.nix
../udev.nix
# ../udev.nix
];
}

132
flake.nix
View file

@ -41,6 +41,27 @@
}
];
};
nixosConfigurations."adventurer" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./base/adventurer
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
isNixOS = true;
isTough = false;
class = "lowspec";
user = "maya";
useSyncthing = true;
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.maya = ./home;
}
];
};
nixosConfigurations."apollo" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
@ -63,5 +84,114 @@
}
];
};
nixosConfigurations."callisto" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./base/callisto
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
isNixOS = true;
isTough = false;
class = "desktop";
user = "maya";
useSyncthing = true;
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.maya = ./home;
}
];
};
nixosConfigurations."hassie" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./base/Katara
home-manager.nixosModules.home-manager {
#imports = [ inputs.nix-index-database.hmModules.nix-index ];
home-manager.backupFileExtension = "hm-backup";
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
isNixOS = true;
isTough = true;
class = "laptop";
user = "alyx"; #cursed way of setting username
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.alyx = ./home;
}
];
};
nixosConfigurations."hypermac" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./base/hypermac
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
isNixOS = true;
class = "lowspec";
user = "maya";
useSyncthing = true;
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.maya = ./home;
}
];
};
nixosConfigurations."patio" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./base/Ishima
nixpkgs-xr.nixosModules.nixpkgs-xr
jovian.nixosModules.jovian
home-manager.nixosModules.home-manager {
home-manager.backupFileExtension = "hm-backup";
#imports = [ inputs.nix-index-database.hmModules.nix-index ];
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
isNixOS = true;
isTough = false;
class = "handheld";
user = "alyx"; #cursed way of setting username
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.alyx = ./home;
}
];
};
nixosConfigurations."Umbriel" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./base/Umbriel
home-manager.nixosModules.home-manager {
#imports = [ inputs.nix-index-database.hmModules.nix-index ];
home-manager.backupFileExtension = "hm-backup";
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
isNixOS = true;
isTough = false;
class = "laptop";
user = "alyx"; #cursed way of setting username
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.alyx = ./home;
}
];
};
};
}
}