28 lines
662 B
Nix
28 lines
662 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
"nixpkgs-23.05".url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@attrs: {
|
|
nixosConfigurations."egirls" = nixpkgs.lib.nixosSystem rec {
|
|
system = "x86_64-linux";
|
|
pkgs = let
|
|
cfg = {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
in import nixpkgs cfg;
|
|
|
|
specialArgs = attrs;
|
|
modules = [
|
|
./configuration.nix
|
|
|
|
# set nix shell nixpkgs to flake nixpkgs
|
|
({ config, pkgs, options, ... }: {
|
|
nix.registry.nixpkgs.flake = nixpkgs;
|
|
})
|
|
];
|
|
};
|
|
};
|
|
}
|