The Home Manager and nix-darwin configurations for my machines.
-
In the last command below, replace
REPLACE_MEwith the name of the config to apply. Valid config names are:comp_1comp_2. Then run the commands which will install Nix and initialize the config.NOTE: The Lix installer may have changed since this was written so make sure the installation command below is still valid.
sh -c "$(curl -sSf -L https://install.lix.systems/lix)" -- \ install \ --nix-package-url "https://releases.lix.systems/lix/lix-2.93.3/lix-2.93.3-$(uname -m)-$(uname -s | tr '[:upper:]' '[:lower:]').tar.xz" \ --extra-conf "extra-trusted-users = $(whoami)" \ --no-confirm && "$SHELL" -lc 'nix run github:bigolu/system-configurations -- REPLACE_ME'
-
Post-Install steps:
-
Linux
- Logout and login so the login shell configuration can get applied.
-
macOS
-
Keyboard:
- Set the keyboard input source to 'Others → (No Accent Keys)'.
- Shortcuts:
-
Disable: "Select the previous input source"
ctrl+space, "Application windows"ctrl+↓ -
Change: "Mission Control → Move left/right a space" to
cmd+[andcmd+]respectively, "Mission Control" tocmd+d, "Mission Control → Switch to Desktop 1-9"cmd+[1-9]
-
-
Open Hammerspoon and Nightfall to configure them.
-
-
You can also run a shell with a Home Manager configuration loaded into it. This is helpful when you only need to use the configuration temporarily and not apply it, like when you're on a remote host or in a container. You can download it from the releases page.