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 @@...@@ -18,10 +18,10 @@
18 };18 };
1919
20 stylix = {20 stylix = {
21 enable = false;21 enable = user ? "theme";
22 base16Scheme = "${pkgs.base16-schemes}/share/themes/${user.theme}.yaml";22 base16Scheme = "${pkgs.base16-schemes}/share/themes/${user.theme}.yaml";
2323
24 fonts = {24 fonts = lib.optionalAttrs (user ? "font") {
25 serif = {25 serif = {
26 package = pkgs.nerd-fonts.${user.font};26 package = pkgs.nerd-fonts.${user.font};
27 name = "${user.font} Nerd Font";27 name = "${user.font} Nerd Font";
readme.md+16-16
...@@ -8,7 +8,7 @@ modules/ # reusable modules...@@ -8,7 +8,7 @@ modules/ # reusable modules
8 +-- macos/ # nix-darwin configurations8 +-- macos/ # nix-darwin configurations
9 +-- nixos/ # linux configurations9 +-- nixos/ # linux configurations
10 +-- nixvim/ # neovim configurations10 +-- nixvim/ # neovim configurations
11 +-- shared/ # shared between nixos-rebuild & nixos-rebuild11 +-- shared/ # shared between nixos-rebuild & darwin-rebuild
12 +-- home-manager.nix # home program presets12 +-- home-manager.nix # home program presets
13users/13users/
14 +-- chloe/14 +-- chloe/
...@@ -36,30 +36,30 @@ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix...@@ -36,30 +36,30 @@ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix
36 sh -s -- install36 sh -s -- install
37```37```
3838
39Open a new shell and clone the repository:39While this installs, now is a good time to perform manual setup steps:
4040
41```41- Setup your SSH keys in `~/.ssh`
42# Install git + other command tools. (Used by many programs)42- Configure the device hostname in System Settings in
43xcode-select --install43 - 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```
45# Clone via HTTPs52# Clone via HTTPs
46git clone https://git.paperclover.net/clo/config.git53git clone https://git.paperclover.net/clo/config.git
47# With SSH Authentication54# With SSH Authentication
48git clone git@git.paperclover.net:clo/config55git clone git@git.paperclover.net:clo/config
49```56```
5057
51Setup `nix-darwin`58The location of the cloned repository must match what is in your `user.nix` file.
52```
53# Tell nix-darwin where the flake is at.
54sudo mkdir /etc/nix-darwin
55sudo ln -s $(realpath flake.nix) /etc/nix-darwin/
5659
57# Enable configuration.60Setup `nix-darwin` using the `switch` helper:
58nix run .#darwin-rebuild switch
59```
6061
61Additionally, it may be helpful to disable the unsigned app popup.
62```62```
63sudo spctl --master-disable63./switch
64# then, go to System Settings -> Privacy to allow unsigned apps.
65```64```
65
switch+1-1
...@@ -8,5 +8,5 @@ fi;...@@ -8,5 +8,5 @@ fi;
8if command -v nh > /dev/null; then8if command -v nh > /dev/null; then
9 nh $nh_subcommand switch .9 nh $nh_subcommand switch .
10else10else
11 $fallback_command switch11 $fallback_command -- switch --flake .
12fi12fi