From 32d4278611a8e9a88ca54a27a072985087015039 Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 17 Feb 2023 16:51:44 +0100 Subject: Feat(home-manager): Move configs in their own directory --- home-manager/config/grades/config.yaml | 59 ++++++++++++++++++++++++++++++++++ home-manager/config/grades/default.nix | 3 ++ 2 files changed, 62 insertions(+) create mode 100644 home-manager/config/grades/config.yaml create mode 100644 home-manager/config/grades/default.nix (limited to 'home-manager/config/grades') diff --git a/home-manager/config/grades/config.yaml b/home-manager/config/grades/config.yaml new file mode 100644 index 00000000..ebbc61f8 --- /dev/null +++ b/home-manager/config/grades/config.yaml @@ -0,0 +1,59 @@ +--- +# The unit of your grades. +# This can also be specified +# on a per grade basis on the command line +unit: Punkte + +# List of the possible grade groups +# +# name: +# This is the name used below +# +# weight: +# This is the weight applied to all grades form the group +# when calculation the average (see https://en.wikipedia.org//wiki/Weighted_arithmetic_mean for a explanation). +grade_groups: + - name: major + weight: '2' + - name: minor + weight: '1' + +# List of the types of grades. +# +# name: +# This is the name used on the command line. +# NB: The name is case sensitive. +# +# group: +# This is used when calculating the average, to group multiple types together. +# You might want to use separate types to keep grades ordered, +# but calculate their average as one. +# The value is one of the names you declared in the grade_group section. +grade_types: + - name: graded-homework + group: minor + - name: exam + group: major + - name: oral-mark + group: minor + +# List of the types of Classes +# +# name: +# The name used below +class_types: + - name: subsidiary-subject + - name: intensified-course + +# List of classes +# +# name: +# The name used on the cli +# +# class_type: +# The name of the class type you declared above +classes: + - name: Math + class_type: intensified-course2 + - name: English + class_type: subsidiary-subject diff --git a/home-manager/config/grades/default.nix b/home-manager/config/grades/default.nix new file mode 100644 index 00000000..22c5a6d4 --- /dev/null +++ b/home-manager/config/grades/default.nix @@ -0,0 +1,3 @@ +{config, ...}: { + xdg.configFile."grades/config.yaml".source = ./config.yaml; +} -- cgit 1.4.1