dotfiles/users/stitchynyan/home.nix

117 lines
2.2 KiB
Nix
Raw Normal View History

2023-08-06 09:25:52 -07:00
2024-01-20 17:53:24 -08:00
{ config,
nixosConfig,
pkgs,
inputs,
home-manager,
... }:
2023-08-06 09:57:34 -07:00
{
imports = [
2024-01-20 17:53:24 -08:00
#inputs.nix-index-db.hmModules.nix-index
2023-08-06 09:57:34 -07:00
];
2024-01-20 17:53:24 -08:00
# systemd.user.services.mailsync = {
2023-08-06 09:57:34 -07:00
2024-01-20 17:53:24 -08:00
#}
home.packages = with pkgs; [
2024-02-25 20:52:05 -08:00
steam
2024-01-20 17:53:24 -08:00
cider
2024-02-25 20:52:05 -08:00
foot
2024-01-20 17:53:24 -08:00
prismlauncher
firefox
librewolf
neomutt
dunst
mutt-wizard
pass
isync
msmtp
notmuch
kitty
lynx
playerctl
nheko
hyprpaper
xdg-desktop-portal-hyprland
pavucontrol
slurp
grim
wofi
imv
swaylock-effects
qt5ct
qt6ct
2024-01-23 20:02:43 -08:00
mpv
2024-01-20 17:53:24 -08:00
];
#programs.hyprland.enable = true;
# hyprland.homeManagerModules.default
#wayland.windowManager.hyprland.enable = true;
2024-02-25 20:08:02 -08:00
home.file = {
".zshrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/zshrc";
};
2024-01-20 17:53:24 -08:00
xdg.configFile = {
2024-02-11 15:37:14 -08:00
"dunst" = {
2024-02-11 16:07:43 -08:00
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/dunst";
2024-02-11 15:37:14 -08:00
recursive = true;
};
"eww" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/eww";
recursive = true;
};
2024-01-20 17:53:24 -08:00
"hypr" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/hypr";
recursive = true;
};
2024-02-11 15:37:14 -08:00
"swaylock" = {
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/swaylock";
recursive = true;
};
2024-01-20 17:53:24 -08:00
};
2024-01-23 20:02:43 -08:00
systemd.user.services = {
mailsync = {
Unit = {
Description = "Syncs email";
After = [ "network-online.target" ];
};
Service = {
Type = "oneshot";
ExecStart = "${pkgs.mutt-wizard}/bin/mailsync";
Environment = [
"SASL_PATH=/run/current-system/sw/lib/sasl2"
"LOGNAME=stitchynyan"
"USER=stitchynyan" ];
};
Install.WantedBy = [ "default.target" ];
};
};
systemd.user.timers = {
mailsync = {
Unit.Description = "Syncs emai";
Timer = {
OnBootSec = "1min";
OnUnitActiveSec = "10min";
};
Install.WantedBy = [ "timers.target" ];
};
};
2024-02-11 15:37:14 -08:00
home.pointerCursor = {
name = "phinger-cursors";
package = pkgs.phinger-cursors;
gtk.enable = true;
size = 64;
};
2024-01-23 20:02:43 -08:00
2024-01-20 17:53:24 -08:00
# Read the Docs before change
home.stateVersion = "23.05";
home.homeDirectory = "/home/stitchynyan";
2023-08-06 09:57:34 -07:00
}