File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 130130 dev-systems . url = "github:nix-systems/default" ;
131131
132132 # keep-sorted start block=yes newline_separated=yes
133+ dank-calendar = {
134+ url = "github:AvengeMedia/dankcalendar" ;
135+ inputs . nixpkgs . follows = "dev-nixpkgs" ;
136+ } ;
137+
133138 dankMaterialShell = {
134139 url = "github:AvengeMedia/DankMaterialShell" ;
135140 inputs = {
Original file line number Diff line number Diff line change 243243 githubId = 19377854 ;
244244 name = "jamie" ;
245245 } ;
246+ thbemme = {
247+ email = "thomas.bemme@googlemail.com" ;
248+ github = "thbemme" ;
249+ githubId = 14074615 ;
250+ matrix = "@riza:chaos.jetzt" ;
251+ name = "Thomas Bemme" ;
252+ } ;
246253 trueNAHO = {
247254 email = "nix@noahbiewesch.com" ;
248255 github = "trueNAHO" ;
Original file line number Diff line number Diff line change 1+ {
2+ mkTarget ,
3+ lib ,
4+ options ,
5+ pkgs ,
6+ ...
7+ } :
8+ mkTarget {
9+ config = lib . optionals ( options . programs ? dank-calendar ) [
10+ (
11+ { colors } :
12+ {
13+ programs . dank-calendar . settings = {
14+ colorSource = "custom" ;
15+ customThemeFile =
16+ let
17+ theme = with colors . withHashtag ; {
18+ name = "Stylix" ;
19+ primary = base0D ;
20+ primaryText = base00 ;
21+ primaryContainer = base0C ;
22+ secondary = base0E ;
23+ surface = base01 ;
24+ surfaceText = base05 ;
25+ surfaceVariant = base02 ;
26+ surfaceVariantText = base04 ;
27+ surfaceTint = base0D ;
28+ background = base00 ;
29+ backgroundText = base05 ;
30+ outline = base03 ;
31+ surfaceContainer = base01 ;
32+ surfaceContainerHigh = base02 ;
33+ surfaceContainerHighest = base03 ;
34+ error = base08 ;
35+ warning = base0A ;
36+ info = base0C ;
37+ } ;
38+ in
39+ pkgs . writeText "dank-calendar-stylix-color-theme.json" (
40+ builtins . toJSON {
41+ dark = theme ;
42+ light = theme ;
43+ }
44+ ) ;
45+ } ;
46+ }
47+ )
48+ ] ;
49+ }
Original file line number Diff line number Diff line change 1+ { lib , ... } :
2+ {
3+ name = "DankCalendar" ;
4+ homepage = "https://github.com/AvengeMedia/dankcalendar" ;
5+ maintainers = [ lib . maintainers . thbemme ] ;
6+ }
Original file line number Diff line number Diff line change 1+ { lib , ... } :
2+ {
3+ stylix . testbed . ui = {
4+ graphicalEnvironment = "hyprland" ;
5+ command . text = "dcal" ;
6+ sendNotifications = true ;
7+ } ;
8+
9+ home-manager . sharedModules = lib . singleton {
10+ programs . dank-calendar . enable = true ;
11+ } ;
12+ }
Original file line number Diff line number Diff line change 8989 github = "skiletro" ;
9090 githubId = 19377854 ;
9191 } ;
92+ thbemme = {
93+ email = "thomas.bemme@googlemail.com" ;
94+ github = "thbemme" ;
95+ githubId = 14074615 ;
96+ matrix = "@riza:chaos.jetzt" ;
97+ name = "Thomas Bemme" ;
98+ } ;
9299 vidhanio = {
93100 email = "me@vidhan.io" ;
94101 name = "Vidhan Bhatt" ;
Original file line number Diff line number Diff line change 3535 {
3636 inherit ( inputs . spicetify-nix . nixosModules ) spicetify ;
3737
38+ dank-calendar . home-manager . sharedModules = [
39+ inputs . dank-calendar . homeModules . default
40+ ] ;
41+
3842 dank-material-shell . home-manager . sharedModules = [
3943 inputs . dankMaterialShell . homeModules . dank-material-shell
4044 ] ;
You can’t perform that action at this time.
0 commit comments