authorgravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-05-07 09:45:02-07:00
committergravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-05-07 09:45:02-07:00
log7d4ca2186692c97bde07d7bcf76053035902a4ff
tree50a501d98f651043ea0bcea6a14f66b460403c0f
parent9872e50bf6b780eefaf444f7d8ce3581c8a2dab4

meowing


3 files changed, 19 insertions(+), 19 deletions(-)

modules/shared/user-system-settings.nix+2-2
......@@ -18,10 +18,10 @@
1818 };
1919
2020 stylix = {
21 enable = false;
21 enable = user ? "theme";
2222 base16Scheme = "${pkgs.base16-schemes}/share/themes/${user.theme}.yaml";
2323
24 fonts = {
24 fonts = lib.optionalAttrs (user ? "font") {
2525 serif = {
2626 package = pkgs.nerd-fonts.${user.font};
2727 name = "${user.font} Nerd Font";
readme.md+16-16
......@@ -8,7 +8,7 @@ modules/ # reusable modules
88 +-- macos/ # nix-darwin configurations
99 +-- nixos/ # linux configurations
1010 +-- nixvim/ # neovim configurations
11 +-- shared/ # shared between nixos-rebuild & nixos-rebuild
11 +-- shared/ # shared between nixos-rebuild & darwin-rebuild
1212 +-- home-manager.nix # home program presets
1313users/
1414 +-- chloe/
......@@ -36,30 +36,30 @@ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix
3636 sh -s -- install
3737```
3838
39Open a new shell and clone the repository:
39While this installs, now is a good time to perform manual setup steps:
4040
41```
42# Install git + other command tools. (Used by many programs)
43xcode-select --install
41- Setup your SSH keys in `~/.ssh`
42- Configure the device hostname in System Settings in
43 - About -> Name
44 - General -> Sharing -> Local Hostname
45- Make sure you're logged into iCloud / Mac App Store
46- `xcode-select --install` to make sure Git and other utilities are available.
47- Optional: Disable app verification with `sudo spctl --master-disable`, then, go to System Settings -> Privacy to allow unsigned apps.
48
49Once Nix is installed, open a new shell and clone the repository:
4450
51```
4552# Clone via HTTPs
4653git clone https://git.paperclover.net/clo/config.git
4754# With SSH Authentication
4855git clone git@git.paperclover.net:clo/config
4956```
5057
51Setup `nix-darwin`
52```
53# Tell nix-darwin where the flake is at.
54sudo mkdir /etc/nix-darwin
55sudo ln -s $(realpath flake.nix) /etc/nix-darwin/
58The location of the cloned repository must match what is in your `user.nix` file.
5659
57# Enable configuration.
58nix run .#darwin-rebuild switch
59```
60Setup `nix-darwin` using the `switch` helper:
6061
61Additionally, it may be helpful to disable the unsigned app popup.
6262```
63sudo spctl --master-disable
64# then, go to System Settings -> Privacy to allow unsigned apps.
63./switch
6564```
65
switch+1-1
......@@ -8,5 +8,5 @@ fi;
88if command -v nh > /dev/null; then
99 nh $nh_subcommand switch .
1010else
11 $fallback_command switch
11 $fallback_command -- switch --flake .
1212fi