nixos/flake.nix

59 lines
1.4 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 = {
2024-05-13 11:53:31 -04:00
# 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";
};
2024-05-17 07:48:51 -04:00
solaar = {
url = "github:Svenum/Solaar-Flake/latest";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-05-05 18:43:02 -04:00
};
2024-05-16 12:50:16 -04:00
outputs = { self, nixpkgs, lix-module, solaar, ... }@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";
};
in
{
nixosConfigurations = {
kim = import ./hosts/kim {
inherit inputs globals overlays;
};
};
homeConfigurations = {
kim = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
2024-05-05 18:43:02 -04:00
};
};
}