nixos/flake.nix
2024-03-04 08:14:08 +01:00

38 lines
1.0 KiB
Nix

{
description = "Torjus nixos config flake";
inputs = {
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11";
home-manager = {
url = "github:nix-community/home-manager?ref=release-23.11";
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 ];
};
magicman = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs self user; };
modules = [ ./hosts/magicman ];
};
gunter = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs self user; };
modules = [ ./hosts/gunter ];
};
};
};
}