2024-02-27 03:43:43 +00:00
|
|
|
{
|
|
|
|
description = "Torjus nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
2024-02-27 08:58:20 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-02-27 03:43:43 +00:00
|
|
|
};
|
|
|
|
|
2024-02-27 21:20:00 +00:00
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
2024-02-27 08:47:30 +00:00
|
|
|
let
|
2024-02-27 03:43:43 +00:00
|
|
|
system = "x86_64-linux";
|
2024-02-27 08:47:30 +00:00
|
|
|
user = "torjus";
|
2024-02-27 21:48:45 +00:00
|
|
|
in
|
|
|
|
{
|
2024-02-27 08:47:30 +00:00
|
|
|
nixosConfigurations.prismo = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs self user; };
|
2024-02-27 21:20:00 +00:00
|
|
|
modules = [ ./hosts/prismo ];
|
2024-02-27 08:47:30 +00:00
|
|
|
};
|
2024-02-27 21:20:00 +00:00
|
|
|
};
|
2024-02-27 03:43:43 +00:00
|
|
|
}
|