Files
nix/flake.nix
2024-07-17 14:15:53 +01:00

73 lines
1.6 KiB
Nix

{
inputs = {
nixpkgs = {
type = "github";
owner = "NixOS";
# owner = "karaolidis";
repo = "nixpkgs";
ref = "master";
# ref = "integration";
# url = "git+file:./submodules/nixpkgs";
};
home-manager = {
type = "github";
# owner = "nix-community"
owner = "karaolidis";
repo = "home-manager";
ref = "integration";
# url = "git+file:./submodules/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence = {
type = "github";
# owner = "nix-community"
owner = "karaolidis";
repo = "impermanence";
ref = "integration";
# url = "git+file:./submodules/impermanence";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
ags = {
url = "github:Aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ self, nixpkgs, ... }@inputs:
{
nixosConfigurations = {
eirene-vm = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
};
system = "x86_64-linux";
modules = [ ./hosts/eirene/vm ];
};
eirene = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
};
system = "x86_64-linux";
modules = [ ./hosts/eirene/base ];
};
};
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}