2024-11-17 21:20:03 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}:
|
2024-04-21 19:57:10 -04:00
|
|
|
|
2024-05-03 18:49:17 -04:00
|
|
|
let
|
2024-11-17 21:20:03 -05:00
|
|
|
file = import ../../files.nix { inherit config cpkg; };
|
|
|
|
shell = import ../../shell.nix { inherit config pkgs cpkg; };
|
|
|
|
cpkg = import ../../../customPackages { inherit pkgs inputs; };
|
|
|
|
pkgTypes = import ../../pkgs.nix {
|
|
|
|
inherit
|
|
|
|
pkgs
|
|
|
|
config
|
|
|
|
inputs
|
|
|
|
cpkg
|
|
|
|
;
|
|
|
|
};
|
2024-10-02 16:36:52 -04:00
|
|
|
packages = pkgTypes.dev ++ pkgTypes.gui ++ pkgTypes.general ++ pkgTypes.scripts ++ pkgTypes.gaming;
|
2024-05-03 18:49:17 -04:00
|
|
|
in
|
2024-04-21 19:57:10 -04:00
|
|
|
{
|
2024-10-01 21:28:05 -04:00
|
|
|
nixpkgs.config.allowInsecurePredicate = (pkg: true);
|
2024-10-02 17:19:34 -04:00
|
|
|
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
2024-05-29 14:42:02 -04:00
|
|
|
imports = [
|
2024-10-02 16:36:52 -04:00
|
|
|
../homeModules/flameshot.nix
|
|
|
|
../homeModules/arrpc.nix
|
|
|
|
../homeModules/zsh.nix
|
|
|
|
../homeModules/desktopEntries.nix
|
2024-10-02 17:19:34 -04:00
|
|
|
../homeModules/java.nix
|
2024-10-28 19:57:27 -04:00
|
|
|
../homeModules/jetbrains
|
|
|
|
../homeModules/notion.nix
|
2024-10-02 16:36:52 -04:00
|
|
|
./sops.nix
|
2024-10-02 17:19:34 -04:00
|
|
|
./git.nix
|
2024-05-29 14:42:02 -04:00
|
|
|
];
|
2024-05-07 20:23:23 -04:00
|
|
|
|
2024-04-21 19:57:10 -04:00
|
|
|
# Home Manager needs a bit of information about you and the paths it should
|
2024-04-21 21:15:02 -04:00
|
|
|
# nixpkg.config.allowUnfree = true;
|
2024-04-21 19:57:10 -04:00
|
|
|
# manage.
|
|
|
|
home.username = "meyer";
|
|
|
|
home.homeDirectory = "/home/meyer";
|
2024-05-08 22:28:06 -04:00
|
|
|
|
2024-04-21 19:57:10 -04:00
|
|
|
# The home.packages option allows you to install Nix packages into your
|
|
|
|
# environment.
|
2024-10-02 16:36:52 -04:00
|
|
|
home = {
|
2024-10-02 17:19:34 -04:00
|
|
|
inherit packages file;
|
2024-10-02 16:36:52 -04:00
|
|
|
};
|
2024-10-02 17:19:34 -04:00
|
|
|
home.shellAliases = shell.dev.aliases;
|
|
|
|
home.sessionPath = shell.dev.path;
|
|
|
|
home.sessionVariables = shell.dev.env;
|
2024-04-21 19:57:10 -04:00
|
|
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
|
|
# plain files is through 'home.file'.
|
|
|
|
|
|
|
|
# Home Manager can also manage your environment variables through
|
|
|
|
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
|
|
|
# Manager then you have to manually source 'hm-session-vars.sh' located at
|
|
|
|
# either
|
|
|
|
#
|
|
|
|
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
|
|
#
|
|
|
|
# or
|
|
|
|
#
|
|
|
|
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
|
|
|
#
|
|
|
|
# or
|
|
|
|
#
|
|
|
|
# /etc/profiles/per-user/meyer/etc/profile.d/hm-session-vars.sh
|
|
|
|
#
|
|
|
|
|
2024-10-02 17:19:34 -04:00
|
|
|
# This value determines the Home Manager release that your configuration is
|
|
|
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
|
|
|
# introduces backwards incompatible changes.
|
|
|
|
#
|
|
|
|
# You should not change this value, even if you update Home Manager. If you do
|
|
|
|
# want to update the value, then make sure to first check the Home Manager
|
|
|
|
# release notes.
|
|
|
|
home.stateVersion = "23.11"; # Please read the comment before changing.
|
2024-04-21 19:57:10 -04:00
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
}
|