2023-11-30 00:49:32 -06:00
|
|
|
{
|
|
|
|
description = "Price Hiller's home manager configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
2024-02-13 12:31:59 -06:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2024-02-07 11:37:41 -06:00
|
|
|
kanagawa-gtk = {
|
|
|
|
url = "path:./pkgs/kanagawa-gtk";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
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";
|
|
|
|
};
|
2024-02-13 09:29:46 -06:00
|
|
|
waybar = {
|
|
|
|
url = "github:Alexays/Waybar";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-30 00:49:32 -06:00
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
2024-01-16 16:44:43 -06:00
|
|
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
2024-02-02 11:59:15 -06:00
|
|
|
wezterm = {
|
|
|
|
url = "github:wez/wezterm?dir=nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-02-29 02:07:22 -06:00
|
|
|
nixgl.url = "github:guibou/nixGL";
|
2023-11-30 00:49:32 -06:00
|
|
|
};
|
|
|
|
|
2024-02-17 16:47:54 -06:00
|
|
|
outputs = inputs@{ self, home-manager, nixpkgs, ... }:
|
2023-11-30 00:49:32 -06:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
username = "sam";
|
2024-02-04 22:26:55 -06:00
|
|
|
in {
|
2023-11-30 00:49:32 -06:00
|
|
|
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
|
2024-02-13 09:29:46 -06:00
|
|
|
targets.genericLinux = { enable = true; };
|
2024-02-04 22:26:55 -06:00
|
|
|
homeConfigurations.${username} =
|
2024-03-07 15:52:07 -06:00
|
|
|
home-manager.lib.homeManagerConfiguration {
|
2024-02-04 22:26:55 -06:00
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-02-19 01:12:49 -06:00
|
|
|
extraSpecialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
inherit self;
|
|
|
|
};
|
2024-02-04 22:26:55 -06:00
|
|
|
modules = [
|
|
|
|
({
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
inputs.neovim-nightly-overlay.overlay
|
|
|
|
inputs.emacs-overlay.overlays.emacs
|
|
|
|
inputs.bob.overlays.default
|
2024-02-07 11:37:41 -06:00
|
|
|
inputs.kanagawa-gtk.overlays.default
|
2024-02-29 02:07:22 -06:00
|
|
|
inputs.nixgl.overlay
|
2024-02-07 11:37:41 -06:00
|
|
|
(final: prev: {
|
2024-02-13 09:29:46 -06:00
|
|
|
waybar = inputs.waybar.packages.${system}.default;
|
2024-02-04 22:26:55 -06:00
|
|
|
lxappearance = prev.lxappearance.overrideAttrs (oldAttrs: {
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
|
|
|
|
'';
|
2023-12-01 02:28:40 -06:00
|
|
|
});
|
2024-02-04 22:26:55 -06:00
|
|
|
opensnitch-ui = prev.opensnitch-ui.overrideAttrs
|
2024-03-07 15:52:07 -06:00
|
|
|
(oldAttrs: {
|
2024-02-04 22:26:55 -06:00
|
|
|
propagatedBuildInputs = oldAttrs.propagatedBuildInputs
|
|
|
|
++ [ prev.python311Packages.qt-material ];
|
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
|
|
|
home = {
|
|
|
|
username = "${username}";
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
./config
|
|
|
|
];
|
|
|
|
};
|
2024-03-07 15:52:07 -06:00
|
|
|
};
|
2023-11-30 00:49:32 -06:00
|
|
|
}
|