From 7281f05669e92e3568f837591912350b32951555 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 30 Dec 2025 10:33:31 -0800 Subject: organize programs in a way that makes sense to me --- machines/mbp-work.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 machines/mbp-work.nix (limited to 'machines/mbp-work.nix') diff --git a/machines/mbp-work.nix b/machines/mbp-work.nix new file mode 100644 index 0000000..fc4340d --- /dev/null +++ b/machines/mbp-work.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