2024-02-27 03:43:43 +00:00
|
|
|
{
|
|
|
|
description = "Torjus nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
2024-03-04 03:24:34 +00:00
|
|
|
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11";
|
2024-03-04 22:59:28 +00:00
|
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
2024-02-27 08:58:20 +00:00
|
|
|
home-manager = {
|
2024-03-04 07:14:08 +00:00
|
|
|
url = "github:nix-community/home-manager?ref=release-23.11";
|
2024-02-27 08:58:20 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-02-27 03:43:43 +00:00
|
|
|
};
|
|
|
|
|
2024-03-04 22:59:28 +00:00
|
|
|
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@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-03-04 22:59:28 +00:00
|
|
|
overlay-unstable = final: prev: {
|
|
|
|
unstable = import nixpkgs-unstable {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
};
|
2024-02-27 21:48:45 +00:00
|
|
|
in
|
|
|
|
{
|
2024-03-01 08:44:34 +00:00
|
|
|
nixosConfigurations = {
|
|
|
|
prismo = nixpkgs.lib.nixosSystem {
|
2024-03-04 22:59:28 +00:00
|
|
|
inherit system;
|
2024-03-01 08:44:34 +00:00
|
|
|
specialArgs = { inherit inputs self user; };
|
|
|
|
modules = [ ./hosts/prismo ];
|
|
|
|
};
|
|
|
|
magicman = nixpkgs.lib.nixosSystem {
|
2024-03-04 22:59:28 +00:00
|
|
|
inherit system;
|
2024-03-01 08:44:34 +00:00
|
|
|
specialArgs = { inherit inputs self user; };
|
|
|
|
modules = [ ./hosts/magicman ];
|
|
|
|
};
|
2024-03-01 09:00:40 +00:00
|
|
|
gunter = nixpkgs.lib.nixosSystem {
|
2024-03-04 22:59:28 +00:00
|
|
|
inherit system;
|
2024-03-01 09:00:40 +00:00
|
|
|
specialArgs = { inherit inputs self user; };
|
2024-03-04 22:59:28 +00:00
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
./hosts/gunter
|
|
|
|
];
|
2024-03-01 09:00:40 +00:00
|
|
|
};
|
2024-02-27 08:47:30 +00:00
|
|
|
};
|
2024-02-27 21:20:00 +00:00
|
|
|
};
|
2024-02-27 03:43:43 +00:00
|
|
|
}
|