From 1acc74fdf604add098a75f7f181ee5eaa6bac27b Mon Sep 17 00:00:00 2001 From: fabricsoul Date: Tue, 25 Feb 2025 17:34:04 -0500 Subject: [PATCH] refactor: hyprpanel --- configuration.nix | 135 ------ hardware-configuration.nix | 38 -- home.nix | 768 ------------------------------ home/fabric/default.nix | 56 --- home/fabric/desktop/hyprpanel.nix | 6 +- 5 files changed, 3 insertions(+), 1000 deletions(-) delete mode 100644 configuration.nix delete mode 100644 hardware-configuration.nix delete mode 100644 home.nix diff --git a/configuration.nix b/configuration.nix deleted file mode 100644 index 2925048..0000000 --- a/configuration.nix +++ /dev/null @@ -1,135 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). -{ - config, - pkgs, - ... -}: { - nix.settings.experimental-features = ["nix-command" "flakes"]; - imports = [ - # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - networking.hostName = "Tatara"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager.enable = true; - - # Set your time zone. - time.timeZone = "America/Toronto"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_CA.UTF-8"; - - # Configure keymap in X11 - services = { - xserver.xkb = { - layout = "us"; - variant = ""; - }; - }; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.fabric = { - isNormalUser = true; - description = "fabric"; - extraGroups = ["networkmanager" "wheel" "docker"]; - shell = pkgs.zsh; - }; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. - # wget - greetd.greetd - greetd.tuigreet - libinput - libnotify - kitty - zsh - ollama - ]; - - fonts.packages = with pkgs; [nerdfonts]; - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - # List services that you want to enable: - - # Enable the OpenSSH daemon. - services = { - ollama = { - enable = true; - acceleration = "cuda"; - }; - }; - services.openssh.enable = true; - services.greetd = { - enable = true; - settings = { - default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time "; - user = "fabric"; - }; - }; - }; - services.displayManager = { - defaultSession = "hyprland"; - }; - services.xserver.videoDrivers = ["nvidia"]; - - hardware = { - graphics = { - enable = true; - }; - nvidia = { - modesetting.enable = true; - powerManagement.enable = false; - powerManagement.finegrained = false; - open = false; - nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; - }; - }; - programs = { - steam.enable = true; - hyprland.enable = true; - zsh.enable = true; - }; - - virtualisation.docker.enable = true; - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - #this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.11"; # Did you read the comment? -} diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 5364690..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,38 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/1cc325bd-91a6-4c69-9593-e2cb27363c93"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/EF24-B12A"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = [ ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp5s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/home.nix b/home.nix deleted file mode 100644 index b198e20..0000000 --- a/home.nix +++ /dev/null @@ -1,768 +0,0 @@ -{ - config, - pkgs, - hyprpanel, - pkgsUnstable, - nixvim, - ... -}: { - nixpkgs.config = { - allowUnfree = true; - }; - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "fabric"; - home.homeDirectory = "/home/fabric"; - home.stateVersion = "24.11"; - - home.packages = with pkgs; [ - git - kitty - firefox - mpv - nerdfonts - tmux - discord - fzf - yazi - zsh - pavucontrol - wofi - deno - hyprpanel - alejandra - rustup - tmuxPlugins.sensible - tmuxPlugins.vim-tmux-navigator - tmuxPlugins.onedark-theme - nodePackages.prettier - nodePackages.tailwindcss - prettierd - nodejs_23 - qbittorrent - go - gccgo14 - hypridle - dprint - code-cursor - delve - ldtk - libresprite - ]; - - home.sessionVariables = { - EDITOR = "nvim"; - SHELL = "zsh"; - }; - - # Let Home Manager install and manage itself. - programs = { - # hypridle = { - # enable = true; - # - # listener = [ - # { - # timeout = 300; - # on-timeout = "hyprctl dispatch dpms off"; - # on-resume = "hyprctl dispatch dpms on"; - # } - # ]; - # }; - home-manager.enable = true; - zsh = { - enable = true; - autosuggestion = { - enable = true; - }; - oh-my-zsh = { - enable = true; - plugins = [ - "vi-mode" - ]; - }; - initExtra = '' - export PATH="/home/fabric/.deno/bin:$PATH" - export PATH=$PATH:(go env GOPATH)/bin - - alias wails='$(go env GOPATH)/bin/wails' - ''; - }; - oh-my-posh = { - enable = true; - enableZshIntegration = true; - useTheme = "easy-term"; - }; - - nixvim = { - enable = true; - plugins = { - cmp-dictionary.enable = true; - cmp-spell.enable = true; - toggleterm = { - enable = true; - }; - web-devicons.enable = true; - nix.enable = true; - bufferline.enable = true; - lualine.enable = true; - luasnip.enable = true; - yanky = { - enable = true; - settings = { - highlight.timer = 150; - }; - }; - ts-comments.enable = true; - telescope = { - enable = true; - keymaps = { - " " = { - action = "git_files"; - }; - }; - settings = { - defaults = { - file_ignore_patterns = [ - "^.git/" - "^.mypy_cache/" - "^__pycache__/" - "^output/" - "^data/" - "%.ipynb" - "^node_modules/" - "^.next/" - "%.env" - "%.env.local" - "%.env.development.local" - "%.env.test.local" - "%.env.production.local" - "^npm-debug.log" - "^yarn-debug.log" - "^yarn-error.log" - "^.vercel/" - "^.turbo/" - "^build/" - "^.DS_Store" - "^.tailwindcss/" - "^tailwind.config.js.backup" - "%.css.map" - "^styles/dist/" - ]; - }; - }; - }; - treesitter = { - enable = true; - settings = { - highlight.enable = true; - indent.enable = true; - auto_install = true; - ensure_installed = [ - "bash" - "c" - "diff" - "html" - "javascript" - "jsdoc" - "json" - "jsonc" - "lua" - "luadoc" - "luap" - "markdown" - "markdown_inline" - "printf" - "python" - "query" - "regex" - "toml" - "tsx" - "typescript" - "vim" - "vimdoc" - "xml" - "yaml" - ]; - }; - }; - snacks = { - enable = true; - }; - indent-blankline.enable = true; - harpoon = { - enable = true; - keymaps = { - addFile = "ha"; - toggleQuickMenu = ""; - navFile = { - "1" = "h;"; - "2" = "h,"; - "3" = "h."; - "4" = "hp"; - }; - }; - }; - yazi.enable = true; - gitsigns = { - enable = true; - settings = { - current_line_blame = true; - current_line_blame_opts = { - virt_text = true; - virt_text_pos = "eol"; - }; - signcolumn = true; - signs = { - add = { - text = "+"; - }; - change = { - text = "▎"; - }; - changedelete = { - text = "-"; - }; - delete = { - text = "-"; - }; - topdelete = { - text = "-"; - }; - untracked = { - text = "!"; - }; - }; - watch_gitdir = { - follow_files = true; - }; - }; - }; - conform-nvim = { - enable = true; - settings = { - formatters_by_ft = { - nix = ["alejandra"]; - markdown = ["dprint"]; - # Use prettierd first, fallback to prettier - javascript = { - __unkeyed-1 = "prettierd"; - __unkeyed-2 = "prettier"; - stop_after_first = true; - }; - typescript = { - __unkeyed-1 = "prettierd"; - __unkeyed-2 = "prettier"; - stop_after_first = true; - }; - javascriptreact = { - __unkeyed-1 = "prettierd"; - __unkeyed-2 = "prettier"; - stop_after_first = true; - }; - typescriptreact = { - __unkeyed-1 = "prettierd"; - __unkeyed-2 = "prettier"; - stop_after_first = true; - }; - css = ["prettier"]; - scss = ["prettier"]; - html = ["prettier"]; - json = ["prettier"]; - # Run on all files - "_" = ["trim_whitespace" "trim_newlines"]; - }; - format_on_save = { - timeout_ms = 500; - lsp_fallback = true; - }; - formatters = { - prettier = { - command = "prettier"; - args = [ - "--plugin=prettier-plugin-tailwindcss" - "--print-width=80" - "--tab-width=2" - "--use-tabs=false" - "--semi=true" - "--single-quote=false" - "--trailing-comma=es5" - "--bracket-spacing=true" - ]; - }; - # Optional: Add prettierd for faster formatting - prettierd = { - command = "prettierd"; - args = ["$FILENAME"]; - }; - }; - # Additional useful settings from the docs - log_level = "warn"; - notify_on_error = true; - notify_no_formatters = false; - }; - }; - which-key.enable = true; - undotree = { - enable = true; - }; - mini = { - enable = true; - modules = { - pairs.enable = true; - starter = { - enable = true; - header = '' - ███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ - ████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║ - ██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║ - ██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║ - ██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║ - ''; - }; - surround = { - enable = true; - mappings = { - add = "gsa"; - delete = "gsd"; - find = "gsf"; - find_left = "gsF"; - highlight = "gsh"; - replace = "gsr"; - update_n_lines = "gsn"; - }; - }; - }; - }; - todo-comments.enable = true; - persistence.enable = true; - friendly-snippets.enable = true; - lsp = { - enable = true; - inlayHints = true; - servers = { - ts_ls.enable = true; - eslint.enable = true; - nil_ls.enable = true; - tailwindcss.enable = true; - gopls.enable = true; - rust_analyzer = { - enable = true; - installCargo = true; - installRustc = true; - installRustfmt = true; - }; - }; - }; - cmp = { - enable = true; - autoEnableSources = true; - settings = { - sources = [ - {name = "nvim_lsp";} - {name = "path";} - {name = "buffer";} - {name = "luasnip";} - {name = "dictionary";} - ]; - mapping = { - __raw = '' - cmp.mapping.preset.insert({ - [""] = cmp.mapping.select_next_item(), - [""] = cmp.mapping.select_prev_item(), - [""] = cmp.mapping.confirm(), - [""] = cmp.mapping.confirm(), - }) - ''; - }; - }; - }; - tmux-navigator.enable = true; - vim-suda.enable = true; - }; - globals.mapleader = " "; - opts = { - relativenumber = true; - number = true; - tabstop = 2; - shiftwidth = 2; - expandtab = true; - autoindent = true; - wrap = false; - cursorline = true; - mouse = "a"; - clipboard = "unnamedplus"; - splitright = true; - splitbelow = true; - ignorecase = true; - smartcase = true; - termguicolors = true; - signcolumn = "yes"; - scrolloff = 12; - shada = "'1000,f1,<500,%"; - guicursor = ""; - colorcolumn = "80"; - }; - keymaps = [ - { - mode = "n"; - key = ""; - action = "h"; - options = { - desc = "Go to Left Window"; - remap = true; - }; - } - { - mode = "n"; - key = ""; - action = "j"; - options = { - desc = "Go to Lower Window"; - remap = true; - }; - } - { - mode = "n"; - key = ""; - action = "k"; - options = { - desc = "Go to Upper Window"; - remap = true; - }; - } - { - mode = "n"; - key = ""; - action = "l"; - options = { - desc = "Go to Right Window"; - remap = true; - }; - } - - # Window resizing - { - mode = "n"; - key = ""; - action = "resize +2"; - options.desc = "Increase Window Height"; - } - { - mode = "n"; - key = ""; - action = "resize -2"; - options.desc = "Decrease Window Height"; - } - { - mode = "n"; - key = ""; - action = "vertical resize -2"; - options.desc = "Decrease Window Width"; - } - { - mode = "n"; - key = ""; - action = "vertical resize +2"; - options.desc = "Increase Window Width"; - } - { - action = ":UndotreeToggle"; - key = "u"; - mode = ["n"]; - } - { - action = ":m '>+1gv=gv"; - key = "J"; - mode = ["v"]; - } - { - action = ":m '<-2gv=gv"; - key = "K"; - mode = ["v"]; - } - { - mode = "n"; - key = "sv"; - action = "v"; - } - { - mode = "n"; - key = "sh"; - action = "s"; - } - { - mode = "n"; - key = "e"; - action = ":Yazi"; - } - { - mode = "n"; - key = ""; - action = "zz"; - } - { - mode = "n"; - key = ""; - action = "zz"; - } - { - mode = "x"; - key = "p"; - action = "\"_dP"; - } - - # Toggleterm - { - mode = "n"; - key = "t"; - action = ":ToggleTerm direction=float"; - } - ]; - colorschemes.rose-pine.enable = true; - }; - - git = { - enable = true; - userName = "FabricSoul"; - userEmail = "fabric.soul7@gmail.com"; - }; - tmux = { - enable = true; - plugins = with pkgs.tmuxPlugins; [ - sensible - onedark-theme - vim-tmux-navigator - ]; - - # General settings - baseIndex = 1; - mouse = true; - keyMode = "vi"; - - # Custom key bindings - extraConfig = '' - # Set pane base index - setw -g pane-base-index 1 - - # Vi copy mode bindings - bind-key -T copy-mode-vi v send-keys -X begin-selection - bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" - bind-key P paste-buffer - bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy" - ''; - }; - hyprpanel = { - # Enable the module. - # Default: false - enable = true; - - # Automatically restart HyprPanel with systemd. - # Useful when updating your config so that you - # don't need to manually restart it. - # Default: false - - # Add '/nix/store/.../hyprpanel' to the - # 'exec-once' in your Hyprland config. - # Default: false - hyprland.enable = true; - - # Fix the overwrite issue with HyprPanel. - # See below for more information. - # Default: false - overwrite.enable = false; - - # Import a specific theme from './themes/*.json'. - # Default: "" - theme = "rose_pine_moon_split"; - - # Configure bar layouts for monitors. - # See 'https://hyprpanel.com/configuration/panel.html'. - # Default: null - layout = { - "bar.layouts" = { - "0" = { - left = ["dashboard" "workspaces" "windowtitle"]; - middle = ["clock"]; - right = ["volume" "network" "bluetooth" "systray" "media" "notifications"]; - }; - }; - }; - - # Configure and theme *most* of the options from the GUI. - # See './nix/module.nix:103'. - # Default: - settings = { - bar.launcher.autoDetectIcon = true; - bar.workspaces.show_icons = true; - - menus.clock = { - time = { - military = true; - hideSeconds = false; - }; - weather.unit = "metric"; - }; - - menus.dashboard.directories.enabled = false; - menus.dashboard.stats.enable_gpu = true; - - theme.bar.transparent = false; - - theme.font = { - name = "CaskaydiaCove NF"; - size = "16px"; - }; - }; - }; - kitty = { - enable = true; - settings = { - # Basic settings - enable_audio_bell = false; - font_family = "FiraCodeNerdFont"; - bold_font = "auto"; - italic_font = "auto"; - bold_italic_font = "auto"; - font_size = 11; - background_opacity = "0.80"; - confirm_os_window_close = 0; - - # Basic colors - foreground = "#CDD6F4"; - background = "#1E1E2E"; - selection_foreground = "#1E1E2E"; - selection_background = "#F5E0DC"; - - # Cursor colors - cursor = "#F5E0DC"; - cursor_text_color = "#1E1E2E"; - - # URL underline color - url_color = "#F5E0DC"; - - # Window border colors - active_border_color = "#B4BEFE"; - inactive_border_color = "#6C7086"; - bell_border_color = "#F9E2AF"; - - # OS Window titlebar colors - wayland_titlebar_color = "#1E1E2E"; - macos_titlebar_color = "#1E1E2E"; - - # Tab bar colors - active_tab_foreground = "#11111B"; - active_tab_background = "#CBA6F7"; - inactive_tab_foreground = "#CDD6F4"; - inactive_tab_background = "#181825"; - tab_bar_background = "#11111B"; - - # Mark colors - mark1_foreground = "#1E1E2E"; - mark1_background = "#B4BEFE"; - mark2_foreground = "#1E1E2E"; - mark2_background = "#CBA6F7"; - mark3_foreground = "#1E1E2E"; - mark3_background = "#74C7EC"; - - # The 16 terminal colors - color0 = "#45475A"; - color8 = "#585B70"; - color1 = "#F38BA8"; - color9 = "#F38BA8"; - color2 = "#A6E3A1"; - color10 = "#A6E3A1"; - color3 = "#F9E2AF"; - color11 = "#F9E2AF"; - color4 = "#89B4FA"; - color12 = "#89B4FA"; - color5 = "#F5C2E7"; - color13 = "#F5C2E7"; - color6 = "#94E2D5"; - color14 = "#94E2D5"; - color7 = "#BAC2DE"; - color15 = "#A6ADC8"; - }; - }; - }; - wayland.windowManager.hyprland = { - enable = true; - settings = { - "$mainMod" = "SUPER"; - "$terminal" = "kitty"; - "$fileManager " = "dolphin"; - "$menu" = "wofi --show drun"; - - general = { - gaps_in = 0; - gaps_out = "0, 600, 0, 600"; - }; - - input = { - "repeat_delay" = 300; - "repeat_rate" = 50; - }; - - exec-once = [ - # "hypridle" - ]; - - windowrule = [ - "workspace 6 silent,^(discord)$" - "workspace 4 silent,^(kitty)$" - "workspace 5 silent,^(firefox)$" - ]; - - # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more - bind = [ - "$mainMod, T, exec, $terminal" - "$mainMod, Q, killactive" - "$mainMod, M, exit" - "$mainMod, E, exec, $fileManager" - "$mainMod, V, togglefloating" - "$mainMod, SPACE, exec, $menu" - # "$mainMod, P, pseudo" # dwindle - # "$mainMod, J, togglesplit" # dwindle - - # Move focus with mainMod + arrow keys - "$mainMod, H, movefocus, l" - "$mainMod, L, movefocus, r" - "$mainMod, K, movefocus, u" - "$mainMod, J, movefocus, d" - - # Switch workspaces with mainMod + [0-9] - "$mainMod, 1, workspace, 1" - "$mainMod, 2, workspace, 2" - "$mainMod, 3, workspace, 3" - "$mainMod, 4, workspace, 4" - "$mainMod, 5, workspace, 5" - "$mainMod, 6, workspace, 6" - "$mainMod, 7, workspace, 7" - "$mainMod, 8, workspace, 8" - "$mainMod, 9, workspace, 9" - "$mainMod, 0, workspace, 10" - - # Move active window to a workspace with mainMod + SHIFT + [0-9] - "$mainMod SHIFT, 1, movetoworkspace, 1" - "$mainMod SHIFT, 2, movetoworkspace, 2" - "$mainMod SHIFT, 3, movetoworkspace, 3" - "$mainMod SHIFT, 4, movetoworkspace, 4" - "$mainMod SHIFT, 5, movetoworkspace, 5" - "$mainMod SHIFT, 6, movetoworkspace, 6" - "$mainMod SHIFT, 7, movetoworkspace, 7" - "$mainMod SHIFT, 8, movetoworkspace, 8" - "$mainMod SHIFT, 9, movetoworkspace, 9" - "$mainMod SHIFT, 0, movetoworkspace, 10" - ]; - # monitor = [ - # "DP-3,preferred,auto,1,workspace=1,addreserved,200,200,0,0" - # ]; - }; - }; - - services = { - # hypridle.enable = true; - }; - home.sessionVariables.NIXOS_OZONE_WL = "1"; - - fonts.fontconfig.enable = true; -} diff --git a/home/fabric/default.nix b/home/fabric/default.nix index fb445a8..1a537c1 100644 --- a/home/fabric/default.nix +++ b/home/fabric/default.nix @@ -71,62 +71,6 @@ libresprite ]; - # Wayland settings for hyprpanel - wayland.windowManager.hyprland.settings = { - exec-once = [ - "${pkgs.hyprpanel}/bin/hyprpanel" - ]; - }; - - programs.hyprpanel = { - # Enable the module. - enable = true; - - # Add to Hyprland config - hyprland.enable = true; - - # Fix the overwrite issue - overwrite.enable = false; - - # Import a theme - theme = "rose_pine_moon_split"; - - # Configure bar layouts for monitors - layout = { - "bar.layouts" = { - "0" = { - left = ["dashboard" "workspaces" "windowtitle"]; - middle = ["clock"]; - right = ["volume" "network" "bluetooth" "systray" "media" "notifications"]; - }; - }; - }; - - # Configure and theme options - settings = { - bar.launcher.autoDetectIcon = true; - bar.workspaces.show_icons = true; - - menus.clock = { - time = { - military = true; - hideSeconds = false; - }; - weather.unit = "metric"; - }; - - menus.dashboard.directories.enabled = false; - menus.dashboard.stats.enable_gpu = true; - - theme.bar.transparent = false; - - theme.font = { - name = "CaskaydiaCove NF"; - size = "16px"; - }; - }; - }; - # Enable home-manager programs.home-manager.enable = true; diff --git a/home/fabric/desktop/hyprpanel.nix b/home/fabric/desktop/hyprpanel.nix index 22ea3bd..810ff0a 100644 --- a/home/fabric/desktop/hyprpanel.nix +++ b/home/fabric/desktop/hyprpanel.nix @@ -2,17 +2,17 @@ { config, pkgs, - lib, + hyprpanel, ... }: { + # Wayland settings for hyprpanel wayland.windowManager.hyprland.settings = { exec-once = [ "${pkgs.hyprpanel}/bin/hyprpanel" ]; }; - # Changed from 'programs.hyprpanel' to just 'hyprpanel' - hyprpanel = { + programs.hyprpanel = { # Enable the module. enable = true;