summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-03-13 18:35:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-03-13 18:35:03 +0100
commit1e7de7c2823a9beea7103249b732f14b1b1e8f78 (patch)
treeec073e219d67c52a163ae7ce2ca00737c21d2a31 /accounts
parent49375b980197db7b4e0d17327b52d37d6ce33f35 (diff)
downloadnixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar
nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar.gz
nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar.bz2
nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.tar.xz
nixos-1e7de7c2823a9beea7103249b732f14b1b1e8f78.zip
nvfetcher
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;