From 011486787f639f2d2474bbaf5a6ef3d77fb45a43 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 18:56:27 +0100 Subject: Refactor dotfiles to declarative Nix management (nix-darwin + home-manager) (#5) --- modules/home/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/home/default.nix (limited to 'modules/home/default.nix') 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; +} -- cgit v1.2.3