summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/default.nix16
1 files changed, 3 insertions, 13 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 7c75af98..7e064e6a 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -1,25 +1,15 @@
1{ flake, flakeInputs, userName, pkgs, customUtils, lib, config, ... }@inputs: 1{ flake, flakeInputs, userName, pkgs, customUtils, lib, config, sources, ... }@inputs:
2let 2let
3 cfg = config.home-manager.users.${userName}; 3 cfg = config.home-manager.users.${userName};
4 xmonad = import ./xmonad pkgs.haskellPackages; 4 xmonad = import ./xmonad pkgs.haskellPackages;
5 emacsScratch = pkgs.stdenv.mkDerivation rec { 5 emacsScratch = pkgs.stdenv.mkDerivation (sources.emacs-scratch_el // rec {
6 pname = "scratch";
7 version = "0077334cc299aa7885f804d88f52cdb1b35caf71";
8
9 src = pkgs.fetchFromGitHub {
10 owner = "ffevotte";
11 repo = "scratch.el";
12 rev = version;
13 sha256 = "sha256-FUkKJ+1COGzgllzzv51yUIjMZI6slOFVExdwWl2ZEBA=";
14 };
15
16 phases = [ "installPhase" ]; 6 phases = [ "installPhase" ];
17 7
18 installPhase = '' 8 installPhase = ''
19 mkdir -p $out/share/emacs/site-lisp 9 mkdir -p $out/share/emacs/site-lisp
20 cp $src/scratch.el $out/share/emacs/site-lisp/default.el 10 cp $src/scratch.el $out/share/emacs/site-lisp/default.el
21 ''; 11 '';
22 }; 12 });
23 muteScript = pkgs.stdenv.mkDerivation { 13 muteScript = pkgs.stdenv.mkDerivation {
24 name = "mute"; 14 name = "mute";
25 src = ./scripts/mute.zsh; 15 src = ./scripts/mute.zsh;