From 0a5754541bb01e96021ca7ee74f1256a8ee68bc4 Mon Sep 17 00:00:00 2001 From: tdback Date: Sat, 21 Dec 2024 15:32:13 -0500 Subject: initial commit to self-hosted git --- users/tdback/default.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 users/tdback/default.nix (limited to 'users/tdback/default.nix') diff --git a/users/tdback/default.nix b/users/tdback/default.nix new file mode 100644 index 0000000..8457428 --- /dev/null +++ b/users/tdback/default.nix @@ -0,0 +1,32 @@ +{ config, lib, pkgs, headless ? true, ... }: +{ + # Hacky way to import our desktop modules if we aren't a headless system. + imports = (lib.optional (!headless) ./desktop.nix) ++ [ + ./modules/git + ./modules/shell + ]; + + home = { + username = "tdback"; + homeDirectory = "/home/tdback"; + stateVersion = "24.05"; + packages = with pkgs.unstable; [ + age + bat + croc + dig + file + fzf + jq + neovim + nixd + ripgrep + tealdeer + unzip + zip + ]; + }; + + # Let home manager install and manage itself. + programs.home-manager.enable = true; +} -- cgit v1.2.3