mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-30 22:53:37 +00:00
~
This commit is contained in:
parent
ba7685dc06
commit
da129c4dc0
1 changed files with 16 additions and 17 deletions
|
@ -21,23 +21,22 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations =
|
||||||
ioides = nixpkgs.lib.nixosSystem {
|
let
|
||||||
system = "x86_64-linux";
|
system = hostname: {
|
||||||
specialArgs = { inherit inputs; };
|
name = hostname;
|
||||||
modules = [
|
value = nixpkgs.lib.nixosSystem {
|
||||||
./hosts/ioides/configuration.nix
|
system = "x86_64-linux";
|
||||||
];
|
specialArgs = { inherit inputs; };
|
||||||
};
|
modules = [
|
||||||
|
./hosts/${hostname}/configuration.nix
|
||||||
qemu = nixpkgs.lib.nixosSystem {
|
];
|
||||||
system = "x86_64-linux";
|
};
|
||||||
specialArgs = { inherit inputs; };
|
};
|
||||||
modules = [
|
in builtins.listToAttrs [
|
||||||
./hosts/qemu/configuration.nix
|
(system "ioides")
|
||||||
];
|
(system "qemu")
|
||||||
};
|
];
|
||||||
};
|
|
||||||
|
|
||||||
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
|
Loading…
Reference in a new issue