2023-08-12 14:35:08 +02:00
|
|
|
{ pkgs, lib, ... }: {
|
|
|
|
|
|
|
|
programs.home-manager = { enable = true; };
|
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "ivand";
|
|
|
|
homeDirectory = "/home/ivand";
|
2023-09-09 10:12:43 +02:00
|
|
|
stateVersion = "23.11";
|
2023-10-15 07:46:48 +02:00
|
|
|
sessionPath = [
|
|
|
|
"$HOME/.local/bin"
|
|
|
|
];
|
2023-08-12 14:35:08 +02:00
|
|
|
pointerCursor = {
|
2023-10-01 17:35:46 +02:00
|
|
|
name = "Catppuccin-Mocha-Green-Cursors";
|
|
|
|
package = pkgs.catppuccin-cursors.mochaGreen;
|
2023-08-12 14:35:08 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-05 20:32:08 +02:00
|
|
|
systemd.user = {
|
|
|
|
timers = {
|
2023-11-15 06:44:52 +01:00
|
|
|
rbingwp = {
|
2023-10-09 23:03:04 +02:00
|
|
|
Timer = {
|
2023-11-06 10:29:09 +01:00
|
|
|
OnCalendar = "*-*-* 10:00:00";
|
2023-10-05 20:32:08 +02:00
|
|
|
Persistent = true;
|
|
|
|
};
|
2023-10-09 23:03:04 +02:00
|
|
|
Install = {
|
|
|
|
WantedBy = [ "timers.target" ];
|
|
|
|
};
|
2023-10-05 20:32:08 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
services = {
|
|
|
|
bingwp = {
|
2023-10-14 08:33:31 +02:00
|
|
|
Service = {
|
2023-11-14 20:00:01 +01:00
|
|
|
Environment = [
|
|
|
|
"PATH=${pkgs.curl}/bin:${pkgs.wget}/bin:${pkgs.xdg-user-dirs}/bin:${pkgs.jq}/bin:${pkgs.busybox}/bin:${pkgs.bash}/bin:${pkgs.swaybg}/bin"
|
|
|
|
"WAYLAND_DISPLAY=wayland-1"
|
|
|
|
];
|
2023-11-04 12:48:07 +01:00
|
|
|
ExecStart = [ "${pkgs.scripts}/bin/bingwp" ];
|
2023-10-05 20:32:08 +02:00
|
|
|
};
|
|
|
|
};
|
2023-11-15 06:44:52 +01:00
|
|
|
rbingwp = {
|
|
|
|
Service = {
|
|
|
|
Type = "oneshot";
|
|
|
|
ExecStart = [ "${pkgs.systemd}/bin/systemctl --user restart bingwp.service" ];
|
|
|
|
};
|
|
|
|
};
|
2023-10-05 20:32:08 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-14 15:50:11 +01:00
|
|
|
programs = {
|
|
|
|
shell.enable = true;
|
2023-11-14 18:57:53 +01:00
|
|
|
common.enable = true;
|
2023-11-14 15:50:11 +01:00
|
|
|
};
|
|
|
|
|
2023-08-12 14:35:08 +02:00
|
|
|
xdg.configFile = {
|
|
|
|
"user-dirs.dirs" = {
|
2023-10-01 17:35:46 +02:00
|
|
|
text = ''
|
2023-10-05 18:49:16 +02:00
|
|
|
XDG_DOWNLOAD_DIR="$HOME/dl"
|
2023-10-13 14:33:43 +02:00
|
|
|
XDG_DOCUMENTS_DIR="$HOME/doc"
|
2023-10-05 18:49:16 +02:00
|
|
|
XDG_PICTURES_DIR="$HOME/pic"
|
|
|
|
XDG_VIDEOS_DIR="$HOME/vid"
|
2023-08-12 14:35:08 +02:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2023-08-09 22:10:48 +02:00
|
|
|
}
|
2023-10-05 20:32:08 +02:00
|
|
|
|