File tree Expand file tree Collapse file tree 5 files changed +45
-16
lines changed
modules/common/home-manager/profiles/base/emacs Expand file tree Collapse file tree 5 files changed +45
-16
lines changed Original file line number Diff line number Diff line change 4
4
./hardware-configuration.nix
5
5
./android.nix
6
6
./arduino.nix
7
+ ./elfeed-web.nix
7
8
./synergy-server.nix
8
9
] ;
9
10
Original file line number Diff line number Diff line change
1
+ {
2
+ networking . firewall = {
3
+ allowedTCPPorts = [ 8080 ] ;
4
+ allowedUDPPorts = [ 8080 ] ;
5
+ } ;
6
+ }
Original file line number Diff line number Diff line change 4
4
dpi = 183 ;
5
5
in
6
6
{
7
- home . stateVersion = "21.11" ;
7
+ imports = [
8
+ ./elfeed-web.nix
9
+ ] ;
8
10
9
- programs . spotify . package = pkgs . spotify . override { deviceScaleFactor = 1.8 ; } ;
11
+ config = {
12
+ home . stateVersion = "21.11" ;
10
13
11
- programs . rofi . extraConfig . dpi = dpi ;
14
+ programs . spotify . package = pkgs . spotify . override { deviceScaleFactor = 1.8 ; } ;
12
15
13
- services . polybar = {
14
- script = ''
15
- MONITOR=DP-4 TRAY_POS="right" polybar &
16
- MONITOR=DP-2 TRAY_POS="" polybar &
17
- '' ;
16
+ programs . rofi . extraConfig . dpi = dpi ;
18
17
19
- settings = {
20
- "bar/main" . modules-right = "wired-network filesystem memory cpu temperature pipewire" ;
18
+ services . polybar = {
19
+ script = ''
20
+ MONITOR=DP-4 TRAY_POS="right" polybar &
21
+ MONITOR=DP-2 TRAY_POS="" polybar &
22
+ '' ;
21
23
22
- "module/temperature" = {
23
- type = "internal/temperature" ;
24
- hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input" ;
24
+ settings = {
25
+ "bar/main" . modules-right = "wired-network filesystem memory cpu temperature pipewire" ;
26
+
27
+ "module/temperature" = {
28
+ type = "internal/temperature" ;
29
+ hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input" ;
30
+ } ;
25
31
} ;
26
32
} ;
27
- } ;
28
33
29
- xresources . properties . "Xft.dpi" = dpi ;
34
+ xresources . properties . "Xft.dpi" = dpi ;
35
+ } ;
30
36
}
Original file line number Diff line number Diff line change
1
+ {
2
+ programs . emacs . init . usePackage . elfeed-web = {
3
+ enable = true ;
4
+ demand = true ;
5
+ config = ''
6
+ (elfeed-web-start)
7
+ '' ;
8
+ } ;
9
+ }
Original file line number Diff line number Diff line change 27
27
28
28
programs . emacs . package = pkgs . emacs-unstable ;
29
29
30
- programs . emacs . overrides = _ : _ : {
30
+ programs . emacs . overrides = _ : super : {
31
31
eglot = null ; # use built-in package
32
+
33
+ elfeed = super . elfeed . overrideAttrs ( _ : {
34
+ # Include elfeed-web in the package
35
+ postInstall = ''
36
+ cp -r $src/web $out/share/emacs/site-lisp/elpa/elfeed-*
37
+ '' ;
38
+ } ) ;
32
39
} ;
33
40
34
41
programs . emacs . init = {
You can’t perform that action at this time.
0 commit comments