mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
notification: separated into new file
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
../../modules/nixos/latex.nix
|
../../modules/nixos/latex.nix
|
||||||
../../modules/nixos/development.nix
|
../../modules/nixos/development.nix
|
||||||
../../modules/nixos/user.nix ../../hostsModules/laptop/nixos/user.nix
|
../../modules/nixos/user.nix ../../hostsModules/laptop/nixos/user.nix
|
||||||
|
../../modules/nixos/notifications.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
@@ -59,11 +60,9 @@
|
|||||||
brightnessctl # control brightness
|
brightnessctl # control brightness
|
||||||
udiskie # removable disk automounter for udisks
|
udiskie # removable disk automounter for udisks
|
||||||
jp # lightweight and flexible cli JSON parser
|
jp # lightweight and flexible cli JSON parser
|
||||||
libnotify # Library that sends desktop notifications to a notification daemon
|
|
||||||
cowsay
|
cowsay
|
||||||
cmatrix
|
cmatrix
|
||||||
swww #wallpaper daemon
|
swww #wallpaper daemon
|
||||||
socat # Utility for bidirectional data transfer between two independent data channels (used to communicate between hyprland and swww to change wallpapers dinamically)
|
|
||||||
libreoffice
|
libreoffice
|
||||||
gruvbox-gtk-theme
|
gruvbox-gtk-theme
|
||||||
powertop
|
powertop
|
||||||
@@ -83,7 +82,7 @@
|
|||||||
# used for the framework 16 laptop
|
# used for the framework 16 laptop
|
||||||
framework-tool
|
framework-tool
|
||||||
framework-tool-tui
|
framework-tool-tui
|
||||||
fluffychat matrix-commander-rs # matrix client
|
fluffychat # matrix client
|
||||||
# utils for dev
|
# utils for dev
|
||||||
pkg-config
|
pkg-config
|
||||||
gdb
|
gdb
|
||||||
|
|||||||
@@ -66,25 +66,16 @@
|
|||||||
home.packages = [
|
home.packages = [
|
||||||
#scritps
|
#scritps
|
||||||
(pkgs.callPackage ../../modules/scripts/dontkillsteam.nix {}) # kill app (if it is steam put it in some background
|
(pkgs.callPackage ../../modules/scripts/dontkillsteam.nix {}) # kill app (if it is steam put it in some background
|
||||||
(pkgs.callPackage ../../hostsModules/laptop/scripts/batterynotify.nix {})
|
|
||||||
(pkgs.callPackage ../../hostsModules/laptop/scripts/batterywarning.nix {})
|
|
||||||
|
|
||||||
# checks if matrix-commander-rs is installed and logged in
|
|
||||||
(pkgs.callPackage ../../hostsModules/laptop/scripts/checkMatrix.nix {})
|
|
||||||
|
|
||||||
(pkgs.callPackage ../../modules/scripts/weather.nix {})
|
(pkgs.callPackage ../../modules/scripts/weather.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/wallpaper.nix {})
|
(pkgs.callPackage ../../modules/scripts/wallpaper.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/mountkdrive.nix {})
|
(pkgs.callPackage ../../modules/scripts/mountkdrive.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/colorpicker.nix {})
|
(pkgs.callPackage ../../modules/scripts/colorpicker.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/killall.nix {}) # kill all windows except focused window
|
(pkgs.callPackage ../../modules/scripts/killall.nix {}) # kill all windows except focused window
|
||||||
(pkgs.callPackage ../../modules/scripts/gitnotify.nix {})
|
|
||||||
(pkgs.callPackage ../../modules/scripts/tomato.nix {})
|
(pkgs.callPackage ../../modules/scripts/tomato.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {})
|
(pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/btm.nix {})
|
(pkgs.callPackage ../../modules/scripts/btm.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/trimmer.nix {})
|
(pkgs.callPackage ../../modules/scripts/trimmer.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french
|
(pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french
|
||||||
(pkgs.callPackage ../../modules/scripts/checkKdrive.nix {})
|
|
||||||
|
|
||||||
(pkgs.callPackage ../../hostsModules/laptop/qt/qtbatticon.nix {})
|
(pkgs.callPackage ../../hostsModules/laptop/qt/qtbatticon.nix {})
|
||||||
#pkgs
|
#pkgs
|
||||||
pkgs.gruvbox-gtk-theme
|
pkgs.gruvbox-gtk-theme
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# notifications server is set by caelestia-shell. See ../home-manager/caelestia.nix
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
libnotify # Library that sends desktop notifications to a notification daemon
|
||||||
|
socat # Utility for bidirectional data transfer between two independent data channels (used to communicate between hyprland and swww to change wallpapers dinamically)
|
||||||
|
matrix-commander-rs # matrix client used to send notifications from scripts to my phone
|
||||||
|
# battery notifications
|
||||||
|
(pkgs.callPackage ../../hostsModules/laptop/scripts/batterynotify.nix {})
|
||||||
|
(pkgs.callPackage ../../hostsModules/laptop/scripts/batterywarning.nix {})
|
||||||
|
# checks if matrix-commander-rs is installed and logged in
|
||||||
|
(pkgs.callPackage ../../hostsModules/laptop/scripts/checkMatrix.nix {})
|
||||||
|
(pkgs.callPackage ../../modules/scripts/gitnotify.nix {}) # check if git is set up
|
||||||
|
(pkgs.callPackage ../../modules/scripts/checkKdrive.nix {}) # check if kdrive is set up with rclone
|
||||||
|
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user