Add Oni System to configuration

This commit is contained in:
jopejoe1 2023-02-22 13:01:05 +01:00
parent ee94a8032b
commit 98daf2ed7c
4 changed files with 104 additions and 3 deletions

View file

@ -28,9 +28,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-hardware, prismlauncher, home-manager, nur, ... }: {
outputs = { self, nixpkgs, nixos-hardware, prismlauncher, home-manager, nur, ... }@attrs: {
nixosConfigurations.yokai = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = attrs;
modules = [
./yokai.nix
./common.nix
@ -54,5 +55,30 @@
}
];
};
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./oni.nix
./common.nix
home-manager.nixosModules.home-manager
nur.nixosModules.nur
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.jopejoe1 = import ./home/jopejoe1.nix;
users.root = import ./home/root.nix;
};
nixpkgs = {
config.allowUnfree = true;
overlays = [
prismlauncher.overlay
nur.overlay
];
};
}
];
};
};
}