File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 66
66
self . nixosModules . mac-app-util
67
67
self . nixosModules . emacs
68
68
self . nixosModules . controlling
69
+ self . nixosModules . zsh
69
70
] ;
70
71
} ;
71
72
git = import ./modules/git ;
72
73
nix-starter-kit = import ./modules/nix-starter-kit.nix ;
73
74
mac-app-util = import ./modules/mac-app-util ;
74
75
emacs = import ./modules/emacs ;
75
76
controlling = import ./modules/controlling ;
77
+ zsh = import ./modules/zsh ;
76
78
} ;
77
79
} ;
78
80
} ;
Original file line number Diff line number Diff line change 35
35
xz
36
36
zip
37
37
] ;
38
-
39
- # FIXME(Johannes): module!
40
- # file.".config/zsh/ag.zsh".source = ./zsh/ag.zsh;
41
38
} ;
42
39
43
40
programs = {
Original file line number Diff line number Diff line change
1
+ { config , lib , ... } :
2
+
3
+ {
4
+ options . active-group . zsh . enable = lib . mkEnableOption "zsh" ;
5
+
6
+ config = lib . mkIf config . active-group . zsh . enable {
7
+ home . file . ".config/zsh/ag.zsh" . source = ./ag.zsh ;
8
+ } ;
9
+ }
Original file line number Diff line number Diff line change 12
12
home = {
13
13
inherit username stateVersion homeDirectory ;
14
14
sessionVariables = rec {
15
- # NOTE: We assume that the howto directory sits at ~/ howto!
15
+ # NOTE: point this to your local howto checkout
16
16
TEXINPUTS = "${ homeDirectory } /howto/tex:" ;
17
17
EDITOR = "emacsclient" ;
18
18
VISUAL = EDITOR ;
19
19
ALTERNATE_EDITOR = "" ;
20
20
} ;
21
21
} ;
22
22
23
+ # NOTE: Change things to your liking here!
23
24
active-group = {
24
25
nix-starter-kit . enable = true ;
25
26
mac-app-util . enable = pkgs . stdenv . isDarwin ;
33
34
userName = settings . userFullName ;
34
35
userEmail = settings . email ;
35
36
} ;
37
+ zsh . enable = true ;
36
38
} ;
37
39
}
You can’t perform that action at this time.
0 commit comments