From f4d1078dc8c7425bdb11d6dfa69bfd6da42d0db0 Mon Sep 17 00:00:00 2001 From: harry123 Date: Fri, 14 Mar 2025 09:15:56 +0100 Subject: [PATCH] split unused apps --- home-manager/home.nix | 34 ++++++++++++++----- hosts/goober/features/software/default.nix | 3 +- .../goober/features/software/workstation.nix | 34 +++++++++++++++++++ 3 files changed, 61 insertions(+), 10 deletions(-) create mode 100644 hosts/goober/features/software/workstation.nix diff --git a/home-manager/home.nix b/home-manager/home.nix index fbaefe3..29a265e 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -9,6 +9,7 @@ }: { + imports = [ inputs.walker.homeManagerModules.default ]; # Home Manager needs a bit of information about you and the paths it should # manage. home.username = "harry123"; @@ -37,11 +38,12 @@ # pkgs.hello nerd-fonts.code-new-roman - + ffmpegthumbnailer + xfce.tumbler dm-sans zoxide btop - #pkgs.bitwarden + bitwarden-cli weechat eclipses.eclipse-java # school wants us to use it... cava @@ -53,6 +55,8 @@ waybar p7zip + libreoffice-qt + playerctl wf-recorder @@ -62,7 +66,6 @@ qbittorrent i2pd - ripgrep vscode @@ -84,18 +87,13 @@ audacious audacious-plugins - krita udiskie libsixel - walker unzip p7zip nixfmt-rfc-style - signal-desktop - gajim - blender # # You can also create simple shell scripts directly inside your # # configuration. For example, this adds a command 'my-hello' to your # # environment: @@ -164,7 +162,7 @@ # or # # /etc/profiles/per-user/harry123/etc/profile.d/hm-session-vars.sh - # + home.sessionVariables = { EDITOR = "nvim"; }; @@ -191,6 +189,7 @@ latitude = 49.0; longitude = 8.4; }; + /* xdg.mimeApps = { enable = true; @@ -209,6 +208,23 @@ server.enable = true; }; + programs.walker = { + enable = true; + runAsService = true; + + # All options from the config.json can be used here. + config = { + search.placeholder = "Example"; + ui.fullscreen = true; + list = { + height = 200; + }; + websearch.prefix = "?"; + switcher.prefix = "/"; + }; + + }; + # Let Home Manager install and manage itself. programs.home-manager.enable = true; } diff --git a/hosts/goober/features/software/default.nix b/hosts/goober/features/software/default.nix index 5e3e2d8..a0d79d0 100644 --- a/hosts/goober/features/software/default.nix +++ b/hosts/goober/features/software/default.nix @@ -1,4 +1,4 @@ -{config, ...}: +{ config, ... }: { imports = [ ./wine.nix @@ -8,6 +8,7 @@ ./discord.nix ./ollama.nix ./steam.nix + ./workstation.nix ]; } diff --git a/hosts/goober/features/software/workstation.nix b/hosts/goober/features/software/workstation.nix new file mode 100644 index 0000000..13a3d16 --- /dev/null +++ b/hosts/goober/features/software/workstation.nix @@ -0,0 +1,34 @@ +{ pkgs, lib, ... }: +{ + + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "reaper" + "davinci-resolve" + ]; + environment.systemPackages = with pkgs; [ + # music editing software + reaper + + libreoffice-qt + hunspell + hunspellDicts.fr-any + hunspellDicts.en-gb-large + + # video editing software + davinci-resolve + + # recording software + obs-studio + + # drawing software + krita + + # 3d modeling + blender + + signal-desktop + gajim + ]; +}