2023-06-21 17:41:35 +01:00
|
|
|
{
|
2023-06-21 20:49:28 +01:00
|
|
|
description = "Evie's machine configurations";
|
|
|
|
|
2024-03-02 16:57:02 +00:00
|
|
|
nixConfig = {
|
2024-07-30 15:06:34 +01:00
|
|
|
extra-substituters = [ "https://nix.xenia.me.uk" ];
|
|
|
|
extra-trusted-public-keys = [ "nix.xenia.me.uk:tlgwOaG5KMLjQUk2YaErS8mAG69ZCr3PaHXZYi+Y5eI=" ];
|
2024-03-02 16:57:02 +00:00
|
|
|
};
|
|
|
|
|
2023-06-21 20:49:28 +01:00
|
|
|
inputs = {
|
2024-12-07 07:17:46 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
2024-12-12 07:26:01 +00:00
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
2024-07-03 07:15:39 +01:00
|
|
|
home-manager = {
|
2024-12-07 07:17:46 +00:00
|
|
|
url = "github:nix-community/home-manager/release-24.11";
|
2024-07-03 07:15:39 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-09-19 08:05:48 +01:00
|
|
|
stylix = {
|
2024-12-07 07:17:46 +00:00
|
|
|
url = "github:danth/stylix/release-24.11";
|
2024-07-10 08:27:17 +01:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.follows = "home-manager";
|
|
|
|
};
|
|
|
|
};
|
2023-06-21 20:49:28 +01:00
|
|
|
};
|
2023-06-21 17:41:35 +01:00
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
outputs =
|
2024-12-12 07:26:01 +00:00
|
|
|
inputs@{
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
treefmt-nix,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
treefmt = treefmt-nix.lib.evalModule nixpkgs.legacyPackages.x86_64-linux ./treefmt.nix;
|
|
|
|
in
|
2024-07-30 15:06:34 +01:00
|
|
|
{
|
2024-12-12 07:26:01 +00:00
|
|
|
formatter.x86_64-linux = treefmt.config.build.wrapper;
|
|
|
|
checks.x86_64-linux.formatting = treefmt.config.build.check self;
|
2024-07-30 15:06:34 +01:00
|
|
|
nixosConfigurations = {
|
|
|
|
## Server
|
2024-08-30 12:57:02 +01:00
|
|
|
Legion = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
2024-07-30 15:06:34 +01:00
|
|
|
username = "pixelifytica";
|
|
|
|
hostName = "Legion";
|
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
modules = [ ./system/default.nix ];
|
|
|
|
};
|
2024-07-30 15:06:34 +01:00
|
|
|
## Personal
|
2024-08-30 12:57:02 +01:00
|
|
|
Vanguard = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
2024-07-30 15:06:34 +01:00
|
|
|
username = "pixelifytica";
|
2024-08-04 10:49:21 +01:00
|
|
|
hostName = "Vanguard";
|
2024-07-30 15:06:34 +01:00
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
modules = [ ./system/default.nix ];
|
|
|
|
};
|
|
|
|
Northstar = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
2024-07-30 15:06:34 +01:00
|
|
|
username = "pixelifytica";
|
2024-08-04 10:49:21 +01:00
|
|
|
hostName = "Northstar";
|
2024-07-30 15:06:34 +01:00
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
modules = [ ./system/default.nix ];
|
|
|
|
};
|
2024-07-30 15:06:34 +01:00
|
|
|
## Work
|
2024-08-30 12:57:02 +01:00
|
|
|
Tone = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
2024-07-30 15:06:34 +01:00
|
|
|
username = "elitherl";
|
2024-08-04 10:50:23 +01:00
|
|
|
hostName = "Tone";
|
2024-07-30 15:06:34 +01:00
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
modules = [ ./system/default.nix ];
|
|
|
|
};
|
2024-12-06 11:24:41 +00:00
|
|
|
Monarch = nixpkgs.lib.nixosSystem {
|
2024-08-30 12:57:02 +01:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
2024-07-30 15:06:34 +01:00
|
|
|
username = "elitherl";
|
2024-12-06 11:24:41 +00:00
|
|
|
hostName = "Monarch";
|
2024-07-30 15:06:34 +01:00
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
modules = [ ./system/default.nix ];
|
|
|
|
};
|
2024-07-30 15:06:34 +01:00
|
|
|
};
|
2023-06-21 20:49:28 +01:00
|
|
|
};
|
2023-06-21 17:41:35 +01:00
|
|
|
}
|