diff options
Diffstat (limited to 'home-manager/modules/apps')
| -rw-r--r-- | home-manager/modules/apps/default.nix | 34 | ||||
| -rw-r--r-- | home-manager/modules/apps/desktop/default.nix | 55 | ||||
| -rw-r--r-- | home-manager/modules/apps/desktop/floorp.nix | 11 | ||||
| -rw-r--r-- | home-manager/modules/apps/desktop/ghidra.nix | 3 | ||||
| -rw-r--r-- | home-manager/modules/apps/desktop/hyprland.nix | 286 | ||||
| -rw-r--r-- | home-manager/modules/apps/desktop/wine.nix | 7 | ||||
| -rw-r--r-- | home-manager/modules/apps/nvim/default.nix | 56 | ||||
| -rw-r--r-- | home-manager/modules/apps/zsh.nix | 24 |
8 files changed, 0 insertions, 476 deletions
diff --git a/home-manager/modules/apps/default.nix b/home-manager/modules/apps/default.nix deleted file mode 100644 index e47ee81..0000000 --- a/home-manager/modules/apps/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{lib, pkgs, inputs, ...}: -with lib; -{ - imports = [ - ./nvim - ./desktop - ./zsh.nix - ]; - - # Stuff that is to be sorted to its appropriate files - # If no appropriate category is found or thought of, put it in misc.nix - home.packages = with pkgs; [ - htop - btop - nmap - dig - ripgrep - unzip - unrar - xdg-user-dirs - zsh - cmake - ( hiPrio gcc) - gnumake - clang - rustup - lm_sensors - sshfs - pkg-config - ranger - file - inputs.iamb.packages."${pkgs.system}".default - ]; -} diff --git a/home-manager/modules/apps/desktop/default.nix b/home-manager/modules/apps/desktop/default.nix deleted file mode 100644 index 3665aa0..0000000 --- a/home-manager/modules/apps/desktop/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{lib, pkgs, ...}: with lib; { - imports = [ - ./hyprland.nix - ./wine.nix - ./ghidra.nix - ./floorp.nix - ]; - - home.packages = with pkgs; [ - speedcrunch - thunderbird - element-desktop - kdePackages.filelight - libreoffice - evince - obsidian - krita - hugo - qalculate-qt - libsForQt5.kdeconnect-kde - libreoffice-qt6-fresh - obsidian - krita - kitty - zotero - syncthingtray - gparted - eduvpn-client - wireshark-qt - - spotify - prismlauncher - ani-cli - vlc - mpv - openttd - anki-bin - vesktop - inkscape - zathura - - #Theme - qt6Packages.qt6ct - kdePackages.qtstyleplugin-kvantum - (catppuccin-kvantum.override { - accent = "pink"; - variant = "mocha"; - }) - ]; - - services.syncthing.tray = { - enable = true; - command = "syncthingtray --wait"; - }; -} diff --git a/home-manager/modules/apps/desktop/floorp.nix b/home-manager/modules/apps/desktop/floorp.nix deleted file mode 100644 index ebdad90..0000000 --- a/home-manager/modules/apps/desktop/floorp.nix +++ /dev/null @@ -1,11 +0,0 @@ -{pkgs, config, ...}: { - programs.floorp = { - enable = true; - nativeMessagingHosts = [ pkgs.uget-integrator ]; - }; - - home.packages = with pkgs; [ - uget - uget-integrator - ]; -} diff --git a/home-manager/modules/apps/desktop/ghidra.nix b/home-manager/modules/apps/desktop/ghidra.nix deleted file mode 100644 index 7bbcd0a..0000000 --- a/home-manager/modules/apps/desktop/ghidra.nix +++ /dev/null @@ -1,3 +0,0 @@ -{pkgs, ...}: -{ -} diff --git a/home-manager/modules/apps/desktop/hyprland.nix b/home-manager/modules/apps/desktop/hyprland.nix deleted file mode 100644 index 99efe1c..0000000 --- a/home-manager/modules/apps/desktop/hyprland.nix +++ /dev/null @@ -1,286 +0,0 @@ -{lib, pkgs, ...}: -with lib; -{ - - - home.packages = with pkgs; [ - mako - wofi - hyprshot - networkmanagerapplet - xdg-desktop-portal-gnome - xdg-desktop-portal-hyprland - wl-clipboard - ]; - - - # Environment variables for hyprland. - # This can be used to configure wayland/hyprland-specific things - home.file.".config/uwsm/env-hyprland".text = '' - export XDG_SESSION_TYPE=wayland - export GDK_BACKEND=wayland - export GTK_USE_PORTAL=1 - export QT_QPA_PLATFORM=wayland;xcb - export QT_STYLE_OVERRIDE=kvantum - export QT_QPA_PLATFORM_THEME=kvantum - export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 - export QT_AUTO_SCREEN_SCALE_FACTOR=1 - export MOZ_ENABLE_WAYLAND=1 - export -n GTK_IM_MODULE - ''; - - # Hyprland - wayland.windowManager.hyprland = { - systemd.enable = false; - enable = true; - xwayland.enable = true; - settings = { - exec-once = map (s: "uwsm app -- " + s) [ - "kitty &" - "lxqt-policykit-agent &" - "waybar &" - "nm-applet &" - "blueman-tray &" - "blueman-applet &" - "hyprctl setcursor Catppuccin-Mocha-Dark-Cursors 24" - "kdeconnect-indicator &" - ] ++ [ - "systemctl --user start hypridle.service" - "systemctl --user start hyprpaper.service" - "systemctl --user start hyprpolkitagent.service" - "uwsm finalize QT_QPA_PLATFORM QT_PLUGIN_PATH" - ]; - general = { - gaps_in = 3; - gaps_out = 8; - border_size = 1; - - "col.active_border" = "rgba(ed45b8ee) rgba(611449ee) 45deg"; - "col.inactive_border" = "rgba(595959aa)"; - - resize_on_border = true; - allow_tearing = true; - layout = "dwindle"; - }; - - animations = { - enabled = true; - bezier = "myBezier, 0.05, 0.9, 0.1, 1.05"; - animation = [ - "windows, 1, 7, myBezier" - "windowsOut, 1, 7, default, popin 80%" - "border, 1, 10, default" - "borderangle, 1, 8, default" - "fade, 1, 7, default" - "workspaces, 1, 6, default" - ]; - }; - - decoration = { - rounding = 10; - - # Change transparency of focused and unfocused windows - active_opacity = "1.0"; - inactive_opacity = "1.0"; - - # drop_shadow = true; - # shadow_range = 4; - # shadow_render_power = 3; - # "col.shadow" = "rgba(1a1a1aee)"; - - # https://wiki.hyprland.org/Configuring/Variables/#blur - blur = { - enabled = true; - size = 3; - passes = 1; - - vibrancy = "0.1696"; - }; - }; - dwindle = { - pseudotile = true; - preserve_split = true; - }; - - #master = { - # new_is_master = true; - #}; - input = { - kb_layout = "pl"; - kb_variant = ""; - kb_model = ""; - kb_options = ""; - kb_rules = ""; - - follow_mouse = 1; - - sensitivity = 0; # -1.0 - 1.0, 0 means no modification. - - touchpad = { - natural_scroll = true; - }; - }; - gestures = { - workspace_swipe = true; - }; - misc = { - force_default_wallpaper = "-1"; # Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = false; # If true disables the random hyprland logo / anime girl background. :( - }; - monitor= [ ",preferred,auto,1" ]; - - # Mod key - "$mod" = "SUPER"; - - # Programs - "$terminal" = "kitty"; - "$fileManager" = "thunar"; - "$menu" = "wofi --show drun"; - "$screenshot" = "hyprshot -m region -f screenshots/screenshot_$(date +'%d-%m-%y_%H-%M-%S').png"; - - - bind = [ - # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more - "$mod, RETURN, exec, $terminal" - "$mod, Q, killactive," - "$mod SHIFT, M, exec, uwsm stop" - "$mod, E, exec, uwsm app -- $fileManager" - "$mod, V, togglefloating," - "$mod, R, exec, uwsm app -- $menu" - "$mod, P, pseudo" - "$mod, J, togglesplit" - "$mod, L, exec, uwsm app -- hyprlock" - ",Print, exec, uwsm app -- $screenshot " - - # Move focus with mod + arrow keys - "$mod, left, movefocus, l" - "$mod, right, movefocus, r" - "$mod, up, movefocus, u" - "$mod, down, movefocus, d" - - # Example special workspace (scratchpad) - "$mod, S, togglespecialworkspace, magic" - "$mod SHIFT, S, movetoworkspace, special:magic" - - # Scroll through existing workspaces with mod + scroll - "$mod, mouse_down, workspace, e+1" - "$mod, mouse_up, workspace, e-1" - ] ++ ( - # workspaces - builtins.concatLists (builtins.genList ( - x: let - ws = let - c = (x + 1) / 10; - in - builtins.toString (x + 1 - (c * 10)); - in [ - # binds $mod + [shift +] {1..10} to [move to] workspace {1..10} - "$mod, ${ws}, workspace, ${toString (x + 1)}" - "$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}" - - # Move workspace {1..10} to current monitor - "CTRL ALT $mod , ${ws}, focusworkspaceoncurrentmonitor, ${toString(x + 1)}" - ] - ) - 10) - ) ++ ( - # Monitor {0..4} --> Key {1..5} - builtins.concatLists (builtins.genList ( - x: let - mon = builtins.toString(x); - key = builtins.toString(x + 1); - in [ - - # Move current workspace to a monitor {1..4} - "CTRL ALT SHIFT $mod, ${key}, movecurrentworkspacetomonitor, ${mon} " - ] - ) - 4)); - - bindm = [ - "$mod, mouse:272, movewindow" - "$mod, mouse:273, resizewindow" - ]; - - - windowrulev2 = [ - "suppressevent maximize, class:.*" # You'll probably like this. - ]; - - source = [ - "~/.config/hypr/hypr_test.conf" - ]; - }; - }; - - services.hyprpaper = { - enable = true; - settings = { - ipc = "on"; - splash = false; - splash_offset = 2.0; - - preload = - [ "/home/wilkuu/Pictures/Wallpapers/peony.png" ]; - wallpaper= [",/home/wilkuu/Pictures/Wallpapers/peony.png"]; - }; - }; - - programs.hyprlock = { - enable=true; - settings = { - general = { - disable_loading_bar = true; - grace = 0; - hide_cursor = true; - no_fade_in = false; - }; - - background = [ - { - path = "screenshot"; - blur_passes = 3; - blur_size = 16; - } - ]; - - input-field = [ - { - size = "200, 50"; - position = "0, -80"; - monitor = ""; - dots_center = true; - fade_on_empty = false; - font_color = "rgb(202, 211, 245)"; - inner_color = "rgb(91, 96, 120)"; - outer_color = "rgb(24, 25, 38)"; - outline_thickness = 5; - placeholder_text = "<span foreground=\"##cad3f5\">Password...</span>"; - shadow_passes = 2; - } - ]; - }; - }; - - services.hypridle.enable = true; - services.hypridle.settings = { - general = { - lock_cmd ="pidof hyprlock || hyprlock"; - before_sleep_cmd="loginctl lock-session"; - ignore_dbus_inhibit=false; - after_sleep_cmd="hyprctl_dispatch dpms on"; - }; - listener = [ - { - timeout = 30; - on-timeout = "hyprlock"; - } - { - timeout = 90; - on-timeout = "hyprctl dispatch dpms off"; - on-resume = "hyprctl dispatch dpms on"; - } - ]; - }; - -} diff --git a/home-manager/modules/apps/desktop/wine.nix b/home-manager/modules/apps/desktop/wine.nix deleted file mode 100644 index 4aa00b6..0000000 --- a/home-manager/modules/apps/desktop/wine.nix +++ /dev/null @@ -1,7 +0,0 @@ -{pkgs, config, lib, ...}: -{ - home.packages = with pkgs; [ - wineWowPackages.waylandFull - winetricks - ]; -} diff --git a/home-manager/modules/apps/nvim/default.nix b/home-manager/modules/apps/nvim/default.nix deleted file mode 100644 index c4e9325..0000000 --- a/home-manager/modules/apps/nvim/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ pkgs, config, lib,...}: -let -ts_ls=pkgs.typescript-language-server; -vue_ls=pkgs.vue-language-server; -in { - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - vimdiffAlias = true; - withPython3 = true; - withNodeJs = true; - withRuby = true; - - coc.enable = false; - # - plugins = [ - ]; - }; - - home.file."./.config/nvim/lua/wilkuu/init.lua".text = '' - require("wilkuu.set") - require("wilkuu.remap") - ''; - - home.file."./.config/nvim/lua/wilkuu/nix.lua".text = '' - return { - vue_ts_plugin = "${lib.getBin vue_ls}/lib/node_modules/@vue/language-server/node_modules/@vue/typescript-plugin/" - } - ''; - - home.sessionPath = [ - "/home/wilkuu/.npm/bin/" - ]; - - home.packages = with pkgs; [ - lua - lua-language-server - gopls - go - typescript - nodejs_22 - rustup - nil - statix - nixfmt-rfc-style - # phpactor - pyright - nodePackages.intelephense - texlive.combined.scheme-full - texlab - mermaid-cli - ] ++ [ ts_ls vue_ls]; - -} diff --git a/home-manager/modules/apps/zsh.nix b/home-manager/modules/apps/zsh.nix deleted file mode 100644 index 7a940e6..0000000 --- a/home-manager/modules/apps/zsh.nix +++ /dev/null @@ -1,24 +0,0 @@ -{config ,pkgs, ...}: { - programs.zsh = { - enable = true; - enableCompletion = true; - oh-my-zsh = { - enable = true; - theme = "clean"; - }; - plugins = [ - { - name = "zsh-nix-shell"; - file = "nix-shell.plugin.zsh"; - src = pkgs.fetchFromGitHub { - owner = "chisui"; - repo = "zsh-nix-shell"; - rev = "v0.8.0"; - sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; - }; - } - ]; - }; - - -} |
