my nixos dotfiles :3 (git.koi.rip mirror) git.koi.rip/koi/dotfiles
linux dotfiles neovim nixos catppuccin

fix: small improvements

+33 -44
+18 -27
external/config/fastfetch/config.jsonc
··· 28 28 29 29 "modules": [ 30 30 "break", 31 + "break", 32 + { 33 + "type": "custom", 34 + "format": "\u001b[0;38;2;180;190;254mᓚ₍ ^. .^₎  ₍^. .^ ₎ᓗ\u001b[0m" 35 + }, 31 36 { 32 37 "type": "custom", 33 38 "format": "\u001b[0;38;2;203;166;247m╭──────────────────────────────────╮\u001b[0m" ··· 47 52 "format": "{result}" 48 53 }, 49 54 { 55 + "type": "uptime", 56 + "key": "uptime ", 57 + "keyIcon": " ", 58 + "format": "{days}d {hours}h {minutes}m" 59 + }, 60 + { 50 61 "type": "os", 51 62 "key": "distro ", 52 63 "keyIcon": " ", ··· 58 69 "keyIcon": " " 59 70 }, 60 71 { 61 - "type": "packages", 62 - "key": "packages", 63 - "keyIcon": " " 64 - }, 65 - { 66 - "type": "uptime", 67 - "key": "uptime ", 68 - "keyIcon": " ", 69 - "format": "{days}d {hours}h {minutes}m" 70 - }, 71 - { 72 - "type": "shell", 73 - "key": "shell ", 74 - "keyIcon": " " 75 - }, 76 - { 77 - "type": "terminal", 78 - "key": "terminal", 79 - "keyIcon": " " 80 - }, 81 - { 82 - "type": "wm", 83 - "key": "wm ", 84 - "keyIcon": " ", 85 - "format": "{pretty-name} {version}" 72 + "type": "command", 73 + "shell": "/bin/sh", 74 + "text": "kitget -V | cut -d ' ' -f2", 75 + "key": "kitget ", 76 + "keyIcon": "󰄛 ", 77 + "format": "{result}" 86 78 }, 87 79 { 88 80 "type": "custom", 89 81 "format": "\u001b[0;38;2;203;166;247m╰──────────────────────────────────╯\u001b[0m" 90 - }, 91 - "break" 82 + } 92 83 ] 93 84 }
+2 -4
formatter.nix
··· 18 18 19 19 shfmt = { 20 20 command = "shfmt"; 21 - options = [ 22 - "-w" 23 - ]; 21 + options = [ "-w" ]; 24 22 includes = [ 25 23 "*.sh" 24 + "*.bash" 26 25 # "*.zsh" # https://github.com/mvdan/sh/issues/120 27 - "*.bash" 28 26 ]; 29 27 }; 30 28 };
+1 -5
home/adam.nix
··· 1 - { config, ... }: 2 - 3 1 { 4 2 home = { 5 3 username = "adam"; 6 4 homeDirectory = "/home/adam"; 7 - stateVersion = "25.05"; 5 + stateVersion = "25.11"; 8 6 }; 9 - 10 - age.identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ]; 11 7 12 8 imports = [ 13 9 ./modules/external.nix
+4 -4
home/modules/age.nix
··· 1 - { inputs, ... }: 1 + { config, inputs, ... }: 2 2 3 3 { 4 - imports = [ 5 - inputs.agenix.homeManagerModules.default 6 - ]; 4 + imports = [ inputs.agenix.homeManagerModules.default ]; 5 + 6 + age.identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ]; 7 7 }
+1 -1
home/modules/programs/niri.nix
··· 12 12 spawn-at-startup = [ 13 13 { argv = [ "swww img ~/.wallpaper.jpg" ]; } 14 14 { argv = [ "waybar" ]; } 15 - { argv = [ "vesktop" ]; } 15 + { argv = [ "sleep 2; vesktop" ]; } 16 16 ]; 17 17 18 18 screenshot-path = "~/screenshots/%Y-%m-%d_%H-%M-%S.png";
+7 -3
systems/miku/default.nix
··· 47 47 48 48 environment.systemPackages = with pkgs; [ cloudflared ]; 49 49 50 - age.secrets.cloudflared = { 51 - file = ../../secrets/cloudflared.pem.age; 52 - mode = "0400"; 50 + age = { 51 + identityPaths = [ "/home/adam/.ssh/id_ed25519" ]; 52 + 53 + secrets.cloudflared = { 54 + file = ../../secrets/cloudflared.pem.age; 55 + mode = "0400"; 56 + }; 53 57 }; 54 58 55 59 systemd.services.cloudflared = {