get this nix shit out of here
This commit is contained in:
parent
fa64a48900
commit
15e2687aae
6 changed files with 108 additions and 153 deletions
36
flake.nix
36
flake.nix
|
|
@ -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
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue