Import home modules in their respective .nix files

This commit is contained in:
Username404-59 2026-07-03 20:26:17 +02:00
parent 93ae664be9
commit b40e0115f5
Signed by: Username404-59
GPG Key ID: F3A1878B14F5F0D7
3 changed files with 8 additions and 7 deletions

View File

@ -4,6 +4,8 @@ let
shared_theme = "Catppuccin-GTK-Red-Dark"; shared_theme = "Catppuccin-GTK-Red-Dark";
in in
{ {
imports = [ "${nixtamal.catppuccin}/modules/home-manager" ];
catppuccin = { catppuccin = {
autoEnable = true; autoEnable = true;
enable = true; enable = true;

View File

@ -1,8 +1,5 @@
{ config, pkgs, nixtamal, functions, localPackagesOverlay, ... }: { config, pkgs, nixtamal, functions, localPackagesOverlay, ... }:
let
spicetify-nix = import nixtamal.nix-spicetify { pkgs = import nixtamal.nixpkgs { }; };
in
{ {
home.username = "doggo"; home.username = "doggo";
home.homeDirectory = "/home/doggo"; home.homeDirectory = "/home/doggo";
@ -83,7 +80,6 @@ in
]; ];
imports = [ imports = [
"${nixtamal.catppuccin}/modules/home-manager"
./catppuccin-config.nix ./catppuccin-config.nix
./hyprland-config.nix ./hyprland-config.nix
./ironbar-config.nix ./ironbar-config.nix
@ -92,10 +88,8 @@ in
./discord-config.nix ./discord-config.nix
./firefox-config.nix ./firefox-config.nix
./mpv-config.nix ./mpv-config.nix
spicetify-nix.homeManagerModules.spicetify
./spicetify-config.nix ./spicetify-config.nix
]; ];
_module.args = { inherit spicetify-nix; };
qt = { qt = {
enable = true; enable = true;

View File

@ -1,6 +1,11 @@
{ spicetify-nix, nixtamal, ... }: { nixtamal, ... }:
let
spicetify-nix = import nixtamal.nix-spicetify { pkgs = import nixtamal.nixpkgs { }; };
in
{ {
imports = [ spicetify-nix.homeManagerModules.spicetify ];
programs.spicetify = { programs.spicetify = {
enable = true; enable = true;