dotfiles/users/stitchynyan/home.nix

147 lines
2.7 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,
2024-03-13 18:46:44 -07:00
lib,
2024-01-20 17:53:24 -08:00
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-02-29 16:14:43 -08:00
networkmanagerapplet
activitywatch
ngspice
hugo
kicad
okular
mupdf
libreoffice
hunspell
hunspellDicts.en_US
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
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-02-29 16:07:01 -08:00
#steamvr?
procps
usbutils
2024-03-13 18:46:44 -07:00
(python311.withPackages (lib.attrVals ["sympy" "matplotlib"]))
(octaveFull.withPackages (lib.attrVals ["symbolic"]))
2024-01-20 17:53:24 -08:00
];
2024-02-29 16:14:43 -08:00
2024-03-13 18:46:44 -07:00
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
2024-02-29 16:14:43 -08:00
home.sessionVariables = {
FOO = "BAR";
};
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";
2024-02-29 16:14:43 -08:00
# Dumb mutt-wizard not updating in over a year
ExecStart = "/home/stitchynyan/.config/mutt/mutt-wizard/bin/mailsync";
2024-01-23 20:02:43 -08:00
Environment = [
"SASL_PATH=/run/current-system/sw/lib/sasl2"
2024-02-29 16:14:43 -08:00
];
2024-01-23 20:02:43 -08:00
};
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
}