{ config, pkgs, ... }: { imports = [ ]; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.andrew = { isNormalUser = true; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; []; }; hjem.users.andrew = { directory = "/home/andrew"; files = { ".config/surf/styles/default.css".source = ./dotfiles/surf/styles/default.css; ".config/surf/script.js".source = ./dotfiles/surf/script.js; ".sfeed/sfeedrc".source = ./dotfiles/sfeed/sfeedrc; ".config/senpai/senpai.scfg".source = ./dotfiles/senpai/senpai.scfg; }; packages = with pkgs; [ discord lazygit librewolf btop mpv zathura lf sfeed senpai ]; }; 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"]; }; }