2023-11-30 00:49:32 -06:00
|
|
|
{
|
|
|
|
description = "Price Hiller's home manager configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
2024-01-06 00:39:19 -06:00
|
|
|
bob = {
|
|
|
|
url = "path:./pkgs/bob-nvim";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-30 00:49:32 -06:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
};
|
|
|
|
|
2024-01-06 00:39:19 -06:00
|
|
|
outputs = inputs @ { home-manager, bob, nixpkgs, ... }:
|
2023-11-30 00:49:32 -06:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
username = "sam";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
|
|
|
|
targets.genericLinux.enable = true;
|
|
|
|
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-01-06 00:39:19 -06:00
|
|
|
extraSpecialArgs = {
|
|
|
|
inherit bob;
|
|
|
|
};
|
2023-11-30 00:49:32 -06:00
|
|
|
modules = [
|
|
|
|
({
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
inputs.neovim-nightly-overlay.overlay
|
2023-12-01 02:28:40 -06:00
|
|
|
(self: super: {
|
|
|
|
kanagawa-gtk-theme = super.callPackage ./pkgs/kanagawa-gtk { };
|
|
|
|
lxappearance = super.lxappearance.overrideAttrs (oldAttrs: {
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
opensnitch-ui = super.opensnitch-ui.overrideAttrs
|
|
|
|
(oldAttrs: rec {
|
|
|
|
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [
|
|
|
|
super.python311Packages.qt-material
|
|
|
|
];
|
|
|
|
});
|
|
|
|
})
|
2023-11-30 00:49:32 -06:00
|
|
|
];
|
|
|
|
home = {
|
|
|
|
username = "${username}";
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
./config
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|