start trying to theme with base16.nix
This commit is contained in:
parent
69ad8d41af
commit
5af33d365d
3 changed files with 94 additions and 23 deletions
55
flake.nix
55
flake.nix
|
|
@ -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; }
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue