mirror of
https://github.com/kmein/niveum
synced 2026-03-20 20:01:08 +01:00
feat: add calcurse
This commit is contained in:
36
configs/calcurse.nix
Normal file
36
configs/calcurse.nix
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.calcurse ];
|
||||||
|
|
||||||
|
home-manager.users.me = {
|
||||||
|
home.file = {
|
||||||
|
".calcurse/conf".text = ''
|
||||||
|
appearance.calendarview=monthly
|
||||||
|
appearance.layout=1
|
||||||
|
daemon.enable=no
|
||||||
|
daemon.log=no
|
||||||
|
format.inputdate=4
|
||||||
|
format.outputdate=%F
|
||||||
|
general.confirmquit=no
|
||||||
|
general.confirmdelete=yes
|
||||||
|
general.firstdayofweek=monday
|
||||||
|
appearance.theme=default on default
|
||||||
|
'';
|
||||||
|
".calcurse/caldav/config".text = lib.generators.toINI {} {
|
||||||
|
General = {
|
||||||
|
Binary = "${pkgs.calcurse}/bin/calcurse";
|
||||||
|
Hostname = "posteo.de:8443";
|
||||||
|
Path = "/calendars/kieran.meinhardt/default/";
|
||||||
|
InsecureSSL = "No";
|
||||||
|
DryRun = "No";
|
||||||
|
Verbose = "Yes";
|
||||||
|
};
|
||||||
|
Auth = {
|
||||||
|
Username = "kieran.meinhardt@posteo.net";
|
||||||
|
Password = lib.strings.fileContents <shared-secrets/posteo/password>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -9,6 +9,7 @@ in {
|
|||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
./ccc.nix
|
./ccc.nix
|
||||||
./kleiter.nix
|
./kleiter.nix
|
||||||
|
./calcurse.nix
|
||||||
./chromium.nix
|
./chromium.nix
|
||||||
./cloud.nix
|
./cloud.nix
|
||||||
./compton.nix
|
./compton.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user