nixos/flake.nix

28 lines
615 B
Nix
Raw Normal View History

2024-02-26 07:33:11 +00:00
{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
2024-02-27 13:59:32 +00:00
nixosConfigurations.snowhawk = nixpkgs.lib.nixosSystem {
2024-02-26 09:14:08 +00:00
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
inputs.home-manager.nixosModules.default
];
};
2024-02-26 07:33:11 +00:00
};
}