start trying to theme with base16.nix

This commit is contained in:
lucy 2026-08-31 12:01:06 +02:00
commit 5af33d365d
3 changed files with 94 additions and 23 deletions

View file

@ -3,26 +3,41 @@
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";
flake = false;
};
};
outputs = { self, nixpkgs, wrappers, flake-parts, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } ({config, ...}: {
systems = [ "x86_64-linux" ];
imports = [
wrappers.flakeModules.wrappers
./modules/programs/emacs/emacs.nix
];
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./modules/hosts/nerv/configuration.nix
config.flake.wrappers.emacs.install
{ wrappers.emacs.enable = true; }
];
};
});
outputs =
{
self,
nixpkgs,
wrappers,
flake-parts,
base16,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } (
{ config, ... }: {
systems = [ "x86_64-linux" ];
imports = [
wrappers.flakeModules.wrappers
./modules/programs/emacs/emacs.nix
];
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
base16.nixosModule
{ scheme = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml"; }
./modules/hosts/nerv/configuration.nix
config.flake.wrappers.emacs.install
{ wrappers.emacs.enable = true; }
];
};
}
);
}