grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
a4b6f88
main
1{ 2config , 3lib , 4pkgs , 5 ... 6} : 7 8let 9paneru = builtins . getFlake "github:karinushka/paneru/5a033bc3a59f752ae72944f06945ab13cc570e04" ; 10host = import ./hosts.nix ; 11in 12{ 13imports = [ paneru . darwinModules . paneru ]; 14 15networking . hostName = host . name ; 16 17environment . systemPackages = [ 18pkgs . raycast 19pkgs . thaw 20]; 21 22system = { 23primaryUser = host . user ; 24stateVersion = 7 ; 25}; 26 27users . users .${ config . system . primaryUser } = { 28name = config . system . primaryUser ; 29home = host . home ; 30shell = pkgs . fish ; 31}; 32 33programs . fish . enable = true ; 34 35services . paneru = { 36enable = true ; 37 38settings = { 39options = { 40disable_native_tabs = true ; 41focus_follows_mouse = false ; 42mouse_follows_focus = false ; 43 44animation_speed = 12.0 ; 45 46preset_column_widths = [ 470.45 480.65 490.9 50]; 51window_resize_cycle = true ; 52create_virtual_workspace_automatically = true ; 53virtual_workspace_animations = true ; 54 55}; 56 57swipe = { 58sensitivity = 0.35 ; 59deceleration = 4.0 ; 60continuous = true ; 61 62gesture = { 63fingers_count = 3 ; 64direction = "Natural" ; 65vertical = false ; 66}; 67}; 68 69padding = { 70top = 5 ; 71bottom = 5 ; 72left = 5 ; 73right = 5 ; 74}; 75 76windows . all = { 77title = ".*" ; 78horizontal_padding = 5 ; 79vertical_padding = 5 ; 80}; 81 82windows . todoist_quick_add = { 83bundle_id = "com.todoist.mac.Todoist" ; 84title = "^Todoist$" ; 85floating = true ; 86}; 87 88bindings = { 89window_focus_west = "cmd + shift - h" ; 90window_focus_east = "cmd + shift - l" ; 91 92window_swap_west = "cmd + shift + ctrl - h" ; 93window_swap_east = "cmd + shift + ctrl - l" ; 94 95# window_virtual_south = "cmd - j"; 96# window_virtual_north = "cmd - k"; 97 98window_center = "alt - c" ; 99window_resize = "cmd + shift - f" ; 100window_balance = "alt - b" ; 101 102quit = "ctrl + alt - q" ; 103}; 104}; 105}; 106system . defaults . CustomUserPreferences = { 107"com.apple.symbolichotkeys" = { 108AppleSymbolicHotKeys = { 109"64" = { 110enabled = false ; 111}; 112}; 113}; 114 115"com.raycast.macos" = { 116raycastGlobalHotkey = "Command-49" ; 117}; 118}; 119 120security . pam . services . sudo_local . touchIdAuth = true ; 121}