refactor: move to a multi-machine configuration
This commit is contained in:
parent
ded2acef35
commit
7d42651c1c
6 changed files with 123 additions and 62 deletions
|
|
@ -49,10 +49,32 @@
|
|||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.void = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./void.nix
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.khais = ./home.nix;
|
||||
extraSpecialArgs = {
|
||||
nixvim = nixvim.packages.${system}.default;
|
||||
river-shifttags = river-shifttags.packages.${system}.default;
|
||||
breezex-cursor = breezex-cursor.packages.${system}.default;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
stylix.nixosModules.stylix
|
||||
./stylix.nix
|
||||
];
|
||||
};
|
||||
nixosConfigurations.t470 = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./t470.nix
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue