nixos/flake.nix

63 lines
1.6 KiB
Nix
Raw Normal View History

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 = {
nixpkgs.url = "github:auxolotl/nixpkgs/nixos-unstable";
2024-05-05 18:43:02 -04:00
2024-05-17 07:48:51 -04:00
lix = {
url = "git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90-beta.1";
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";
};
# solaar = {
# url = "github:Svenum/Solaar-Flake/latest";
# inputs.nixpkgs.follows = "nixpkgs";
# };
2024-05-05 18:43:02 -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";
# nixfilesRepo = "ssh://git@forgejo.local.merr.is:2222/annika/nixos2.git";
2024-05-17 07:48:51 -04:00
};
in rec
2024-05-17 07:48:51 -04:00
{
nixosConfigurations = {
kim = import ./hosts/kim {
inherit inputs globals;
};
virt-nix = import ./hosts/virt-nix {
inherit inputs globals;
2024-05-17 07:48:51 -04:00
};
};
homeConfigurations = {
kim = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
virt-nix = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
};
2024-05-05 18:43:02 -04:00
};
}