45 lines
1,010 B
Nix
45 lines
1,010 B
Nix
{
|
|
description = "asnev's NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:nixos/nixpkgs/nixos-26.05";
|
|
};
|
|
nixpkgs-unstable = {
|
|
url = "github:nixos/nixpkgs/151fa4e8ddfdd8dd25d945ad94ed54a13de9f6e4";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-26.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nvf = {
|
|
url = "github:NotAShelf/nvf";
|
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
|
};
|
|
flake-utils = {
|
|
url = "github:numtide/flake-utils";
|
|
};
|
|
};
|
|
|
|
outputs = inputs @ {
|
|
self,
|
|
nixpkgs,
|
|
nixpkgs-unstable,
|
|
home-manager,
|
|
flake-utils,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
formatter = pkgs.alejandra;
|
|
})
|
|
// {
|
|
nixosConfigurations.phostron = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/phostron
|
|
];
|
|
};
|
|
};
|
|
}
|