Use common module
Remove shelvacu's flake from inputs Remove sm64coopdx
This commit is contained in:
parent
cae6d2cb09
commit
e6ad5687d0
3 changed files with 83 additions and 1980 deletions
22
flake.nix
22
flake.nix
|
|
@ -3,17 +3,21 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
shelvacu.url = "git+https://git.uninsane.org/shelvacu/nix-stuff";
|
||||
phps.url = "github:fossar/nix-phps";
|
||||
phps = {
|
||||
url = "github:fossar/nix-phps";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
common.url = "git+https://git.uninsane.org/nettika/nettika-common";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let secrets = builtins.fromJSON (builtins.readFile ./secrets.json);
|
||||
in {
|
||||
nixosConfigurations.marauder = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./configuration.nix ];
|
||||
specialArgs = { inherit self inputs secrets; };
|
||||
outputs = { nixpkgs, phps, common, ... }: {
|
||||
nixosConfigurations.marauder = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./configuration.nix common.nixosModule ];
|
||||
specialArgs = {
|
||||
inherit phps;
|
||||
secrets = builtins.fromJSON (builtins.readFile ./secrets.json);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue