nixos/flake.nix

75 lines
2 KiB
Nix
Raw Permalink Normal View History

2023-06-21 17:41:35 +01:00
{
description = "Evie's machine configurations";
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=" ];
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
iosevka-custom.url = "git+https://git.xenia.me.uk/pixelifytica/iosevka.git";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix/release-24.05";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
};
2023-06-21 17:41:35 +01:00
2024-07-30 15:06:34 +01:00
outputs =
inputs@{ nixpkgs, ... }:
2024-07-30 15:06:34 +01:00
{
nixosConfigurations = {
## Server
Legion = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
2024-07-30 15:06:34 +01:00
username = "pixelifytica";
hostName = "Legion";
};
modules = [ ./system/default.nix ];
};
2024-07-30 15:06:34 +01:00
## Personal
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
};
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
};
modules = [ ./system/default.nix ];
};
2024-07-30 15:06:34 +01:00
## Work
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
};
modules = [ ./system/default.nix ];
};
Ronin = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
2024-07-30 15:06:34 +01:00
username = "elitherl";
2024-08-04 10:49:21 +01:00
hostName = "Ronin";
2024-07-30 15:06:34 +01:00
};
modules = [ ./system/default.nix ];
};
2024-07-30 15:06:34 +01:00
};
};
2023-06-21 17:41:35 +01:00
}