aboutsummaryrefslogtreecommitdiff
path: root/machines/HQ-KWNY2VH41P.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-14 13:08:07 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-14 13:08:07 -0800
commit05fba25e608d3d44e0785f1ddb5ab30a95129131 (patch)
tree60a2a563002079282873afad59d296958f978fce /machines/HQ-KWNY2VH41P.nix
parentuse `just` (again) instead of custom scripts (diff)
downloadinfra-05fba25e608d3d44e0785f1ddb5ab30a95129131.tar.gz
simplify path structures for machines
Diffstat (limited to 'machines/HQ-KWNY2VH41P.nix')
-rw-r--r--machines/HQ-KWNY2VH41P.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/machines/HQ-KWNY2VH41P.nix b/machines/HQ-KWNY2VH41P.nix
new file mode 100644
index 0000000..fc4340d
--- /dev/null
+++ b/machines/HQ-KWNY2VH41P.nix
@@ -0,0 +1,37 @@
+{ pkgs, ... }:
+{
+ imports = [
+ ../profiles/darwin.nix
+ ../profiles/home-manager.nix
+ ];
+
+ users.users.fcuny = {
+ home = "/Users/fcuny";
+ shell = pkgs.fish;
+ };
+
+ environment.shells = [ pkgs.fish ];
+
+ programs.fish.enable = true;
+ programs.fish.shellInit = ''
+ # Nix
+ if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
+ source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
+ end
+ # End Nix
+ '';
+
+ home-manager.users.fcuny = {
+ home.stateVersion = "23.05";
+ home.username = "fcuny";
+ home.homeDirectory = "/Users/fcuny";
+ imports = [
+ ../home/profiles/mac.nix
+ ../home/profiles/work.nix
+ ];
+ userinfo = {
+ email = "fcuny@roblox.com";
+ fullName = "Franck Cuny";
+ };
+ };
+}