diff options
author | rubiigen <alyxwren@proton.me> | 2024-02-02 18:29:45 +0000 |
---|---|---|
committer | Frankie B <frankieraybrown@gmail.com> | 2024-02-02 18:39:57 +0000 |
commit | d666f30475528ce7f50cc3dd92a1693241083fe8 (patch) | |
tree | 5b443f79a7100f2db735853335df81d9a7b95cc3 /homes/floppydisk/default.nix | |
parent | ea3485f5c5dac7f89562db741bf981b2b743d01c (diff) |
major refactor (treewide amongst general cleaning based on my modified dots (with help from notashelf) - perks 1: it works
Diffstat (limited to 'homes/floppydisk/default.nix')
-rw-r--r-- | homes/floppydisk/default.nix | 278 |
1 files changed, 69 insertions, 209 deletions
diff --git a/homes/floppydisk/default.nix b/homes/floppydisk/default.nix index c16ded5..658c64c 100644 --- a/homes/floppydisk/default.nix +++ b/homes/floppydisk/default.nix @@ -1,240 +1,100 @@ -# This is your home-manager configuration file -# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix) { - inputs, pkgs, + lib, + inputs, ... }: { - # You can import other home-manager modules here imports = [ - # If you want to use modules your own flake exports (from modules/home-manager): - # outputs.homeManagerModules.example - - # Or modules exported from other flakes (such as nix-colors): - # inputs.nix-colors.homeManagerModules.default - - # You can also split up your configuration and import pieces of it here: - ./neovim-flake.nix ./arrpc.nix + ./packages.nix # home.packages and similar stuff + ./neovim-flake.nix ]; home = { username = "floppydisk"; homeDirectory = "/home/floppydisk"; - file.".config/hypr/hyprpaper.conf".text = '' - preload = ${/. + ../../misc/wallpapers/oneshot-1.jpg} - wallpaper = ,${/. + ../../misc/wallpapers/oneshot-1.jpg} - ''; - packages = with pkgs; [ - # Utils - handbrake - thunderbird - picard - realvnc-vnc-viewer - rpi-imager - obs-studio - yt-dlp - _1password-gui - _1password - git-credential-1password - firefox-devedition - inputs.arrpc.packages.${pkgs.system}.arrpc - rdesktop - _3llo - gimp - qemu - virt-manager - exactaudiocopy - fsv - lsd - lsdvd - thefuck - zip - unzip - notion-app-enhanced - libresprite - qbittorrent - wine - vifm - cloudflared - ansible - just - pwgen - grafx2 - libreoffice-fresh - wiki-tui - calcurse - - # Fetch - neofetch - yafetch - cpufetch - bunnyfetch - nitch - screenfetch - starfetch - - # DevTools - github-desktop - gh - codeql - vscode - jetbrains.ruby-mine - jetbrains.rider - jetbrains.phpstorm - jetbrains.idea-ultimate - jetbrains.webstorm - lazygit - wakatime - mongodb-compass - mongosh - httpie - ngrok - mycli - squirrel-sql - figma-linux - - # Langs - openscad - nodejs_18 - nodePackages.yarn - nodePackages.ts-node - nodePackages.pnpm - php82 - php82Packages.composer - deno - python310 - python310Packages.pip - python310Packages.discordpy - dotnet-sdk - jdk17 - maven - purescript - lua - flutter - - # Comms - nheko - element-desktop - (discord.override { - withOpenASAR = true; - withVencord = true; - }) - caprine-bin - teamspeak5_client - - # Gaming - rpcs3 - pcsxr - pcsx2 - steam - gzdoom - minecraft - dolphin-emu - prismlauncher - fceux - snes9x - heroic - openrct2 - osu-lazer-bin + file.".config/lockonsleep/config.sh".source = ./lock.sh; + }; - # Media - vlc - libsForQt5.vvave - tidal-hifi - spotify-tui - youtube-tui - mpv + wayland.windowManager.hyprland = { + enable = true; + systemd.enable = true; + settings = import ./hyprland.nix; + }; - # zsh Themes - zsh-powerlevel10k - ]; + programs.waybar = { + enable = true; + settings = import ./waybar.nix; + style = import ./waybar-style.nix; }; - # Add stuff for your user as you see fit: - programs = { - # Enable home-manager - home-manager.enable = true; + services.udiskie.enable = true; - # Enable z-shell - zsh = { - enable = true; - shellAliases = { - ls = "lsd"; - ll = "ls -l"; - la = "ls -la"; - }; - history = { - size = 10000; - path = "$HOME/.config/zsh/history"; - }; - oh-my-zsh = { - enable = true; - plugins = [ - "git" - "thefuck" - ]; - custom = "$HOME/.oh-my-custom"; - theme = "powerlevel10k/powerlevel10k"; - }; - plugins = [ - { - name = "powerlevel10k"; - src = pkgs.zsh-powerlevel10k; - file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; - } - ]; - initExtra = '' - source ~/.p10k.zsh - ''; + programs.zsh = { + enable = true; + shellAliases = { + ls = "lsd"; + ll = "ls -l"; + la = "ls -la"; }; - - # enable git and configure users - git = { - enable = true; - userName = "Frankie B."; - userEmail = "git@diskfloppy.me"; - extraConfig = { - # Sign all commits using ssh key - commit.gpgsign = true; - gpg.format = "ssh"; - user.signingkey = "~/.ssh/id_ed25519.pub"; - init.defaultBranch = "master"; - }; + history = { + size = 10000; + path = "$HOME/.config/zsh/history"; }; - - irssi = { + oh-my-zsh = { enable = true; - networks = { - znc = { - nick = "floppydisk"; - server = { - address = "irc.nick99nack.com"; - port = 8888; - autoConnect = true; - ssl.enable = false; - }; - }; - }; + plugins = [ + "git" + "thefuck" + ]; + custom = "$HOME/.oh-my-custom"; + theme = "powerlevel10k/powerlevel10k"; }; + plugins = [ + { + name = "powerlevel10k"; + src = pkgs.zsh-powerlevel10k; + file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; + } + ]; + initExtra = '' + source ~/.p10k.zsh + ''; }; - wayland.windowManager.hyprland = { + programs.git = { enable = true; - systemdIntegration = true; - package = inputs.hyprland.packages.${pkgs.system}.hyprland; - settings = import ./hyprland.nix; + userName = "Frankie B."; + userEmail = "git@diskfloppy.me"; + extraConfig = { + commit.gpgsign = true; + gpg.format = "ssh"; + user.signingkey = "~/.ssh/id_ed25519.pub"; + init.defaultBranch = "master"; + }; }; - programs.waybar = { + programs.irssi = { enable = true; - settings = import ./waybar.nix; - style = import ./waybar-style.nix; + networks = { + znc = { + nick = "floppydisk"; + server = { + address = "irc.nick99nack.com"; + port = 8888; + autoConnect = true; + ssl.enable = false; + }; + }; + }; }; - # Nicely reload system units when changing configs - systemd.user.startServices = "sd-switch"; + # let HM manage itself when in standalone mode + programs.home-manager.enable = true; + + # Nicely reload system(d) units when changing configs + systemd.user.startServices = lib.mkDefault "sd-switch"; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion - home.stateVersion = "22.11"; + home.stateVersion = "24.05"; } |