Compare commits
14 Commits
37c3dd71b4
...
99bcc08ea5
Author | SHA1 | Date |
---|---|---|
coolneng | 99bcc08ea5 | |
coolneng | 2df8924a56 | |
coolneng | c94ed99d22 | |
coolneng | 521335677f | |
coolneng | f08f066634 | |
coolneng | 75f821077c | |
coolneng | 8fdbd32fac | |
coolneng | 3492a08cd9 | |
coolneng | 44dbce395d | |
coolneng | 6556eda0be | |
coolneng | ac978985c7 | |
coolneng | 0abbbe202b | |
coolneng | 8e0320f119 | |
coolneng | f115dd4294 |
|
@ -16,7 +16,7 @@ in {
|
|||
"nohibernate"
|
||||
"ipv6.disable=1"
|
||||
];
|
||||
kernelModules = [ "i915" "acpi_call" "kvm-intel" ];
|
||||
kernelModules = [ "i915" "acpi_call" ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
blacklistedKernelModules = [ "btusb" ];
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
|
|
12
flake.lock
12
flake.lock
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1662241716,
|
||||
"narHash": "sha256-urqPvSvvGUhkwzTDxUI8N1nsdMysbAfjmBNZaTYBZRU=",
|
||||
"lastModified": 1664140963,
|
||||
"narHash": "sha256-pFxDtOLduRFlol0Y4ShE+soRQX4kbhaCNBtDOvx7ykw=",
|
||||
"owner": "ryantm",
|
||||
"repo": "agenix",
|
||||
"rev": "c96da5835b76d3d8e8d99a0fec6fe32f8539ee2e",
|
||||
"rev": "6acb1fe5f8597d5ce63fc82bc7fcac7774b1cdf0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1663357389,
|
||||
"narHash": "sha256-oYA2nVRSi6yhCBqS5Vz465Hw+3BQOVFEhfbfy//3vTs=",
|
||||
"lastModified": 1664370076,
|
||||
"narHash": "sha256-NDnIo0nxJozLwEw0VPM+RApMA90uTfbvaNNtC5eB7Os=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "da6a05816e7fa5226c3f61e285ef8d9dfc868f3c",
|
||||
"rev": "854fdc68881791812eddd33b2fed94b954979a8e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });
|
||||
|
||||
in {
|
||||
# Upgrade Doom Emacs weekly
|
||||
# Upgrade Doom Emacs daily
|
||||
systemd.user.services.doom-upgrade = {
|
||||
description = "Upgrade Doom Emacs";
|
||||
path = [ bash emacs-vterm git coreutils ];
|
||||
|
@ -17,7 +17,7 @@ in {
|
|||
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade"
|
||||
'';
|
||||
serviceConfig.Type = "oneshot";
|
||||
startAt = "Mon 22:00:00";
|
||||
startAt = "22:00:00";
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
|
@ -56,8 +56,17 @@ in {
|
|||
systemd.user.services.goimapnotify-ugent = {
|
||||
description = "Sync UGent mail using IMAP IDLE";
|
||||
wantedBy = [ "default.target" ];
|
||||
path =
|
||||
[ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg nix ];
|
||||
path = [
|
||||
goimapnotify
|
||||
pass-wayland
|
||||
isync-oauth2
|
||||
mu
|
||||
python39
|
||||
gnupg
|
||||
nix
|
||||
procps
|
||||
emacs-vterm
|
||||
];
|
||||
script = ''
|
||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
|
||||
'';
|
||||
|
@ -73,7 +82,7 @@ in {
|
|||
systemd.user.services.goimapnotify-gmail = {
|
||||
description = "Sync gmail mail using IMAP IDLE";
|
||||
wantedBy = [ "default.target" ];
|
||||
path = [ goimapnotify pass-wayland isync-oauth2 notmuch ];
|
||||
path = [ goimapnotify pass-wayland isync-oauth2 mu procps emacs-vterm ];
|
||||
script = ''
|
||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
||||
'';
|
||||
|
@ -89,7 +98,7 @@ in {
|
|||
systemd.user.services.goimapnotify-disroot = {
|
||||
description = "Sync disroot mail using IMAP IDLE";
|
||||
wantedBy = [ "default.target" ];
|
||||
path = [ goimapnotify pass-wayland isync-oauth2 notmuch ];
|
||||
path = [ goimapnotify pass-wayland isync-oauth2 mu procps emacs-vterm ];
|
||||
script = ''
|
||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/disroot.conf
|
||||
'';
|
||||
|
@ -102,6 +111,19 @@ in {
|
|||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
# Do a full mail sync periodically
|
||||
systemd.user.services.periodic-mail-sync = {
|
||||
description = "Run a mail sync operation periodically";
|
||||
wantedBy = [ "default.target" ];
|
||||
path =
|
||||
[ pass-wayland isync-oauth2 mu procps emacs-vterm python39 gnupg nix ];
|
||||
script = ''
|
||||
/home/coolneng/.local/share/scripts/mail-sync -a
|
||||
'';
|
||||
after = [ "network-online.target" ];
|
||||
startAt = "*-*-* *:00,15,30,45:00";
|
||||
};
|
||||
|
||||
# HACK Change home partition permissions for mopidy
|
||||
systemd.services.chmod-home = {
|
||||
description = "Change home partition permissions for Mopidy";
|
||||
|
|
|
@ -6,9 +6,10 @@ let
|
|||
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
|
||||
(epkgs: with epkgs; [ vterm pdf-tools ]));
|
||||
isync-oauth2 = isync.overrideAttrs
|
||||
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });
|
||||
mpv-sponsorblock =
|
||||
(mpv-with-scripts.override { scripts = [ mpvScripts.sponsorblock ]; });
|
||||
(div: rec { buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ]; });
|
||||
mpv-sponsorblock = (pkgs.wrapMpv pkgs.mpv-unwrapped {
|
||||
scripts = [ mpvScripts.sponsorblock ];
|
||||
});
|
||||
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
|
@ -46,7 +47,6 @@ in {
|
|||
git
|
||||
direnv
|
||||
nix-direnv
|
||||
podman-compose
|
||||
gnumake
|
||||
gitAndTools.pre-commit
|
||||
delta
|
||||
|
@ -60,19 +60,15 @@ in {
|
|||
pulsemixer
|
||||
easyeffects
|
||||
# Productivity
|
||||
fff
|
||||
zathura
|
||||
libreoffice-fresh
|
||||
gnome3.simple-scan
|
||||
gnome.simple-scan
|
||||
bc
|
||||
citrix_workspace
|
||||
# Mail stack
|
||||
neomutt
|
||||
mu
|
||||
isync-oauth2
|
||||
notmuch
|
||||
msmtp
|
||||
w3m
|
||||
urlscan
|
||||
# Media
|
||||
gimp
|
||||
mpv-sponsorblock
|
||||
|
|
Loading…
Reference in New Issue