Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, pkgs, lib, ... }:
- {
- home.username = "veagle";
- home.homeDirectory = "/home/veagle";
- programs.home-manager.enable = true;
- home.packages = with pkgs; [
- htop
- neofetch
- hyprland
- hyprlock
- hyprpaper
- pavucontrol # for audio controls
- waybar
- wlogout
- gtk3
- fuzzel
- kitty
- wl-clipboard
- cliphist
- grim
- slurp
- hyprshot
- blueman
- xdg-desktop-portal-gtk
- kdePackages.okular # Feature-rich
- # Or try: evince or zathura
- # 🛠 Optional helpful tools
- unzip
- wget
- git
- # Messaging Apps
- signal-desktop
- #whatsapp-for-linux
- #telegram-desktop
- brave
- # Youtube
- yt-dlp # for downloading videos
- mpv # to stream YouTube via CLI
- #freetube # GUI YouTube client (privacy-respecting)
- # VPN
- protonvpn-gui # ProtonVPN GUI client (needs setup and login)
- openvpn # Required for many VPNs
- #(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
- # File Manager
- xdg-desktop-portal # required for opening files with apps
- gvfs # Needed for mounting drives and trash support
- kdePackages.dolphin
- kdePackages.kio-extras
- kdePackages.baloo
- kdePackages.kdegraphics-thumbnailers
- kdePackages.ffmpegthumbs
- kdePackages.breeze
- kdePackages.breeze-icons
- kdePackages.oxygen
- kdePackages.polkit-kde-agent-1
- swaynotificationcenter
- # Add more user-level packages here
- ];
- # Enable some basic programs
- programs.zsh.enable = true;
- programs.git.enable = true;
- programs.bash = {
- enable = true;
- shellAliases = {
- ns = "sudo nixos-rebuild switch --flake ~/nixos-config#veagle";
- #ns = "home-manager switch --flake /home/veagle/nixos-config#veagle";
- hm = "nix run ~/nixos-config#homeConfigurations.veagle.activationPackage";
- #Optional: clean, boot, etc., depending on what else you want
- nb = "sudo nixos-rebuild boot --flake /home/veagle/nixos-config#veagle";
- ntest = "sudo nixos-rebuild build --flake /home/veagle/nixos-config#veagle";
- nclean = "sudo nix-collect-garbage -d";
- };
- };
- programs.zoxide = {
- enable = true;
- enableZshIntegration = true;
- enableBashIntegration = true;
- };
- # Wallpaper Via Hyprpaper ChatGPT Suggestion
- xdg.configFile."hypr/hyprpaper.conf".text = ''
- preload = ~/.config/wallpapers/mywall.png
- wallpaper = eDP-1,~/.config/wallpapers/mywall.png
- '';
- # Waybar Nick's modules/home/gui/desktop/wayland/waybar/config
- programs.waybar = {
- enable = true;
- settings = [
- {
- layer = "top";
- position = "bottom";
- height = 5;
- spacing = 10;
- margin-top = 0;
- margin-bottom = 5;
- margin-left = 10;
- margin-right = 10;
- modules-left = [
- "custom/launcher"
- "custom/exit"
- ];
- modules-center = [ "hyprland/workspaces" ];
- modules-right = [
- "bluetooth"
- "tray"
- "privacy"
- "pulseaudio"
- "battery"
- "network"
- "clock"
- ];
- "custom/launcher" = {
- format = "";
- on-click = "fuzzel";
- tooltip = false;
- };
- "custom/exit" = {
- format = "";
- on-click = "wlogout";
- tooltip-format = "Power Menu";
- };
- "hyprland/workspaces" = {
- active-only = false;
- disable-scroll = true;
- format = "{name}: {icon}";
- on-click = "activate";
- format-icons = {
- "1" = " ";
- "2" = " ";
- "3" = " ";
- "4" = " ";
- "5" = " ";
- urgent = " ";
- default = " ";
- sort-by-number = true;
- };
- # persistent-workspaces = {
- # "1" = [ ];
- # "2" = [ ];
- # "3" = [ ];
- # "4" = [ ];
- # "5" = [ ];
- # };
- };
- "bluetooth" = {
- format = "{status}";
- format-disabled = "";
- format-off = "";
- interval = 30;
- on-click = "blueman-applet";
- format-no-controller = "";
- };
- "tray" = {
- icon-size = 12;
- spacing = 8;
- };
- "privacy" = {
- icon-spacing = 8;
- icon-size = 12;
- transition-duration = 250;
- modules = {
- screenshare = {
- type = "screenshare";
- tooltip = true;
- tooltip-icon-size = 12;
- };
- audio-out = {
- type = "audio-out";
- tooltip = true;
- tooltip-icon-size = 12;
- };
- audio-in = {
- type = "audio-in";
- tooltip = true;
- tooltip-icon-size = 12;
- };
- };
- };
- "pulseaudio" = {
- format = "{icon} {volume}%";
- tooltip = false;
- format-muted = " Muted";
- on-click = "pavucontrol";
- on-scroll-up = "pactl set-sink-volume @DEFAULT_SINK@ +5%";
- on-scroll-down = "pactl set-sink-volume @DEFAULT_SINK@ -5%";
- scroll-step = 5;
- format-icons = {
- headphone = "";
- hands-free = "";
- headset = "";
- phone = "";
- portable = "";
- car = "";
- default = [
- ""
- ""
- ""
- ];
- };
- };
- "battery" = {
- format = "{icon} {capacity}%";
- format-alt = "{icon} {time}";
- format-charging = " {capacity}%";
- format-icons = [
- ""
- ""
- ""
- ""
- ""
- ];
- format-plugged = " {capacity}%";
- states = {
- critical = 15;
- warning = 30;
- };
- };
- "network" = {
- format-wifi = " {signalStrength}%";
- format-ethernet = " ";
- tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
- format-linked = "{ifname} (No IP)";
- format-disconnected = " ";
- };
- "clock" = {
- calendar = {
- format = {
- today = "<span color='#ff6699'><b><u>{}</u></b></span>";
- };
- };
- format = " {:%H:%M}";
- tooltip = true;
- tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
- format-alt = " {:%d/%m}";
- };
- }
- ];
- style = ''
- * {
- min-height: 34px;
- border-radius:0;
- font-family: "TeX Gyre Termes";
- font-weight: bold;
- }
- window#waybar {
- background: #000000;
- color: #d197d9;
- border: 2px solid;
- border-radius: 30px;
- border-color: #d197d9;
- opacity: 0.7;
- }
- #workspaces {
- font-size: 18px;
- padding-left: 5px;
- margin-bottom: 0px;
- }
- #workspaces button {
- color: #a0a09f;
- padding: 0px 5px 0px 5px;
- opacity: 1;
- }
- #workspaces button.active {
- color: #a0a09f;
- }
- #privacy {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #tray {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #pulseaudio {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #clock {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #battery {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #custom-launcher {
- font-size: 20px;
- color: #a0a09f;
- font-weight: bold;
- padding-left: 10px;
- padding-right: 10px;
- }
- '';
- };
- # Wlogout
- programs.wlogout = {
- enable = true;
- style = ''
- * {
- back-ground-image: none;
- box-shadow: none;
- window: {
- background-color: rgb(12, 12, 12, 1);
- }
- }
- '';
- };
- # Kitty
- programs.kitty = {
- enable = true;
- themeFile = "Catppuccin-Mocha";
- };
- # Blueman
- services.blueman-applet = {
- enable = true;
- };
- gtk = {
- enable = true;
- theme.name = "Nordic";
- iconTheme.name = "Papirus-Dark";
- };
- # Set home-manager version compatibility
- home.stateVersion = "24.11"; # Match your system.stateVersion
- # In home.nix recommended by Chatgpt
- home.sessionVariables = {
- LANG = "en_US.UTF-8";
- };
- programs.fuzzel = {
- enable = true;
- settings = {
- main = {
- font = "FiraCode Nerd Font:size=12";
- prompt = "Run: ";
- terminal = "alacritty";
- width = 50;
- };
- colors = {
- background = "282a36dd";
- text = "f8f8f2ff";
- match = "ff79c6ff";
- selection = "44475add";
- selection-text = "f8f8f2ff";
- };
- };
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement