mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 14:35:30 -05:00
62 lines
1.6 KiB
Nix
62 lines
1.6 KiB
Nix
{
|
|
description = "Lix/Auxolotl config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:auxolotl/nixpkgs/nixos-unstable";
|
|
|
|
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";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
};
|
|
|
|
catppuccin-vsc = {
|
|
url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz";
|
|
};
|
|
|
|
# solaar = {
|
|
# url = "github:Svenum/Solaar-Flake/latest";
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
# };
|
|
};
|
|
|
|
outputs = { self, nixpkgs, lix-module, ... }@inputs:
|
|
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 rec
|
|
{
|
|
nixosConfigurations = {
|
|
kim = import ./hosts/kim {
|
|
inherit inputs globals;
|
|
};
|
|
virt-nix = import ./hosts/virt-nix {
|
|
inherit inputs globals;
|
|
};
|
|
};
|
|
|
|
homeConfigurations = {
|
|
kim = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
|
|
virt-nix = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
|
|
};
|
|
};
|
|
}
|