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: {
|
||||
nixosConfigurations = {
|
||||
ioides = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations =
|
||||
let
|
||||
system = hostname: {
|
||||
name = hostname;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/ioides/configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
qemu = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/qemu/configuration.nix
|
||||
./hosts/${hostname}/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
in builtins.listToAttrs [
|
||||
(system "ioides")
|
||||
(system "qemu")
|
||||
];
|
||||
|
||||
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
|
Loading…
Reference in a new issue