-sfeedpath="$HOME/.local/share/sfeed/feeds"
+sfeedpath="/mnt/data/sfeed/feeds"
# list of feeds to fetch:
feeds() {
@lockscreen@/bin/lock-screen
super + f
- @st@/bin/st -e @sfeed@/bin/sfeed_curses ~/.local/share/sfeed/feeds/*
+ @st@/bin/st -e @sfeed@/bin/sfeed_curses /mnt/data/sfeed/feeds/*
super + m
@st@/bin/st -e @rmpc@/bin/rmpc
fsType = "ext4";
options = ["defaults" "nofail"];
};
+
+ # RSS sfeed
+
+ systemd.user.services."sfeed-update" = {
+ description = "Update sfeed RSS feeds";
+ path = with pkgs; [
+ curl
+ sfeed
+ coreutils
+ ];
+ serviceConfig = {
+ Type = "oneshot";
+ ExecStart = "${pkgs.sfeed}/bin/sfeed_update";
+ };
+ };
+
+ systemd.user.timers."sfeed-update" = {
+ description = "Run sfeed_update daily";
+ timerConfig = {
+ OnCalendar = "daily";
+ Persistent = true;
+ };
+ wantedBy = ["timers.target"];
+ };
+
networking.hostName = "icon";
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
nfs-utils
btop
nethogs
+ sfeed
];
programs.git = {
environment.sessionVariables = {
BROWSER = "surf";
SFEED_PLUMBER = "$BROWSER";
- SFEED_URL_FILE = "$HOME/.local/share/sfeed/sfeed_read_url_file";
+ SFEED_URL_FILE = "/mnt/data/sfeed/sfeed_read_url_file";
};
# Some programs need SUID wrappers, can be configured further or are
-{ config, pkgs, ... }:
{
+ config,
+ pkgs,
+ ...
+}: {
services.displayManager.ly = {
enable = true;
settings = {
bigclock = "en";
bigclock_seconds = true;
};
-
};
services.dunst = {
displayManager = {
setupCommands = "";
sessionCommands = ''
- #!/bin/sh
- ${pkgs.xrandr}/bin/xrandr --output DP-3 --primary --mode 2560x1440 --rate 180 --pos 0x0 --output DP-2 --mode 1920x1080 --rate 160 --pos 2560x360
- ${pkgs.feh}/bin/feh --no-fehbg --bg-fill '/home/andrew/Wallpapers/Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg'
+ #!/bin/sh
+ ${pkgs.xrandr}/bin/xrandr --output DP-3 --primary --mode 2560x1440 --rate 180 --pos 0x0 --output DP-2 --mode 1920x1080 --rate 160 --pos 2560x360
+ ${pkgs.feh}/bin/feh --no-fehbg --bg-fill '/home/andrew/Wallpapers/Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg'
'';
};
xkb = {
environment = {
SFEED_PLUMBER = "surf";
- SFEED_URL_FILE = "/home/andrew/.local/share/sfeed/sfeed_read_url_file";
+ SFEED_URL_FILE = "/mnt/data/sfeed/sfeed_read_url_file";
};
serviceConfig = {
ExecStart = "${pkgs.sxhkd}/bin/sxhkd";
Restart = "on-failure";
};
- wantedBy = [ "graphical-session.target" ];
+ wantedBy = ["graphical-session.target"];
};
systemd.user.services.slstatus = {
description = "slstatus bar";
- wantedBy = [ "graphical-session.target" ];
+ wantedBy = ["graphical-session.target"];
path = with pkgs; [
pamixer