mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
Add Oni System to configuration
This commit is contained in:
parent
ee94a8032b
commit
98daf2ed7c
4 changed files with 104 additions and 3 deletions
28
flake.nix
28
flake.nix
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue