Use another git config for work machine
This commit is contained in:
10
systems/modules/home-manager-work.nix
Normal file
10
systems/modules/home-manager-work.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
||||
users.avravels = import home/home-work.nix;
|
||||
};
|
||||
}
|
||||
@@ -5,6 +5,6 @@
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
||||
users.avravels = import ../../home/home.nix;
|
||||
users.avravels = import home/home.nix;
|
||||
};
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
32
systems/modules/home/home-work.nix
Normal file
32
systems/modules/home/home-work.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Home Manager state version
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
home.username = "avravels";
|
||||
home.homeDirectory = "/home/avravels";
|
||||
|
||||
imports = [
|
||||
./other/fonts.nix
|
||||
./programs/bitwarden.nix
|
||||
./programs/kitty.nix
|
||||
./programs/zsh.nix
|
||||
./programs/direnv.nix
|
||||
./programs/firefox.nix
|
||||
./programs/tmux.nix
|
||||
./programs/git-work.nix
|
||||
./programs/libreoffice.nix
|
||||
./programs/nvim.nix
|
||||
./programs/ripgrep.nix
|
||||
./programs/vscode.nix
|
||||
./wm/rofi.nix
|
||||
./wm/cursor.nix
|
||||
./wm/dconf.nix
|
||||
./wm/gtk.nix
|
||||
./wm/waybar.nix
|
||||
./wm/hyprland.nix
|
||||
./wm/hyprpaper.nix
|
||||
];
|
||||
|
||||
}
|
||||
11
systems/modules/home/programs/git-work.nix
Normal file
11
systems/modules/home/programs/git-work.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... } :
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings.user = {
|
||||
name = "Armel van Ravels";
|
||||
email = "armel@webavance.nl";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../modules/home-manager.nix
|
||||
../modules/home-manager-work.nix
|
||||
../modules/common.nix
|
||||
../modules/users.nix
|
||||
../modules/locales.nix
|
||||
|
||||
Reference in New Issue
Block a user