This commit is contained in:
lucy 2026-08-31 13:41:54 +02:00
commit a238dac0ea
8 changed files with 150 additions and 82 deletions

View file

@ -8,7 +8,7 @@
url = "github:tinted-theming/schemes";
flake = false;
};
home-manager.url = "github:nix-community/home-manager";
};
outputs =
{
@ -17,15 +17,16 @@
wrappers,
flake-parts,
base16,
home-manager,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } (
{ config, ... }: {
{ config, pkgs, ... }: {
systems = [ "x86_64-linux" ];
imports = [
wrappers.flakeModules.wrappers
./modules/programs/emacs/emacs.nix
./modules/theme.nix
./modules/programs/emacs/emacs.nix
];
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
@ -35,10 +36,14 @@
./modules/hosts/nerv/configuration.nix
config.flake.wrappers.emacs.install
{ wrappers.emacs.enable = true; }
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.lucy = ./modules/home.nix
}
];
};
}
);
}