2024-10-05 12:33:04 -07:00
|
|
|
{
|
|
|
|
description = "Home Manager configuration of joey@joey-desktop";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
stylix = {
|
|
|
|
url = "github:danth/stylix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
nixgl.url = "github:nix-community/nixGL";
|
|
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
|
|
|
plasma-manager = {
|
|
|
|
url = "github:nix-community/plasma-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.home-manager.follows = "home-manager";
|
|
|
|
};
|
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-10-08 17:03:13 -07:00
|
|
|
deploy-rs.url = "github:serokell/deploy-rs";
|
2024-10-05 12:33:04 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ nixpkgs, nixpkgs-unstable, home-manager, nixgl, plasma-manager, ... }:
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
system = system;
|
|
|
|
overlays = [ nixgl.overlay ];
|
|
|
|
config = { allowUnfreePredicate = (_: true); };
|
|
|
|
};
|
|
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
|
|
system = system;
|
|
|
|
overlays = [ nixgl.overlay ];
|
|
|
|
config = { allowUnfreePredicate = (_: true); };
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
homeConfigurations."joey" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
modules = [
|
|
|
|
./home.nix
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
inputs.stylix.homeManagerModules.stylix
|
|
|
|
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
|
|
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
|
|
|
];
|
2024-11-01 13:08:55 -07:00
|
|
|
extraSpecialArgs = { inherit pkgs pkgs-unstable inputs vars; };
|
2024-10-05 12:33:04 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|