mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-19 01:21:39 +01:00
wlsunset, dwarf fortress, mail fixes
This commit is contained in:
parent
78b5dad1d9
commit
b283eb634f
8 changed files with 48 additions and 29 deletions
48
flake.lock
48
flake.lock
|
@ -171,11 +171,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688552611,
|
"lastModified": 1688892808,
|
||||||
"narHash": "sha256-pV/1/AU1l5CNFeKmdJ1jofcaKHhtKAbxY4gazeCyoSo=",
|
"narHash": "sha256-AeWzyG37EqyHH2C1GmrV9y0ZQ4e7rAs9AUOnw8I4YUI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "b23c7501f7e0a001486c9a5555a6c53ac7b08e85",
|
"rev": "b70db52ff06f30e3de7f21b6ea47e75baa0c46f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -272,11 +272,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687097842,
|
"lastModified": 1688874465,
|
||||||
"narHash": "sha256-NPAaRZx5foWLgIPfEaiEZMr9JIlEQhLEVEXpx09341Q=",
|
"narHash": "sha256-BUwl+tq40EjkufTZkqf3lWFzxOA/mYBTHz+p5uJtjaY=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "c8210cb3fcde6860255b54ddba74dc177e6232cd",
|
"rev": "757114749d4613cf71f3748e780a1be8a67a5d3c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -287,11 +287,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1686838567,
|
"lastModified": 1688798314,
|
||||||
"narHash": "sha256-aqKCUD126dRlVSKV6vWuDCitfjFrZlkwNuvj5LtjRRU=",
|
"narHash": "sha256-MFG5rx7L756rtrPHsL662m64AZ4sKqUcApaiYgSKfNM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "429f232fe1dc398c5afea19a51aad6931ee0fb89",
|
"rev": "47dca15d86fdd2eabcf434d7cc0b5baa8d1a463c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -301,11 +301,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688500189,
|
"lastModified": 1688679045,
|
||||||
"narHash": "sha256-djYYiY4lzJOlXOnTHytH6BUugrxHDZjuGxTSrU4gt4M=",
|
"narHash": "sha256-t3xGEfYIwhaLTPU8FLtN/pLPytNeDwbLI6a7XFFBlGo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "78419edadf0fabbe5618643bd850b2f2198ed060",
|
"rev": "3c7487575d9445185249a159046cc02ff364bff8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -347,11 +347,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688256355,
|
"lastModified": 1688868408,
|
||||||
"narHash": "sha256-/E+OSabu4ii5+ccWff2k4vxDsXYhpc4hwnm0s6JOz7Y=",
|
"narHash": "sha256-RR9N5XTAxSBhK8MCvLq9uxfdkd7etC//seVXldy0k48=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f553c016a31277246f8d3724d3b1eee5e8c0842c",
|
"rev": "510d721ce097150ae3b80f84b04b13b039186571",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -399,11 +399,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688283850,
|
"lastModified": 1688900520,
|
||||||
"narHash": "sha256-MYqRBDJL1DJHbwexYxDb/9R1qvuhYakh1E+SfzDadc8=",
|
"narHash": "sha256-D4E+IrHziNftnoGb+lhgNx4Z/AniwPqR8JMD24yc8UI=",
|
||||||
"owner": "therealr5",
|
"owner": "therealr5",
|
||||||
"repo": "purge",
|
"repo": "purge",
|
||||||
"rev": "0a5ca0cc596afd360639bfd8ac6187245b3734ec",
|
"rev": "53ae6908ef0887fa9f704ea2ba30bf13df4551ed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -460,11 +460,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable_2"
|
"nixpkgs-stable": "nixpkgs-stable_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688268466,
|
"lastModified": 1688873469,
|
||||||
"narHash": "sha256-fArazqgYyEFiNcqa136zVYXihuqzRHNOOeVICayU2Yg=",
|
"narHash": "sha256-9TMSXvXmrr7bDYi+WeskWe/yho9UP01dGbV9vW5bRVc=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "5ed3c22c1fa0515e037e36956a67fe7e32c92957",
|
"rev": "b2047c8fc963407916ad3834165309007dc5a1f7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -495,11 +495,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688282790,
|
"lastModified": 1688900567,
|
||||||
"narHash": "sha256-7+/witOmi7o6oPp8ILjcY/2BBjQnTaeOkeJ+NND3ZjI=",
|
"narHash": "sha256-5VM0E4zliCizOL3lx5oZQkmENP+/Ps1RETPhK0kU5GY=",
|
||||||
"owner": "therealr5",
|
"owner": "therealr5",
|
||||||
"repo": "TruckSimulatorBot",
|
"repo": "TruckSimulatorBot",
|
||||||
"rev": "f2b10439be8238ed2123851dd80f280b8ca2eddc",
|
"rev": "493ec06bf8460541c76b9e2e208f5d156b4e82d1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
# url = "github:therealr5/lanzaboote/stub-platform-fix";
|
|
||||||
url = "github:nix-community/lanzaboote/v0.3.0";
|
url = "github:nix-community/lanzaboote/v0.3.0";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
|
@ -72,7 +72,7 @@ in
|
||||||
smtpd_sasl_auth_enable = true;
|
smtpd_sasl_auth_enable = true;
|
||||||
smtpd_sasl_path = "/var/lib/postfix/auth";
|
smtpd_sasl_path = "/var/lib/postfix/auth";
|
||||||
smtpd_sasl_type = "dovecot";
|
smtpd_sasl_type = "dovecot";
|
||||||
local_transport = "lmtp:unix:/run/dovecot2/dovecot-lmtp";
|
mailbox_transport = "lmtp:unix:/run/dovecot2/dovecot-lmtp";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||||
allowedUDPPortRanges = allowedTCPPortRanges;
|
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||||
};
|
};
|
||||||
|
# wayland keylogger needs setuid
|
||||||
|
programs.wshowkeys.enable = true;
|
||||||
# fixes pam entries for swaylock
|
# fixes pam entries for swaylock
|
||||||
security.pam.services.swaylock.text = ''
|
security.pam.services.swaylock.text = ''
|
||||||
# Account management.
|
# Account management.
|
||||||
|
|
|
@ -225,6 +225,11 @@ in
|
||||||
farPattern = "Drafts";
|
farPattern = "Drafts";
|
||||||
extraConfig.Create = "near";
|
extraConfig.Create = "near";
|
||||||
};
|
};
|
||||||
|
channels.spamtrain = {
|
||||||
|
nearPattern = "Spamtrain";
|
||||||
|
farPattern = "Spamtrain";
|
||||||
|
extraConfig.Create = "near";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
account = {
|
account = {
|
||||||
|
@ -237,7 +242,7 @@ in
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
mailboxName = " iFSR";
|
mailboxName = " iFSR";
|
||||||
extraMailboxes = lib.lists.forEach [ c.admin c.sent c.trash c.junk c.drafts ] (x: x.nearPattern);
|
extraMailboxes = lib.lists.forEach [ c.admin c.sent c.spamtrain c.trash c.junk c.drafts ] (x: x.nearPattern);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"gmail" = rec {
|
"gmail" = rec {
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
ffmpeg
|
ffmpeg
|
||||||
drawio
|
drawio
|
||||||
|
|
||||||
thunderbird
|
|
||||||
|
|
||||||
# sound
|
# sound
|
||||||
pavucontrol
|
pavucontrol
|
||||||
x32edit
|
x32edit
|
||||||
|
@ -33,6 +31,7 @@
|
||||||
gomuks # alternative matrix client
|
gomuks # alternative matrix client
|
||||||
|
|
||||||
# games
|
# games
|
||||||
|
dwarf-fortress-packages.dwarf-fortress-full
|
||||||
prismlauncher # minecraft, but it actually works # not anymore lol
|
prismlauncher # minecraft, but it actually works # not anymore lol
|
||||||
superTuxKart
|
superTuxKart
|
||||||
|
|
||||||
|
@ -44,6 +43,7 @@
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
btop
|
||||||
asciinema
|
asciinema
|
||||||
neofetch # obligatory
|
neofetch # obligatory
|
||||||
virt-manager
|
virt-manager
|
||||||
|
|
|
@ -38,6 +38,10 @@ in
|
||||||
hostname = "quitte.ifsr.de";
|
hostname = "quitte.ifsr.de";
|
||||||
user = "root";
|
user = "root";
|
||||||
};
|
};
|
||||||
|
"tomate" = {
|
||||||
|
hostname = "tomate.ifsr.de";
|
||||||
|
user = "root";
|
||||||
|
};
|
||||||
"nuc" = {
|
"nuc" = {
|
||||||
hostname = "192.168.10.2";
|
hostname = "192.168.10.2";
|
||||||
user = "root";
|
user = "root";
|
||||||
|
|
|
@ -42,6 +42,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.wlsunset = {
|
||||||
|
enable = true;
|
||||||
|
longitude = "13";
|
||||||
|
latitude = "51";
|
||||||
|
temperature = {
|
||||||
|
night = 4300;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"swaync".source = ./swaync;
|
"swaync".source = ./swaync;
|
||||||
"fuzzel/fuzzel.ini".text = ''
|
"fuzzel/fuzzel.ini".text = ''
|
||||||
|
|
Loading…
Reference in a new issue