From 05fba25e608d3d44e0785f1ddb5ab30a95129131 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 14 Dec 2025 13:08:07 -0800 Subject: simplify path structures for machines --- machines/HQ-KWNY2VH41P.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 machines/HQ-KWNY2VH41P.nix (limited to 'machines/HQ-KWNY2VH41P.nix') 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"; + }; + }; +} -- cgit v1.2.3