🚚 [shared] Added shared config that shared desktop config inherits from

This commit is contained in:
2025-05-20 21:52:00 +02:00
parent adb02fbcc2
commit 9a8cc63674
92 changed files with 41 additions and 25 deletions

View File

@ -0,0 +1,52 @@
{
inputs,
outputs,
lib,
common,
systemConfig,
...
}:
let
dir = common.dir;
in
{
imports = [
(lib.custom.relativeToBase "home-manager")
inputs.catppuccin.homeModules.catppuccin
./cursors.nix
./default-applications.nix
./development
./freetube.nix
./gtk.nix
./gpg.nix
./kitty.nix
./media
./nextcloud.nix
./rofi
./hyprland
./shell
./sioyek.nix
./spicetify.nix
./zen
];
home = {
username = systemConfig.username;
homeDirectory = dir.home;
sessionVariables = {
XDG_PICTURES_DIR = dir.pictures; # Define the default dir for pictures
};
# 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 = systemConfig.version;
};
# Adds pkgs.unstable in order to fetch packages from unstable repositories
nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}