summaryrefslogtreecommitdiffstats
path: root/hjem-darwin.nix
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 14:38:08 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 14:38:08 -0400
commita00086f63df186181c254a164c77b974cc7a5c7c (patch)
treef7d6ac98ab49166250a1635059ae032b3719a5be /hjem-darwin.nix
parentremove work legacy, move more pkgs to common for darwin (diff)
downloadnixos-a00086f63df186181c254a164c77b974cc7a5c7c.tar.gz
nixos-a00086f63df186181c254a164c77b974cc7a5c7c.tar.bz2
nixos-a00086f63df186181c254a164c77b974cc7a5c7c.zip
DRY for username
Diffstat (limited to 'hjem-darwin.nix')
-rw-r--r--hjem-darwin.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/hjem-darwin.nix b/hjem-darwin.nix
new file mode 100644
index 0000000..9090d86
--- /dev/null
+++ b/hjem-darwin.nix
@@ -0,0 +1,20 @@
+{
+ config,
+ pkgs,
+ username,
+ ...
+}: {
+ imports = [
+ ];
+
+ hjem.users.${username} = {
+ directory = "/home/${username}";
+ files = {
+ ".config/senpai/senpai.scfg".source = ./dotfiles/senpai/senpai.scfg;
+ };
+
+ packages = with pkgs; [
+ senpai
+ ];
+ };
+}