mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-10 11:42:06 -05:00
96 lines
2.6 KiB
Nix
96 lines
2.6 KiB
Nix
{
|
|
description = "Lix/Auxolotl config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
lix-module = {
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz";
|
|
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";
|
|
};
|
|
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# 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
|
|
{
|
|
nix = {
|
|
settings = {
|
|
extra-substituters = [
|
|
"https://cache.lix.systems"
|
|
"https://cache.nix.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
|
];
|
|
};
|
|
gc = {
|
|
automatic = true;
|
|
randomizedDelaySec = "14m";
|
|
options = "--delete-order-than 10d";
|
|
};
|
|
};
|
|
|
|
nixosConfigurations = {
|
|
kim = import ./hosts/kim {
|
|
inherit inputs globals;
|
|
};
|
|
envy = import ./hosts/envy {
|
|
inherit inputs globals;
|
|
};
|
|
parents = import ./hosts/parents {
|
|
inherit inputs globals;
|
|
};
|
|
virt-nix = import ./hosts/virt-nix {
|
|
inherit inputs globals;
|
|
};
|
|
steven = import ./hosts/steven {
|
|
inherit inputs globals;
|
|
};
|
|
};
|
|
|
|
homeConfigurations = {
|
|
kim = nixosConfigurations.kim.config.home-manager.users.${globals.user}.home;
|
|
envy = nixosConfigurations.envy.config.home-manager.users.${globals.user}.home;
|
|
parents = nixosConfigurations.parents.config.home-manager.users.${globals.user}.home;
|
|
virt-nix = nixosConfigurations.virt-nix.config.home-manager.users.${globals.user}.home;
|
|
steven = nixosConfigurations.virt-nix.config.home-manager.users.${globals.user}.home;
|
|
};
|
|
|
|
permittedInsecurePackages = [
|
|
"jitsi-meet-1.0.8043"
|
|
];
|
|
};
|
|
}
|