adding in a nix conf so i can use profiles

master
Jordan Orelli 6 months ago
parent 85c7b81825
commit da89824862

@ -42,9 +42,9 @@ if (( $+commands[kitty] )); then
source <(kitty + complete setup zsh) source <(kitty + complete setup zsh)
fi fi
if (( $+commands[direnv] )); then # if (( $+commands[direnv] )); then
eval "$(direnv hook zsh)" # eval "$(direnv hook zsh)"
fi # fi
# run local machine-specific settings # run local machine-specific settings
if [ -f "$HOME/.zlocalrc" ]; then if [ -f "$HOME/.zlocalrc" ]; then

@ -9,16 +9,6 @@ the authoritative storage of all of the preferences file on a given machine.
The `install` script creates the necessary symlinks for these preference files The `install` script creates the necessary symlinks for these preference files
to be seen by the appropriate applications. to be seen by the appropriate applications.
## sharing between WSL and Windows The mapping of files in the repo to their location on the machine is given in
`config.ini`, and its installed by a python program defined in `prefs`, which
If you want to use this repo to manage the preferences file of both a WSL uses only stdlib Python
instance and its Windows host, clone this repo on WSL and then symlink the
directory into the home directory of the Windows host like so:
C:\Users\Name>mklink /D .dotfiles \\wsl$\instance\home\name\.dotfiles
You can then navigate into the Linux directory from Windows, either on the
command line or in Explorer.exe. Using an administrator shell, run the install
script from the Windows side. Windows requires admin privileges in order to
make symbolic links, so you need an admin shell to register new links on
Windows.

@ -41,6 +41,12 @@ when: host.has('kitty') and host.is_linux
files: files:
desktop/kitty.desktop > .local/share/applications/kitty.desktop desktop/kitty.desktop > .local/share/applications/kitty.desktop
[link-files nix-config]
when: host.has('nix')
target_root: ~/.config
files:
nix/nix.conf
[link-files rofi] [link-files rofi]
when: host.has('rofi') when: host.has('rofi')
target_root: ~/.config target_root: ~/.config

@ -24,7 +24,10 @@
#: italic_font Operator Mono Book Italic #: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic #: bold_italic_font Operator Mono Medium Italic
# font_size 11.0 # Menlo is the default, I'm not sure how to conditionally pick a font only if
# it exists yet.
font_family Menlo
font_size 16.0
#: Font size (in pts) #: Font size (in pts)
@ -293,7 +296,7 @@
#: Scrollback {{{ #: Scrollback {{{
# scrollback_lines 2000 scrollback_lines 20000
#: Number of lines of history to keep in memory for scrolling back. #: Number of lines of history to keep in memory for scrolling back.
#: Memory is allocated on demand. Negative numbers are (effectively) #: Memory is allocated on demand. Negative numbers are (effectively)
@ -681,12 +684,12 @@
#: Terminal bell {{{ #: Terminal bell {{{
# enable_audio_bell yes enable_audio_bell no
#: The audio bell. Useful to disable it in environments that require #: The audio bell. Useful to disable it in environments that require
#: silence. #: silence.
# visual_bell_duration 0.0 visual_bell_duration 0.1
#: The visual bell duration (in seconds). Flash the screen when a bell #: The visual bell duration (in seconds). Flash the screen when a bell
#: occurs for the specified number of seconds. Set to zero to disable. #: occurs for the specified number of seconds. Set to zero to disable.
@ -738,9 +741,9 @@
#: Window layout {{{ #: Window layout {{{
# remember_window_size yes remember_window_size yes
# initial_window_width 640 initial_window_width 100c
# initial_window_height 400 initial_window_height 50c
#: If enabled, the OS Window size will be remembered so that new #: If enabled, the OS Window size will be remembered so that new
#: instances of kitty will have the same size as the previous #: instances of kitty will have the same size as the previous
@ -926,7 +929,7 @@
#: The second number is the margin between the tab bar and the #: The second number is the margin between the tab bar and the
#: contents of the current tab. #: contents of the current tab.
# tab_bar_style fade tab_bar_style fade
#: The tab bar style, can be one of: #: The tab bar style, can be one of:
@ -952,12 +955,12 @@
#: a mapping for the select_tab action which presents you with a list of #: a mapping for the select_tab action which presents you with a list of
#: tabs and allows for easy switching to a tab. #: tabs and allows for easy switching to a tab.
# tab_bar_align left tab_bar_align left
#: The horizontal alignment of the tab bar, can be one of: left, #: The horizontal alignment of the tab bar, can be one of: left,
#: center, right. #: center, right.
# tab_bar_min_tabs 2 tab_bar_min_tabs 2
#: The minimum number of tabs that must exist before the tab bar is #: The minimum number of tabs that must exist before the tab bar is
#: shown. #: shown.
@ -1590,8 +1593,7 @@
#: this option is obsolete (although still supported). Consider using #: this option is obsolete (although still supported). Consider using
#: text_composition_strategy instead. #: text_composition_strategy instead.
# macos_traditional_fullscreen no macos_traditional_fullscreen yes
#: Use the macOS traditional full-screen transition, that is faster, #: Use the macOS traditional full-screen transition, that is faster,
#: but less pretty. #: but less pretty.

@ -0,0 +1,2 @@
# add the nix command so that we can use nix profiles
extra-experimental-features = nix-command
Loading…
Cancel
Save