···11+22+33+# [feat|fix|docs|style|refactor|perf|test|chore] [issue #id] [summary]
44+# feat: Added a new feature
55+# fix: Fixed a bug
66+# docs: Documentation changes
77+# style: Code style change
88+# refactor: Refactor code without changes
99+# perf: Update code performances
1010+# test: Added test to existing features
1111+# chore: Update something without impact the user
+9-6
home.nix
home-manager/default.nix
···11-{ config, pkgs, ... }:
11+{ config, pkgs, username, stateVersion, ... }:
2233{
44 # Home Manager needs a bit of information about you and the paths it should
55 # manage.
66- home.username = "pedro";
77- home.homeDirectory = "/home/pedro";
66+ home.username = username;
77+ home.homeDirectory = "/home/${username}";
88+99+ imports = [
1010+ ./git
1111+ ];
812913 # This value determines the Home Manager release that your configuration is
1014 # compatible with. This helps avoid breakage when a new Home Manager release
···1317 # You should not change this value, even if you update Home Manager. If you do
1418 # want to update the value, then make sure to first check the Home Manager
1519 # release notes.
1616- home.stateVersion = "22.11"; # Please read the comment before changing.
2020+ home.stateVersion = stateVersion; # Please read the comment before changing.
17211822 # The home.packages option allows you to install Nix packages into your
1923 # environment.
···8892 firefox = {
8993 enable = true;
90949191- profiles.pedro = {
9595+ profiles.${username} = {
9296 settings = {
9397 "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
9498 "findbar.highlightAll" = true;
···308312 };
309313 };
310314 };
311311-312315313316 services = {
314317 gpg-agent = {