1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/flake.nix

59 lines
1.7 KiB
Nix
Raw Normal View History

2023-12-06 10:21:07 +01:00
{
2024-01-09 15:46:18 +01:00
description = "emilys config hell";
2023-12-06 10:21:07 +01:00
inputs = {
2024-01-10 13:50:25 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2023-12-06 10:21:07 +01:00
nixos-hardware.url = "github:nixos/nixos-hardware";
2024-01-11 12:43:58 +01:00
fernglas.url = "github:wobcom/fernglas";
2024-01-12 15:11:33 +01:00
kyouma-www.url = "git+ssh://git@git.bsd.gay/snaki/kyouma-net.git";
2024-02-05 22:22:40 +01:00
secrix.url = "github:Platonic-Systems/secrix";
2024-02-14 21:40:07 +01:00
stylix.url = "github:danth/stylix";
2024-02-26 20:06:58 +01:00
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-02-05 22:22:40 +01:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-02-14 19:42:25 +01:00
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-06 10:21:07 +01:00
};
2024-02-14 19:42:25 +01:00
outputs = { self, nixpkgs, secrix, ... }@inputs: {
2024-01-16 20:03:30 +01:00
colmena = {
meta = {
allowApplyAll = false;
2024-01-17 14:34:33 +01:00
nixpkgs = nixpkgs.legacyPackages.x86_64-linux;
2024-01-16 20:03:30 +01:00
specialArgs = { inherit inputs; };
};
2024-01-17 14:34:33 +01:00
web-dus = {
imports = [ ./config/hosts/web-dus/configuration.nix ];
2024-01-09 15:46:18 +01:00
};
2024-01-17 14:34:33 +01:00
crime = {
imports = [ ./config/hosts/crime/configuration.nix ];
2024-01-16 20:03:30 +01:00
};
2024-02-05 22:22:40 +01:00
ryuuko = {
2024-02-14 21:40:07 +01:00
imports = [ ./config/hosts/ryuuko/configuration.nix ];
2024-02-05 22:22:40 +01:00
};
2024-01-17 14:34:33 +01:00
};
2024-02-26 20:20:03 +01:00
nixosConfigurations = {
2024-02-26 20:06:58 +01:00
ryuuko = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
2024-02-26 20:20:03 +01:00
./config/hosts/base/configuration.nix
2024-02-26 20:06:58 +01:00
./config/hosts/ryuuko/disko.nix
];
};
};
2024-02-05 22:22:40 +01:00
apps.x86_64-linux.secrix = inputs.secrix.secrix self;
2024-01-17 14:34:33 +01:00
devShells.x86_64-linux.default = let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in pkgs.mkShell {
packages = [ pkgs.colmena ];
};
2023-12-06 10:21:07 +01:00
};
}