aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/default.nix
diff options
context:
space:
mode:
authorCopilot <198982749+Copilot@users.noreply.github.com>2026-03-01 18:56:27 +0100
committerGitHub <noreply@github.com>2026-03-01 18:56:27 +0100
commit011486787f639f2d2474bbaf5a6ef3d77fb45a43 (patch)
treec443f2c41053e2ed7599e9e676302dfa30dc89d4 /modules/home/default.nix
parenteb7c55e9dc97524cca7c5b6a268cd66af147b12e (diff)
downloaddotfiles-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.nix24
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;
+}