Linked my nixos HM config to the shared one

This commit is contained in:
Alexandre 2025-12-14 00:05:10 +01:00
parent d53f46d245
commit b4cd2ebb08
2 changed files with 18 additions and 18 deletions

View File

@ -55,7 +55,15 @@
]; ];
# Git config # Git config
programs.git = {
enable = true;
settings = {
user = {
email = "mateialex@outlook.fr";
name = "Alexandre";
};
};
};
} }

View File

@ -1,14 +1,17 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ let
commonHome = import ../common/home.nix {
inherit config pkgs inputs;
username = "alex";
homeDir = "/home/alex";
};
in
commonHome // {
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
home.username = "alex";
home.homeDirectory = "/home/alex";
imports = [ imports = [
inputs.spicetify-nix.homeManagerModules.spicetify ../../modules/home-manager/hyprland.nix
../../modules/home-manager/spicetify.nix
]; ];
@ -40,17 +43,6 @@
}; };
}; };
# Git
programs.git = {
enable = true;
settings = {
user = {
email = "mateialex@outlook.fr";
name = "Alexandre";
};
};
};
# This value determines the Home Manager release that your configuration is # This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release # compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes. # introduces backwards incompatible changes.