Restructuring
This commit is contained in:
@@ -3,23 +3,24 @@
|
||||
stable.url = "github:nixos/nixpkgs/nixos-20.09";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
outputs = inputs@{self, nixpkgs, stable, flake-utils,... }:
|
||||
outputs = inputs@{self, nixpkgs, stable,... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
overlays = {
|
||||
overridesandshit = import ./overlays/overridesandshit.nix;
|
||||
packages = import ./overlays/packages.nix;
|
||||
};
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
overlays = builtins.attrValues self.overlays;
|
||||
};
|
||||
nixosConfigurations.nixchod = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.Satori = nixpkgs.lib.nixosSystem {
|
||||
system = "${system}";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./Satori/configuration.nix
|
||||
{ nixpkgs.pkgs = self.pkgs; }
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user