users.dhall (1800B)
1 let UserConfig = 2 { name : Optional Text 3 , listenbrainzUser : Optional Text 4 , lastfmUser : Optional Text 5 , databaseFile : Text 6 , coverCacheEnabled : Bool 7 , backupEnabled : Bool 8 , backupIntervalHours : Natural 9 , initialSync : Bool 10 } 11 12 let defaults 13 : UserConfig 14 = { name = None Text 15 , listenbrainzUser = None Text 16 , lastfmUser = None Text 17 , databaseFile = "corpus.db" 18 , coverCacheEnabled = True 19 , backupEnabled = False 20 , backupIntervalHours = 24 21 , initialSync = False 22 } 23 24 in { users = 25 [ { slug = "" 26 , name = Some "mtmn" 27 , config = 28 defaults 29 with listenbrainzUser = Some "mtmn" 30 with lastfmUser = Some "mtmnn" 31 with databaseFile = "corpus.db" 32 with backupEnabled = True 33 } 34 , { slug = "filip" 35 , name = Some "filip" 36 , config = 37 defaults 38 with lastfmUser = Some "bozemoj" 39 with databaseFile = "filip.db" 40 with backupEnabled = True 41 } 42 , { slug = "robo" 43 , name = Some "robo" 44 , config = 45 defaults 46 with lastfmUser = Some "robo_k" 47 with databaseFile = "robo.db" 48 with backupEnabled = True 49 } 50 , { slug = "pstmn" 51 , name = Some "pstmn" 52 , config = 53 defaults 54 with lastfmUser = Some "post_man" 55 with databaseFile = "pstmn.db" 56 with backupEnabled = True 57 } 58 , { slug = "olga" 59 , name = Some "olga" 60 , config = 61 defaults 62 with lastfmUser = Some "archaetropin" 63 with databaseFile = "olga.db" 64 with backupEnabled = True 65 } 66 ] 67 }