This commit is contained in:
Evie Litherland-Smith 2023-10-04 16:39:52 +01:00
commit d7c6f05f03
10 changed files with 26 additions and 25 deletions

View file

@ -3,13 +3,14 @@
** TODO Re-write Hyprland config ** TODO Re-write Hyprland config
Convert from linked text file to proper nix expression (using home-manager) Convert from linked text file to proper nix expression (using home-manager)
* Password store setup * Password store setup
** Export gpg key ** Transfer GPG key(s)
#+begin_src bash #+begin_src bash
# Export key on existing machine
gpg --export-secret-keys > key.gpg gpg --export-secret-keys > key.gpg
#+end_src # Import key on new machine
** Import gpg key
#+begin_src bash
gpg --import key.gpg gpg --import key.gpg
# Edit (for each key) to set trust
gpg --edit-key ...
#+end_src #+end_src
** Clone password-store repository ** Clone password-store repository
#+begin_src bash #+begin_src bash

View file

@ -50,7 +50,7 @@
}; };
vdirsyncer = { vdirsyncer = {
enable = lib.mkDefault emailConfig.mbsync.enable; enable = lib.mkDefault emailConfig.mbsync.enable;
collections = [ "from a" ]; collections = [ "calendar" ];
metadata = [ "color" "displayname" ]; metadata = [ "color" "displayname" ];
itemTypes = [ "VEVENT" ]; itemTypes = [ "VEVENT" ];
}; };

View file

@ -34,7 +34,7 @@
}; };
vdirsyncer = { vdirsyncer = {
inherit (calendarAccounts.ukaea.vdirsyncer) enable; inherit (calendarAccounts.ukaea.vdirsyncer) enable;
collections = [ "from a" ]; collections = [ "contacts" ];
}; };
}; };
}; };

View file

@ -90,7 +90,7 @@
boxes = [ "INBOX" ]; boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull-new icloud:INBOX"; onNotify = "${pkgs.isync}/bin/mbsync --pull-new icloud:INBOX";
onNotifyPost = onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'"; "${pkgs.libnotify}/bin/notify-send 'iCloud: New mail arrived'";
extraConfig.wait = 300; extraConfig.wait = 300;
}; };
mbsync = { mbsync = {
@ -107,7 +107,7 @@
ukaea = let ukaea = let
host = "127.0.0.1"; host = "127.0.0.1";
tls.enable = false; tls.enable = false;
accountEnabled = false; accountEnabled = true;
in rec { in rec {
inherit realName; inherit realName;
primary = lib.mkDefault false; primary = lib.mkDefault false;
@ -130,7 +130,7 @@
boxes = [ "INBOX" ]; boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull-new ukaea:INBOX"; onNotify = "${pkgs.isync}/bin/mbsync --pull-new ukaea:INBOX";
onNotifyPost = onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'"; "${pkgs.libnotify}/bin/notify-send 'UKAEA: New mail arrived'";
extraConfig = { extraConfig = {
wait = 300; wait = 300;
tls = false; tls = false;

View file

@ -47,7 +47,7 @@
treemacs ; a project drawer, like neotree but cooler treemacs ; a project drawer, like neotree but cooler
;; unicode ; extended unicode support for various languages ;; unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB ;; vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces workspaces ; tab emulation, persistence & separate workspaces
zen ; distraction-free coding or writing zen ; distraction-free coding or writing

View file

@ -80,6 +80,14 @@
name = "JET"; name = "JET";
url = "http://w3.jet.uk"; url = "http://w3.jet.uk";
} }
{
name = "Marval";
url = "https://marval.service.ukaea.uk/MSMSelfService/Index.aspx";
}
{
name = "U4BW";
url = "https://ubw.unit4cloud.com/uk_aea_prod_web/Login/Login.aspx";
}
{ {
name = "Physics Summary"; name = "Physics Summary";
url = url =

View file

@ -168,6 +168,8 @@ in ''
windowrule = center,(Pinentry) windowrule = center,(Pinentry)
windowrule = float,(thunar) windowrule = float,(thunar)
windowrule = center,(thunar) windowrule = center,(thunar)
windowrule = float,(davmail-imap-ImapConnection)
windowrule = center,(davmail-imap-ImapConnection)
windowrule = float,(wlogout) windowrule = float,(wlogout)
windowrule = center,(wlogout) windowrule = center,(wlogout)
windowrule = nofullscreenrequest,(wlogout) windowrule = nofullscreenrequest,(wlogout)

View file

@ -11,13 +11,7 @@
accounts = { accounts = {
email.accounts = { email.accounts = {
proton.primary = false; proton.primary = false;
ukaea = { ukaea.primary = true;
primary = true;
imapnotify.enable = true;
mbsync.enable = true;
msmtp.enable = true;
mu.enable = true;
};
}; };
calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed
}; };

View file

@ -11,13 +11,7 @@
accounts = { accounts = {
email.accounts = { email.accounts = {
proton.primary = false; proton.primary = false;
ukaea = { ukaea.primary = true;
primary = true;
imapnotify.enable = true;
mbsync.enable = true;
msmtp.enable = true;
mu.enable = true;
};
}; };
calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed
}; };

View file

@ -1,6 +1,6 @@
{ lib, user, group, ... }: { lib, user, group, ... }:
let let
devices = [ "Legion" "Northstar" "Ronin" "Vanguard" ]; devices = [ "Legion" "Northstar" "Ronin" "Scorch" "Vanguard" ];
devicesWithPhone = devices ++ [ "Ion" ]; devicesWithPhone = devices ++ [ "Ion" ];
in { in {
services.syncthing = { services.syncthing = {
@ -19,6 +19,8 @@ in {
"HNK5Z72-757G3BP-I4PBWXY-FM5FWCM-ES4XP56-E5ULWB5-RGRCBUI-RHWRXQV"; "HNK5Z72-757G3BP-I4PBWXY-FM5FWCM-ES4XP56-E5ULWB5-RGRCBUI-RHWRXQV";
"Ronin".id = "Ronin".id =
"ZOL5YHK-ZZZULIE-UHGVKHW-H5E4BP7-S4CZBOX-OIZVUCV-RZUXOKA-QVBUBAJ"; "ZOL5YHK-ZZZULIE-UHGVKHW-H5E4BP7-S4CZBOX-OIZVUCV-RZUXOKA-QVBUBAJ";
"Scorch".id =
"VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF";
"Vanguard".id = "Vanguard".id =
"I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK"; "I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK";
}; };