aboutsummaryrefslogtreecommitdiff
path: root/nixos/.flake/home/services
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/.flake/home/services')
-rw-r--r--nixos/.flake/home/services/core.org (renamed from nixos/.flake/home/services/core.nix)5
-rw-r--r--nixos/.flake/home/services/emacs.nix9
-rw-r--r--nixos/.flake/home/services/emacs.org14
-rw-r--r--nixos/.flake/home/services/mako.nix8
-rw-r--r--nixos/.flake/home/services/mako.org13
-rw-r--r--nixos/.flake/home/services/mpd.nix16
-rw-r--r--nixos/.flake/home/services/mpd.org21
-rw-r--r--nixos/.flake/home/services/syncthing.nix7
-rw-r--r--nixos/.flake/home/services/syncthing.org12
9 files changed, 65 insertions, 40 deletions
diff --git a/nixos/.flake/home/services/core.nix b/nixos/.flake/home/services/core.org
index a9380a6..bd4c1d2 100644
--- a/nixos/.flake/home/services/core.nix
+++ b/nixos/.flake/home/services/core.org
@@ -1,3 +1,7 @@
+#+title: Core Service Configuration
+
+Import service configurations.
+#+begin_src nix :tangle ~/.flake/home/services/core.nix :mkdirp yes
{ config, pkgs, ... }:
{
@@ -12,3 +16,4 @@
mpdscribble
];
}
+#+end_src
diff --git a/nixos/.flake/home/services/emacs.nix b/nixos/.flake/home/services/emacs.nix
deleted file mode 100644
index 867ef0b..0000000
--- a/nixos/.flake/home/services/emacs.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- services.emacs = {
- enable = true;
- client.enable = true;
- socketActivation.enable = true;
- };
-}
diff --git a/nixos/.flake/home/services/emacs.org b/nixos/.flake/home/services/emacs.org
new file mode 100644
index 0000000..1a11446
--- /dev/null
+++ b/nixos/.flake/home/services/emacs.org
@@ -0,0 +1,14 @@
+#+title: Emacs Service Configuration
+
+Enable Emacs daemon and client.
+#+begin_src nix :tangle ~/.flake/home/services/emacs.nix :mkdirp yes
+{ config, pkgs, ... }:
+
+{
+ services.emacs = {
+ enable = true;
+ client.enable = true;
+ socketActivation.enable = true;
+ };
+}
+#+end_src
diff --git a/nixos/.flake/home/services/mako.nix b/nixos/.flake/home/services/mako.nix
deleted file mode 100644
index 021cb8c..0000000
--- a/nixos/.flake/home/services/mako.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- services.mako = {
- enable = true;
- backgroundColor = "#191916ff";
- };
-}
diff --git a/nixos/.flake/home/services/mako.org b/nixos/.flake/home/services/mako.org
new file mode 100644
index 0000000..caa0240
--- /dev/null
+++ b/nixos/.flake/home/services/mako.org
@@ -0,0 +1,13 @@
+#+title: Mako Configuration
+
+Enable =mako= to handle notifications.
+#+begin_src nix :tangle ~/.flake/home/services/mako.nix :mkdirp yes
+{ config, pkgs, ... }:
+
+{
+ services.mako = {
+ enable = true;
+ backgroundColor = "#191916ff";
+ };
+}
+#+end_src
diff --git a/nixos/.flake/home/services/mpd.nix b/nixos/.flake/home/services/mpd.nix
deleted file mode 100644
index a5a5dc0..0000000
--- a/nixos/.flake/home/services/mpd.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- services.mpd = {
- enable = true;
- musicDirectory = "~/Music";
- extraConfig = ''
- audio_output {
- type "pipewire"
- name "Pipewire"
- mixer_type "hardware"
- enabled "yes"
- }
- '';
- };
-}
diff --git a/nixos/.flake/home/services/mpd.org b/nixos/.flake/home/services/mpd.org
new file mode 100644
index 0000000..b985b2a
--- /dev/null
+++ b/nixos/.flake/home/services/mpd.org
@@ -0,0 +1,21 @@
+#+title: MPD Configuration
+
+Set music directory and enable PipeWire output.
+#+begin_src nix :tangle ~/.flake/home/services/mpd.nix :mkdirp yes
+ { config, pkgs, ... }:
+
+ {
+ services.mpd = {
+ enable = true;
+ musicDirectory = "~/Music";
+ extraConfig = ''
+ audio_output {
+ type "pipewire"
+ name "Pipewire"
+ mixer_type "hardware"
+ enabled "yes"
+ }
+ '';
+ };
+ }
+#+end_src
diff --git a/nixos/.flake/home/services/syncthing.nix b/nixos/.flake/home/services/syncthing.nix
deleted file mode 100644
index 1eccd8d..0000000
--- a/nixos/.flake/home/services/syncthing.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- services.syncthing = {
- enable = true;
- };
-}
diff --git a/nixos/.flake/home/services/syncthing.org b/nixos/.flake/home/services/syncthing.org
new file mode 100644
index 0000000..42dbf50
--- /dev/null
+++ b/nixos/.flake/home/services/syncthing.org
@@ -0,0 +1,12 @@
+#+title: Syncthing Configuration
+
+Enable Syncthing service.
+#+begin_src nix :tangle ~/.flake/home/services/syncthing.nix :mkdirp yes
+{ config, pkgs, ... }:
+
+{
+ services.syncthing = {
+ enable = true;
+ };
+}
+#+end_src