diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 32c32d4..10f26ab 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -38,33 +38,17 @@ ../../modules/nixos/notifications.nix ../../modules/nixos/browser.nix ../../modules/nixos/theme.nix # install theming packages and some quickshell stuff + ../../hostsModules/laptop/nixos/hardwareUtils.nix + ../../modules/nixos/otherUtils.nix ]; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - gnome-calculator - snapshot - gnome-characters - #tree # shows dir in tree # we use eza now - brightnessctl # control brightness libreoffice - powertop - fzf - bottom # Cross-platform graphical process/system monitor with a customizable interface - tomato-c # pomodoro timer - #hyprshot - mailcap pkgs-unstable.vimPluginsUpdater # used for building plugins vial # Open-source GUI and QMK fork for configuring your keyboard in real time - usbutils # used for lsusb - fluffychat # matrix client - fuzzel birdtray # thunderbird tray app - # this is more up to date - #(callPackage ../../modules/packages/vivify.nix {}) - #(callPackage ../../modules/packages/sbb-tui.nix {}) - pkgs-unstable.bitwarden-desktop ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index e5e686f..867d100 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -61,17 +61,6 @@ # want to update the value, then make sure to first check the Home Manager # release notes. - # The home.packages option allows you to install Nix packages into your - # environment. - home.packages = [ - #scritps - (pkgs.callPackage ../../modules/scripts/dontkillsteam.nix {}) # kill app (if it is steam put it in some background - (pkgs.callPackage ../../modules/scripts/killall.nix {}) # kill all windows except focused window - (pkgs.callPackage ../../modules/scripts/tomato.nix {}) - (pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french - ]; - - home.sessionVariables = { EDITOR = "neovim"; # Git update function diff --git a/modules/nixos/otherUtils.nix b/modules/nixos/otherUtils.nix new file mode 100644 index 0000000..48945c4 --- /dev/null +++ b/modules/nixos/otherUtils.nix @@ -0,0 +1,29 @@ +# try to keep packages here at a minium. Preferably use a dedicated file +{ + pkgs, + pkgs-unstable, + ... +}: +{ + environment.systemPackages = with pkgs; [ + gnome-calculator + snapshot + gnome-characters + #tree # shows dir in tree # we use eza now + brightnessctl # control brightness + powertop + fzf + bottom # Cross-platform graphical process/system monitor with a customizable interface + tomato-c # pomodoro timer + #hyprshot + mailcap + fuzzel + usbutils # used for lsusb + (pkgs.callPackage ../../modules/scripts/dontkillsteam.nix {}) # kill app (if it is steam put it in some background + (pkgs.callPackage ../../modules/scripts/killall.nix {}) # kill all windows except focused window + (pkgs.callPackage ../../modules/scripts/tomato.nix {}) + (pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french + pkgs-unstable.bitwarden-desktop + fluffychat # matrix client + ]; +}