nixos/flake.nix

84 lines
2.3 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";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-03-12 05:46:32 +00:00
iosevka-custom.url = "git+https://git.xenia.me.uk/pixelifytica/iosevka.git";
base16.url = "github:SenchoPens/base16.nix";
tt-schemes = {
url = "github:tinted-theming/schemes";
flake = false;
};
};
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
}