diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2026-03-01 18:56:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-01 18:56:27 +0100 |
| commit | 011486787f639f2d2474bbaf5a6ef3d77fb45a43 (patch) | |
| tree | c443f2c41053e2ed7599e9e676302dfa30dc89d4 /modules/home/default.nix | |
| parent | eb7c55e9dc97524cca7c5b6a268cd66af147b12e (diff) | |
| download | dotfiles-011486787f639f2d2474bbaf5a6ef3d77fb45a43.tar.gz dotfiles-011486787f639f2d2474bbaf5a6ef3d77fb45a43.zip | |
Refactor dotfiles to declarative Nix management (nix-darwin + home-manager) (#5)
Diffstat (limited to 'modules/home/default.nix')
| -rw-r--r-- | modules/home/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/home/default.nix b/modules/home/default.nix new file mode 100644 index 0000000..1c0ae0e --- /dev/null +++ b/modules/home/default.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: + +{ + imports = [ + ./git.nix + ./ghostty.nix + ./starship.nix + ./tmux.nix + ./zsh.nix + ]; + + home = { + username = "simenandre"; + homeDirectory = "/Users/simenandre"; + # Do not change this after the first installation + stateVersion = "24.11"; + }; + + # Let home-manager manage itself + programs.home-manager.enable = true; + + # Link neovim config (managed as a git submodule) + home.file.".config/nvim".source = ../../nvim/.config/nvim; +} |
