nix-config/example/configuration.nix
Donovan Glover 6348c26aae
meta: Drop hycov for now
hycov is being updated again, which is cool, but I couldn't make the
latest version work with the hyprland overlay I'm currently using, and
I'd rather not have to worry about all the additional inputs from the
hyprland flake.

Overall I recall using it a lot at first, but then rarely if ever as
time went on. Once 0.39.1 gets merged into nixos-unstable, it will be
interesting to see how hyprexpo compares to hycov.
2024-04-17 11:38:34 -04:00

40 lines
975 B
Nix

{ nix-config, pkgs, lib, ... }:
let
inherit (lib) singleton;
inherit (builtins) attrValues;
in
{
imports = attrValues {
inherit (nix-config.nixosModules) system shell desktop;
customConfig = {
modules.system.username = "asuna";
};
};
home-manager.sharedModules = attrValues nix-config.homeManagerModules ++ singleton {
programs.btop.enable = true;
};
environment.systemPackages = attrValues {
inherit (nix-config.packages.x86_64-linux) fluent-icons osu-backgrounds;
inherit (pkgs) ruby php;
};
nixpkgs.overlays = attrValues {
inherit (nix-config.overlays) kitty;
exampleOverlay = final: prev: {
btop = prev.btop.overrideAttrs (oldAttrs: {
postInstall = (oldAttrs.postInstall or "") + /* bash */ ''
echo "#!/usr/bin/env sh" >> btop-overlay
echo "echo 'hello world'" >> btop-overlay
install -Dm755 btop-overlay $out/bin/btop-overlay
'';
});
};
};
}