mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 18:32:24 +00:00
Compare commits
No commits in common. "3c51dd0db69bc22bf0868c2c0054d02c2da0301e" and "34cf2a4483351233f1147860346aceebc0bd5b40" have entirely different histories.
3c51dd0db6
...
34cf2a4483
@ -79,16 +79,9 @@
|
|||||||
warn-dirty = false
|
warn-dirty = false
|
||||||
'';
|
'';
|
||||||
|
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
dates = "weekly";
|
|
||||||
options = "--delete-older-than 7d";
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
# Add community Cachix to binary cache
|
# Add community Cachix to binary cache
|
||||||
builders-use-substitutes = true;
|
|
||||||
substituters = lib.mkIf (!pkgs.stdenv.isDarwin)
|
substituters = lib.mkIf (!pkgs.stdenv.isDarwin)
|
||||||
[ "https://nix-community.cachix.org" ];
|
[ "https://nix-community.cachix.org" ];
|
||||||
trusted-public-keys = lib.mkIf (!pkgs.stdenv.isDarwin) [
|
trusted-public-keys = lib.mkIf (!pkgs.stdenv.isDarwin) [
|
||||||
|
@ -50,6 +50,8 @@
|
|||||||
];
|
];
|
||||||
alot = { };
|
alot = { };
|
||||||
flavor = "plain";
|
flavor = "plain";
|
||||||
|
folders = { };
|
||||||
|
getmail = { };
|
||||||
imap = {
|
imap = {
|
||||||
host = config.mail.imapHost;
|
host = config.mail.imapHost;
|
||||||
port = 993;
|
port = 993;
|
||||||
@ -73,6 +75,7 @@
|
|||||||
CopyArrivalDate = "yes"; # Sync time of original message
|
CopyArrivalDate = "yes"; # Sync time of original message
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
mu.enable = false;
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
passwordCommand =
|
passwordCommand =
|
||||||
"${pkgs.age}/bin/age --decrypt --identity ${config.identityFile} ${
|
"${pkgs.age}/bin/age --decrypt --identity ${config.identityFile} ${
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
|
||||||
|
|
||||||
options.gaming.chiaki.enable =
|
|
||||||
lib.mkEnableOption "Chiaki PlayStation remote play client.";
|
|
||||||
|
|
||||||
config = lib.mkIf config.gaming.chiaki.enable {
|
|
||||||
environment.systemPackages = with pkgs; [ chiaki ];
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -1,7 +1,6 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./chiaki.nix
|
|
||||||
./leagueoflegends.nix
|
./leagueoflegends.nix
|
||||||
./legendary.nix
|
./legendary.nix
|
||||||
./lutris.nix
|
./lutris.nix
|
||||||
|
@ -107,7 +107,7 @@
|
|||||||
format = "<label>";
|
format = "<label>";
|
||||||
exec = builtins.toString (pkgs.writeShellScript "mailcount.sh" ''
|
exec = builtins.toString (pkgs.writeShellScript "mailcount.sh" ''
|
||||||
${pkgs.notmuch}/bin/notmuch new > /dev/null
|
${pkgs.notmuch}/bin/notmuch new > /dev/null
|
||||||
UNREAD=$(${pkgs.notmuch}/bin/notmuch count is:inbox and is:unread and folder:main/Inbox)
|
UNREAD=$(${pkgs.notmuch}/bin/notmuch count is:inbox and is:unread)
|
||||||
if [ $UNREAD = "0" ]; then
|
if [ $UNREAD = "0" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
|
@ -10,16 +10,10 @@
|
|||||||
networking.interfaces.wlp4s0.useDHCP = true;
|
networking.interfaces.wlp4s0.useDHCP = true;
|
||||||
|
|
||||||
networking.firewall.allowPing = lib.mkIf config.server true;
|
networking.firewall.allowPing = lib.mkIf config.server true;
|
||||||
|
networking.hosts = {
|
||||||
# DNS service discovery
|
"192.168.0.120" = [ "tempest" ];
|
||||||
services.avahi.enable = true;
|
"192.168.0.218" = [ "swan" ];
|
||||||
# services.avahi.public.enable = true;
|
};
|
||||||
# services.avahi.public.domain = true;
|
|
||||||
# services.avahi.public.addresses = true;
|
|
||||||
# services.avahi.domainName = "local";
|
|
||||||
|
|
||||||
# Resolve local hostnames using Avahi DNS
|
|
||||||
services.avahi.nssmdns = true;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
# /r/archlinux/comments/y7b97e/my_computer_wakes_up_immediately_after_i_suspend/isu99sr/
|
# /r/archlinux/comments/y7b97e/my_computer_wakes_up_immediately_after_i_suspend/isu99sr/
|
||||||
echo GPP0 > /proc/acpi/wakeup
|
echo GPP0 > /proc/acpi/wakeup
|
||||||
|
|
||||||
# Possibly need to wait a beat for settings to kick in
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user