nixpkgs/home.nix
Daniel Siepmann d9ba963dad
Migrate explicit imports to home manager imports
That way I do not need to explicitly provide dependencies.
But home-manager will pass all the special args.
2024-05-30 14:11:08 +02:00

70 lines
1.5 KiB
Nix

{
config
,pkgs
,lib
,...
}:
{
_module.args = {
hostName = builtins.replaceStrings ["\n"] [""] (builtins.readFile /etc/hostname);
};
imports = [
./home/modules/programs/cmus.nix
./home/modules/programs/khal-notification.nix
./home/modules/programs/languagetool.nix
./home/modules/programs/mailhog.nix
./home/modules/programs/my-pidgin.nix
./home/accounts.nix
./home/programs/nix.nix
./home/files.nix
./home/packages.nix
./home/packages/custom
./home/home.nix
./home/programs.nix
./home/xsession.nix
./home/windowManager/i3.nix
./home/xdg.nix
./home/dconf.nix
./home/qt.nix
./home/gtk.nix
./home/services.nix
./home/systemd.nix
];
disabledModules = [
];
home = {
# Home Manager needs a bit of information about you and the
# paths it should manage.
username = "daniels";
homeDirectory = "/home/daniels";
# 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 can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
stateVersion = "22.05";
};
targets.genericLinux.enable = true;
fonts.fontconfig.enable = true;
nixpkgs.config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
];
permittedInsecurePackages = [
];
};
}