about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/tazjin/emacs/default.nix3
-rw-r--r--users/tazjin/nixos/frog/default.nix10
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix12
3 files changed, 7 insertions, 18 deletions
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index 609b98ba25eb..3ffe4cdd5236 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -95,8 +95,9 @@ let
   # Other external packages:
   (with epkgs; [
     exwm
-    vterm
+    google-c-style
     telega
+    vterm
   ]) ++
 
   # Custom packages
diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix
index 0b74d3e575a8..05df8caab515 100644
--- a/users/tazjin/nixos/frog/default.nix
+++ b/users/tazjin/nixos/frog/default.nix
@@ -3,12 +3,6 @@
 config: let
   inherit (depot.third_party) lieer;
 
-  # add google-c-style here because other machines get it from, eh,
-  # elsewhere.
-  frogEmacs = (depot.users.tazjin.emacs.overrideEmacs(epkgs: epkgs ++ [
-    pkgs.emacsPackages.google-c-style
-  ]));
-
   quasselClient = pkgs.quassel.override {
     client = true;
     enableDaemon = false;
@@ -182,7 +176,7 @@ in lib.fix(self: {
 
     windowManager.session = lib.singleton {
       name = "exwm";
-      start = "${frogEmacs}/bin/tazjins-emacs";
+      start = "${depot.users.tazjin.emacs}/bin/tazjins-emacs";
     };
   };
 
@@ -217,7 +211,6 @@ in lib.fix(self: {
   environment.systemPackages =
     # programs from the depot
     (with depot; [
-      frogEmacs
       fun.idual.script
       fun.uggc
       lieer
@@ -225,6 +218,7 @@ in lib.fix(self: {
       quasselClient
       third_party.git
       tools.nsfv-setup
+      users.tazjin.emacs
     ]) ++
 
     # programs from nixpkgs
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index c2694bf5eb03..48bd615049fb 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -1,12 +1,6 @@
 { depot, lib, pkgs, ... }:
 
 config: let
-  # add google-c-style here because other machines get it from, eh,
-  # elsewhere.
-  emacs = (depot.users.tazjin.emacs.overrideEmacs(epkgs: epkgs ++ [
-    pkgs.emacsPackages.google-c-style
-  ]));
-
   nixpkgs = import pkgs.path {
     config.allowUnfree = true;
   };
@@ -185,7 +179,7 @@ in lib.fix(self: {
 
       windowManager.session = lib.singleton {
         name = "exwm";
-        start = "${emacs}/bin/tazjins-emacs";
+        start = "${depot.users.tazjin.emacs}/bin/tazjins-emacs";
       };
     };
   };
@@ -220,10 +214,10 @@ in lib.fix(self: {
   environment.systemPackages =
     # programs from the depot
     (with depot; [
-      emacs
+      screenLock
       third_party.lieer
       tools.nsfv-setup
-      screenLock
+      users.tazjin.emacs
     ]) ++
 
     # programs from nixpkgs