aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-17 11:05:45 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-17 11:05:45 +0200
commitae3fa667bda75f11881c9209dc67226f98bcfd95 (patch)
tree1c2b16d8a97342fa608a15583ecc85ff0ec968eb /modules/home
downloaddesktop-flake-ae3fa667bda75f11881c9209dc67226f98bcfd95.tar.gz
desktop-flake-ae3fa667bda75f11881c9209dc67226f98bcfd95.tar.bz2
desktop-flake-ae3fa667bda75f11881c9209dc67226f98bcfd95.zip
Add cross-platform Nix flake bootstrap
Adds a flake providing shared modules for NixOS and standalone home-manager, a copyable NixOS host template, and the OpenSpec tooling/change scaffolding used to plan this work.
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/cli-tools.nix12
-rw-r--r--modules/home/default.nix8
-rw-r--r--modules/home/editor.nix7
-rw-r--r--modules/home/git.nix9
-rw-r--r--modules/home/shell.nix14
5 files changed, 50 insertions, 0 deletions
diff --git a/modules/home/cli-tools.nix b/modules/home/cli-tools.nix
new file mode 100644
index 0000000..c489e1c
--- /dev/null
+++ b/modules/home/cli-tools.nix
@@ -0,0 +1,12 @@
1{ pkgs, ... }:
2{
3 home.packages = with pkgs; [
4 ripgrep
5 fd
6 bat
7 eza
8 jq
9 fzf
10 tree
11 ];
12}
diff --git a/modules/home/default.nix b/modules/home/default.nix
new file mode 100644
index 0000000..206a0ad
--- /dev/null
+++ b/modules/home/default.nix
@@ -0,0 +1,8 @@
1{
2 imports = [
3 ./git.nix
4 ./shell.nix
5 ./editor.nix
6 ./cli-tools.nix
7 ];
8}
diff --git a/modules/home/editor.nix b/modules/home/editor.nix
new file mode 100644
index 0000000..b687552
--- /dev/null
+++ b/modules/home/editor.nix
@@ -0,0 +1,7 @@
1{
2 programs.neovim = {
3 enable = true;
4 defaultEditor = true;
5 vimAlias = true;
6 };
7}
diff --git a/modules/home/git.nix b/modules/home/git.nix
new file mode 100644
index 0000000..4eab076
--- /dev/null
+++ b/modules/home/git.nix
@@ -0,0 +1,9 @@
1{
2 programs.git = {
3 enable = true;
4 extraConfig = {
5 init.defaultBranch = "main";
6 pull.rebase = true;
7 };
8 };
9}
diff --git a/modules/home/shell.nix b/modules/home/shell.nix
new file mode 100644
index 0000000..406206c
--- /dev/null
+++ b/modules/home/shell.nix
@@ -0,0 +1,14 @@
1{
2 programs.zsh = {
3 enable = true;
4 autosuggestion.enable = true;
5 syntaxHighlighting.enable = true;
6 };
7
8 programs.starship.enable = true;
9
10 programs.direnv = {
11 enable = true;
12 nix-direnv.enable = true;
13 };
14}