64 lines
1.6 KiB
Nix
64 lines
1.6 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
base16.url = "github:SenchoPens/base16.nix";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
nixcord.url = "github:4evy/nixcord";
|
|
tt-schemes = {
|
|
url = "github:tinted-theming/schemes";
|
|
flake = false;
|
|
};
|
|
tt-terminal = {
|
|
url = "github:tinted-theming/tinted-terminal";
|
|
flake = false;
|
|
};
|
|
tt-discord = {
|
|
url = "https://git.lucy.rip/lucy/tinted-discord.git";
|
|
flake = false;
|
|
};
|
|
|
|
};
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
base16,
|
|
home-manager,
|
|
nixcord,
|
|
...
|
|
}@inputs:
|
|
{
|
|
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
|
|
# set the theme
|
|
./theme.nix
|
|
({ pkgs, ... }: {
|
|
config.theming.theme = "gruvbox-dark-hard";
|
|
config.theming.font = "Iosevka";
|
|
config.theming.fontPackage = pkgs.iosevka;
|
|
})
|
|
base16.nixosModule
|
|
({ config, ... }: { scheme = "${config.theming.theme}"; })
|
|
|
|
# import nixos & hm configuration
|
|
./modules/hosts/nerv/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.lucy = ./modules/hosts/nerv/home.nix;
|
|
imports = [
|
|
./modules/themeing
|
|
./modules/programs
|
|
|
|
];
|
|
}
|
|
];
|
|
};
|
|
|
|
};
|
|
|
|
}
|