Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

Cleanup, kitty config pulled in

+106 -5
+24 -4
configuration.nix
··· 2 2 ## your system. Help is available in the configuration.nix(5) man page, on 3 3 # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). 4 4 5 - { config, lib, pkgs, ... }: 5 + { lib, pkgs, ... }: 6 6 7 7 { 8 8 imports = ··· 41 41 networking.hostName = "odin"; 42 42 # I like systemd-networkd 43 43 systemd.network.enable = true; 44 + systemd.network.networks."50-wlp2s0" = { 45 + matchConfig.name = "wlp2s0"; 46 + networkConfig.DHCP = "yes"; 47 + linkConfig.RequiredForOnline = "no"; 48 + }; 44 49 networking.useNetworkd = true; 45 50 # TODO: static IP @ 192.168.1.2 46 51 ··· 80 85 # Define a user account. Don't forget to set a password with ‘passwd’. 81 86 users.users.noah = { 82 87 isNormalUser = true; 83 - shell = pkg.fish 88 + shell = pkgs.fish; 84 89 extraGroups = [ "wheel" "video" ]; # Enable ‘sudo’ for the user. 85 - hashedPasswordFile = "./noah-password" 90 + hashedPasswordFile = "/etc/nixos/noah-password"; 86 91 openssh.authorizedKeys.keys = [ 87 92 "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDnp/AcaPipgw4+HnqpYioG+DgheOWBYDOnVkXi42PC0R1FMc+bm4wVP8TA9DAWczaWmllqlA8N2/LSleaqp+46r980VgqmeYEem5aHJuR+Cq/Mg2Z2wcp9VT8njH72wIPIUOXAv+dnPnCe4yvoasgvhwZZCDE4BFTIImuTxrEFPg5ayvkr7b/mUg9LbxaVSjK7fk082pqlShizIKAVcgIIa0lCFSMUs1V/eLi5D11moVcxJU/QoEBh+6Qn5BVM0taPFA4Gbi+288LobQ8RcgRBXKpP03Dt+onYuZQ3KzFjd6USi/d4M+pByrWFcpBJfMXuXJLuwsSF7SfxsuqjjlDt Portable" 88 93 ]; ··· 120 125 # Fix dynamically linked libraries for unpackaged binaries 121 126 programs.nix-ld = { 122 127 enable = true; 123 - libraries = with pkgs; [ 128 + libraries = [ 124 129 # Add missing dynamic libraries for unpackaged programs HERE 125 130 # NOT in environment.systemPackages 126 131 ··· 135 140 enableSSHSupport = true; 136 141 }; 137 142 143 + # Fish shell, the best 144 + programs.fish.enable = true; 145 + 138 146 # List services that you want to enable: 139 147 140 148 # Enable the OpenSSH daemon. ··· 146 154 # Or disable the firewall altogether. 147 155 # TODO: allow some ports 148 156 networking.firewall.enable = true; 157 + 158 + services.avahi = { 159 + enable = true; 160 + publish = { 161 + enable = true; 162 + addresses = true; 163 + workstation = true; 164 + }; 165 + }; 149 166 150 167 # Copy the NixOS configuration file and link it from the resulting system 151 168 # (/run/current-system/configuration.nix). This is useful in case you ··· 171 188 wlr.enable = true; 172 189 extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; 173 190 }; 191 + 192 + # Automatic doc cache generation 193 + documentation.man.generateCaches = true; 174 194 175 195 # Declarative only optoins. 176 196 # I don't want to allow ad-hoc modifying users on the system.
+29
kitty/kitty.conf
··· 1 + font_family Berkeley Mono Variable Regular 2 + #font_family CommitMono Variable Regular 3 + #symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 JetBrains Mono Bold 4 + #symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 Fira Code Bold 5 + symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 FiraCode Nerd Font Bold 6 + bold_font auto 7 + italic_font auto 8 + bold_italic_font auto 9 + font_size 13.0 10 + #font_size 12.0 11 + 12 + disable_ligatures cursor 13 + 14 + scrollback_lines 5000 15 + 16 + tab_bar_style powerline 17 + 18 + dynamic_background_opacity yes 19 + dim_opacity 0.75 20 + 21 + # Fuck this, I want new sizes >:( 22 + remember_window_size no 23 + # This equates to 80x24 on MBA 24 + initial_window_width 600 25 + initial_window_height 340 26 + 27 + enable_audio_bell yes 28 + 29 + include nord.conf
+43
kitty/nord.conf
··· 1 + # Nord Colorscheme for Kitty 2 + # Based on: 3 + # - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192 4 + # - https://github.com/arcticicestudio/nord-hyper 5 + 6 + foreground #D8DEE9 7 + background #2E3440 8 + selection_foreground #000000 9 + selection_background #FFFACD 10 + url_color #0087BD 11 + cursor #81A1C1 12 + 13 + # black 14 + color0 #3B4252 15 + color8 #4C566A 16 + 17 + # red 18 + color1 #BF616A 19 + color9 #BF616A 20 + 21 + # green 22 + color2 #A3BE8C 23 + color10 #A3BE8C 24 + 25 + # yellow 26 + color3 #EBCB8B 27 + color11 #EBCB8B 28 + 29 + # blue 30 + color4 #81A1C1 31 + color12 #81A1C1 32 + 33 + # magenta 34 + color5 #B48EAD 35 + color13 #B48EAD 36 + 37 + # cyan 38 + color6 #88C0D0 39 + color14 #8FBCBB 40 + 41 + # white 42 + color7 #E5E9F0 43 + color15 #ECEFF4
+10 -1
noah-home.nix
··· 1 - { lib, pkgs, ...}: { 1 + { pkgs, ...}: { 2 2 home.packages = with pkgs; [ 3 3 # main tool 4 4 firefox-devedition ··· 43 43 erlang 44 44 elixir 45 45 ghc 46 + nil 47 + 48 + # GUI tools 49 + i3status 46 50 47 51 # Unfree 48 52 obsidian ··· 176 180 177 181 xdg.configFile.fish = { 178 182 source = ./fish; 183 + recursive = true; 184 + }; 185 + 186 + xdg.configFile.kitty = { 187 + source = ./kitty; 179 188 recursive = true; 180 189 }; 181 190