From 1c714dc335715deb71c254ae1251f45eaf088c1c Mon Sep 17 00:00:00 2001
From: Jacob Janzen <jacob.a.s.janzen@gmail.com>
Date: Thu, 26 Sep 2024 18:11:43 -0500
Subject: fix some services

---
 nixos/.flake/home/hyprland.nix       | 2 --
 nixos/.flake/home/programs/core.nix  | 5 ++---
 nixos/.flake/home/services/core.nix  | 3 ++-
 nixos/.flake/home/services/emacs.nix | 9 +++++++++
 nixos/.flake/home/services/mako.nix  | 8 ++++++++
 5 files changed, 21 insertions(+), 6 deletions(-)
 create mode 100644 nixos/.flake/home/services/emacs.nix
 create mode 100644 nixos/.flake/home/services/mako.nix

(limited to 'nixos/.flake')

diff --git a/nixos/.flake/home/hyprland.nix b/nixos/.flake/home/hyprland.nix
index 014edf3..94fd3a6 100644
--- a/nixos/.flake/home/hyprland.nix
+++ b/nixos/.flake/home/hyprland.nix
@@ -12,8 +12,6 @@
         "nm-applet &"
         "blueman-applet &"
         "waybar"
-        "mako" # TODO: remove this
-        "emacs --daemon" # TODO: remove this
         "swaybg -m fill -i ~/.wallpaper"
         "mpdscribble"
       ];
diff --git a/nixos/.flake/home/programs/core.nix b/nixos/.flake/home/programs/core.nix
index 1477274..7eaab26 100644
--- a/nixos/.flake/home/programs/core.nix
+++ b/nixos/.flake/home/programs/core.nix
@@ -14,8 +14,7 @@
 
   home.packages = with pkgs; [
     discord # not FOSS
-    emacs # TODO
-    fuzzel # TODO
+    fuzzel
     htop
     hyfetch
     hyprshot
@@ -25,7 +24,7 @@
     pavucontrol
     prismlauncher # minecraft
     python3
-    swaybg # TODO
+    swaybg
     texliveFull
   ];
 }
diff --git a/nixos/.flake/home/services/core.nix b/nixos/.flake/home/services/core.nix
index 132e3e6..a9380a6 100644
--- a/nixos/.flake/home/services/core.nix
+++ b/nixos/.flake/home/services/core.nix
@@ -2,12 +2,13 @@
 
 {
   imports = [
+    ./emacs.nix
+    ./mako.nix
     ./mpd.nix
     ./syncthing.nix
   ];
 
   home.packages = with pkgs; [
-    mako # TODO
     mpdscribble
   ];
 }
diff --git a/nixos/.flake/home/services/emacs.nix b/nixos/.flake/home/services/emacs.nix
new file mode 100644
index 0000000..867ef0b
--- /dev/null
+++ b/nixos/.flake/home/services/emacs.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{
+  services.emacs = {
+    enable = true;
+    client.enable = true;
+    socketActivation.enable = true;
+  };
+}
diff --git a/nixos/.flake/home/services/mako.nix b/nixos/.flake/home/services/mako.nix
new file mode 100644
index 0000000..94348e3
--- /dev/null
+++ b/nixos/.flake/home/services/mako.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }:
+
+{
+  services.mako = {
+    enable = true;
+    backgroundColor = "#ece0c9ff";
+  };
+}
-- 
cgit v1.2.3