summaryrefslogtreecommitdiffstats
path: root/hjem.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hjem.nix')
-rw-r--r--hjem.nix66
1 files changed, 0 insertions, 66 deletions
diff --git a/hjem.nix b/hjem.nix
deleted file mode 100644
index 1724568..0000000
--- a/hjem.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- 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;
-
- ".config/fastfetch/config.jsonc".source = ./dotfiles/fastfetch/config.jsonc;
- };
-
- 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"];
- };
-}