Add work config
This commit is contained in:
@@ -114,7 +114,10 @@
|
||||
programs.zsh.enable = true;
|
||||
|
||||
# Home Manager
|
||||
users.users.smparkin.home = "/Users/smparkin";
|
||||
users.users = {
|
||||
smparkin.home = "/Users/smparkin";
|
||||
parkist.home = "/Users/parkist";
|
||||
};
|
||||
nix.configureBuildUsers = true;
|
||||
nix.useDaemon = true;
|
||||
};
|
||||
|
||||
33
nix/work.nix
Normal file
33
nix/work.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "parkist";
|
||||
home.homeDirectory = "/Users/parkist";
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
# incompatible changes.
|
||||
#
|
||||
# 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.
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Home dir
|
||||
home.file = {
|
||||
".zshrc".source = ../zsh/zshrc;
|
||||
".zsh.d/aliases".source = ../zsh/aliases;
|
||||
".zsh.d/functions".source = ../zsh/functions;
|
||||
".zsh.d/theme".source = ../zsh/theme;
|
||||
".gitconfig".source = ../git/gitconfig;
|
||||
".gitignore_global".source = ../git/gitignore_global;
|
||||
".tmux.conf".source = ../tmux/tmux.conf;
|
||||
".vimrc".source = ../vim/vimrc;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user