nixos/flake.nix

26 lines
581 B
Nix

{
description = "Torjus nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
user = "torjus";
in {
nixosConfigurations.prismo = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs self user; };
modules = [
./hosts/prismo
];
};
};
}