get this nix shit out of here

This commit is contained in:
lucy 2026-08-31 16:04:56 +02:00
commit 15e2687aae
6 changed files with 108 additions and 153 deletions

View file

@ -1,8 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
wrappers.url = "github:BirdeeHub/nix-wrapper-modules";
flake-parts.url = "github:hercules-ci/flake-parts";
base16.url = "github:SenchoPens/base16.nix";
tt-schemes = {
url = "github:tinted-theming/schemes";
@ -14,22 +12,32 @@
{
self,
nixpkgs,
wrappers,
flake-parts,
base16,
home-manager,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } (
let
theme = "catppuccin-mocha";
in
{
imports = [
wrappers.flakeModules.wrappers
(import ./hosts.nix { themeName = theme; })
let
theme = "catppuccin-mocha";
in
{
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
base16.nixosModule
{ scheme = "${inputs.tt-schemes}/base16/${theme}.yaml"; }
./modules/hosts/nerv/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
imports = [
./modules/programs/emacs.nix
];
}
];
};
};
}
);
}