diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-03-30 20:46:26 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-03-30 20:46:26 +0200 |
| commit | 67e324107e05f3245ddac034607afd0e1dea478f (patch) | |
| tree | d14a4b6e98fc707c72e24f0879b0e4297aaad78f /home/mun | |
| parent | 2316eab54de77c351e88c5657eeaaa703ff4c498 (diff) | |
Refactored the entire configuration
Diffstat (limited to 'home/mun')
| -rw-r--r-- | home/mun/default.nix | 104 | ||||
| -rw-r--r-- | home/mun/programs/git.nix | 9 | ||||
| -rw-r--r-- | home/mun/programs/ssh.nix | 17 | ||||
| -rw-r--r-- | home/mun/programs/zsh.nix | 24 |
4 files changed, 154 insertions, 0 deletions
diff --git a/home/mun/default.nix b/home/mun/default.nix new file mode 100644 index 0000000..678f21e --- /dev/null +++ b/home/mun/default.nix @@ -0,0 +1,104 @@ +{pkgs, ...}: { + imports = [ + ./programs/zsh.nix + ./programs/ssh.nix + ./programs/git.nix + ../rices/nord-blue + ]; + + home = { + username = "mun"; + homeDirectory = "/home/mun"; + stateVersion = "25.11"; + + packages = with pkgs; [ + # Development + clippy + ruff + + # Applications + discord + spotify + openrocket + kicad + + # Utilities + pay-respects + zathura + ripgrep + fd + git + lazygit + tree-sitter + gcr + perl + gnome-disk-utility + syncthing + + # CLI Tools + bat + tealdeer + claude-code + + # Fun + peaclock + kdePackages.kdenlive + dwarf-fortress + dwarf-fortress-packages.themes.spacefox + tetris + minefair + + # Documents & Creative + thunderbird + libreoffice + texstudio + krita + aseprite + audacity + + # Network + clipman + xclip + qbittorrent + + # Gaming + godotPackages_4_5.godot + prismlauncher + vlc + + # Editors + obsidian + vscodium + peazip + + # Wine/Compatibility + wine + bottles + lutris + + # File manager + xfce.thunar + + # TeX Live + (texlive.combine { + inherit (texlive) scheme-full; + notestex = texlivePackages.notestex; + screenplay = texlivePackages.screenplay; + }) + + # RetroArch + (retroarch.withCores (cores: + with cores; [ + fceumm + mgba + gambatte + sameboy + ])) + ]; + + sessionVariables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + }; + }; +} diff --git a/home/mun/programs/git.nix b/home/mun/programs/git.nix new file mode 100644 index 0000000..7addeb0 --- /dev/null +++ b/home/mun/programs/git.nix @@ -0,0 +1,9 @@ +{...}: { + programs.git = { + enable = true; + settings.user = { + name = "mun"; + # email = "your@email.com"; # Uncomment and set your email + }; + }; +} diff --git a/home/mun/programs/ssh.nix b/home/mun/programs/ssh.nix new file mode 100644 index 0000000..7d13317 --- /dev/null +++ b/home/mun/programs/ssh.nix @@ -0,0 +1,17 @@ +{...}: { + programs.ssh = { + enable = true; + enableDefaultConfig = false; + matchBlocks = { + "*" = { + addKeysToAgent = "yes"; + forwardAgent = false; + }; + "cgit" = { + user = "git"; + hostname = "cgit"; + identityFile = "~/.ssh/cgit"; + }; + }; + }; +} diff --git a/home/mun/programs/zsh.nix b/home/mun/programs/zsh.nix new file mode 100644 index 0000000..26756ae --- /dev/null +++ b/home/mun/programs/zsh.nix @@ -0,0 +1,24 @@ +{...}: { + programs.zsh = { + enable = true; + syntaxHighlighting.enable = true; + + shellAliases = { + ll = "ls -l"; + rebuild = "sudo nixos-rebuild switch"; + edit = "sudo vi /etc/nixos/configuration.nix"; + }; + + history.size = 10000; + + oh-my-zsh = { + enable = true; + plugins = ["git"]; + theme = "simple"; + }; + + initContent = '' + fastfetch --config examples/9.jsonc + ''; + }; +} |
