2024-05-05 18:43:02 -04:00
|
|
|
{
|
2024-05-13 20:47:46 -04:00
|
|
|
description = "Lix/Auxolotl config flake";
|
2024-05-05 18:43:02 -04:00
|
|
|
|
|
|
|
|
inputs = {
|
2024-05-26 21:25:51 -04:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-05-05 18:43:02 -04:00
|
|
|
|
2024-05-17 07:48:51 -04:00
|
|
|
lix = {
|
2024-08-09 20:15:54 -04:00
|
|
|
url = "git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90.0";
|
2024-05-17 07:48:51 -04:00
|
|
|
flake = false;
|
|
|
|
|
};
|
|
|
|
|
lix-module = {
|
|
|
|
|
url = "git+https://git.lix.systems/lix-project/nixos-module";
|
|
|
|
|
inputs.lix.follows = "lix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2024-05-13 11:42:34 -04:00
|
|
|
|
2024-05-05 18:43:02 -04:00
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2024-05-12 09:33:04 -04:00
|
|
|
|
2024-05-17 07:48:51 -04:00
|
|
|
sops-nix = {
|
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
|
};
|
2024-05-13 20:47:46 -04:00
|
|
|
|
2024-05-17 07:48:51 -04:00
|
|
|
catppuccin-vsc = {
|
|
|
|
|
url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz";
|
|
|
|
|
};
|
2024-05-16 12:47:19 -04:00
|
|
|
|
2024-05-25 09:20:38 -04:00
|
|
|
# solaar = {
|
|
|
|
|
# url = "github:Svenum/Solaar-Flake/latest";
|
|
|
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
# };
|
2024-05-05 18:43:02 -04:00
|
|
|
};
|
|
|
|
|
|
2024-05-17 08:04:19 -04:00
|
|
|
outputs = { self, nixpkgs, lix-module, ... }@inputs:
|
2024-05-17 07:48:51 -04:00
|
|
|
let
|
|
|
|
|
system = "x86_64";
|
|
|
|
|
globals = rec {
|
|
|
|
|
user = "annika";
|
|
|
|
|
fullName = "Annika Merris";
|
|
|
|
|
gitName = fullName;
|
|
|
|
|
gitEmail = "me@annikamerris.com";
|
2024-05-17 08:04:19 -04:00
|
|
|
# nixfilesRepo = "ssh://git@forgejo.local.merr.is:2222/annika/nixos2.git";
|
2024-05-17 07:48:51 -04:00
|
|
|
};
|
2024-05-25 09:20:38 -04:00
|
|
|
in
|
|
|
|
|
rec
|
2024-05-17 07:48:51 -04:00
|
|
|
{
|
2024-05-25 09:20:38 -04:00
|
|
|
nix.settings.extra-substituters = [
|
|
|
|
|
"https://cache.lix.systems"
|
2024-08-09 20:11:51 -04:00
|
|
|
"https://cache.nix.org"
|
2024-05-25 09:20:38 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
nix.settings.trusted-public-keys = [
|
|
|
|
|
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
|
|
|
|
];
|
2024-05-17 07:48:51 -04:00
|
|
|
nixosConfigurations = {
|
|
|
|
|
kim = import ./hosts/kim {
|
2024-05-17 08:04:19 -04:00
|
|
|
inherit inputs globals;
|
|
|
|
|
};
|
2024-05-25 09:15:29 -04:00
|
|
|
envy = import ./hosts/envy {
|
|
|
|
|
inherit inputs globals;
|
|
|
|
|
};
|
2024-05-17 08:04:19 -04:00
|
|
|
virt-nix = import ./hosts/virt-nix {
|
|
|
|
|
inherit inputs globals;
|
2024-05-17 07:48:51 -04:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-17 08:04:19 -04:00
|
|
|
homeConfigurations = {
|
|
|
|
|
kim = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
|
2024-05-25 09:15:29 -04:00
|
|
|
envy = nixosConfigurations.envy.config.home-manager.users.${globals.user}.home;
|
|
|
|
|
virt-nix = nixosConfigurations.virt-nix.config.home-manager.users.${globals.user}.home;
|
2024-05-17 08:04:19 -04:00
|
|
|
};
|
2024-05-05 18:43:02 -04:00
|
|
|
};
|
|
|
|
|
}
|