me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

format home.nix and install some apps

+64 -12
+64 -12
home.nix
··· 13 13 enable = true; 14 14 settings = { 15 15 binds = { 16 - "Mod+d".action.spawn = ["wofi" "--show" "drun" "--prompt" "Search..."]; 16 + "Mod+d".action.spawn = [ 17 + "wofi" 18 + "--show" 19 + "drun" 20 + "--prompt" 21 + "Search..." 22 + ]; 17 23 "Mod+a".action.spawn = "alacritty"; 24 + "Mod+h".action = { 25 + focus-column-left = { }; 26 + }; 27 + "Mod+j".action = { 28 + focus-workspace-down = { }; 29 + }; 30 + "Mod+k".action = { 31 + focus-workspace-up = { }; 32 + }; 33 + "Mod+l".action = { 34 + focus-column-right = { }; 35 + }; 36 + "Mod+p".action = { 37 + show-hotkey-overlay = { }; 38 + }; 39 + "Mod+o".action = { 40 + toggle-overview = { }; 41 + }; 42 + "Mod+q".action = { 43 + close-window = { }; 44 + }; 45 + "Mod+s".action = { 46 + screenshot = { 47 + show-pointer = true; 48 + }; 49 + }; 18 50 }; 19 51 outputs = { 20 52 "DP-1" = { ··· 22 54 }; 23 55 }; 24 56 spawn-at-startup = [ 25 - { command = ["xwayland-satellite"]; } 26 - { command = ["mako"]; } 27 - { command = ["waybar"]; } 28 - { command = ["/usr/bin/lxqt-policykit-agent"]; } 29 - { command = ["wl-paste --watch cliphist store"]; } 57 + { command = [ "xwayland-satellite" ]; } 58 + { command = [ "mako" ]; } 59 + { command = [ "waybar" ]; } 60 + { command = [ "/usr/bin/lxqt-policykit-agent" ]; } 61 + { command = [ "wl-paste --watch cliphist store" ]; } 30 62 ]; 31 63 environment = { 32 64 DISPLAY = ":0"; ··· 34 66 }; 35 67 }; 36 68 37 - programs.waybar.enable = true; 69 + programs.waybar = { 70 + enable = true; 71 + }; 38 72 39 73 # Catppuccin theme for Waybar 40 74 catppuccin.waybar = { ··· 50 84 jujutsu 51 85 htop 52 86 zellij # terminal multiplexer 53 - # --- ESSENTIAL HYPRLAND ECOSYSTEM TOOLS --- 87 + # --- ESSENTIAL HYPRLAND ECOSYSTEM TOOLS --- 54 88 alacritty 55 89 wofi # Application launcher (or pkgs.rofi-wayland) 56 90 waybar # Status bar (highly recommended) ··· 63 97 fd 64 98 ripgrep 65 99 yazi 66 - 100 + firefox 101 + gh 102 + signal-desktop 67 103 xwayland-satellite 104 + nixfmt-rfc-style 105 + nil 68 106 69 - # --- FONTS ARE IMPORTANT --- 107 + # --- FONTS ARE IMPORTANT --- 70 108 noto-fonts 71 109 noto-fonts-cjk-sans 72 110 noto-fonts-emoji 73 111 font-awesome # For icons in waybar, etc. 74 112 nerd-fonts.jetbrains-mono 75 - # --- POLKIT AGENT (for 1Password GUI, etc.) --- 113 + # --- POLKIT AGENT (for 1Password GUI, etc.) --- 76 114 lxqt.lxqt-policykit # Lightweight polkit agent 77 115 ]; 78 116 ··· 86 124 }; 87 125 88 126 programs.home-manager.enable = true; 89 - programs.helix.enable = true; 90 127 91 128 programs.fish = { 92 129 enable = true; ··· 98 135 programs.starship = { 99 136 enable = true; 100 137 enableFishIntegration = true; 138 + }; 139 + 140 + programs.helix = { 141 + enable = true; 142 + languages = { 143 + language = [ 144 + { 145 + name = "nix"; 146 + auto-format = true; 147 + formatter = { 148 + command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt"; 149 + }; 150 + } 151 + ]; 152 + }; 101 153 }; 102 154 103 155 # Session variables