File tree 14 files changed +73
-145
lines changed
14 files changed +73
-145
lines changed Original file line number Diff line number Diff line change 8
8
in
9
9
{
10
10
imports =
11
- [ # Include the results of the hardware scan.
11
+ [
12
+ # Include the results of the hardware scan.
12
13
./hardware-configuration.nix
13
14
<home-manager/nixos>
14
15
../tchekda_user.nix
35
36
gnome . excludePackages = ( with pkgs ; [
36
37
gnome-photos
37
38
gnome-tour
39
+ gedit # text editor
38
40
] ) ++ ( with pkgs . gnome ; [
39
41
cheese # webcam tool
40
42
gnome-music
41
43
gnome-terminal
42
- gedit # text editor
43
44
epiphany # web browser
44
45
geary # email reader
45
46
evince # document viewer
84
85
enableAllFirmware = true ; # For wifi : https://github.com/NixOS/nixos-hardware/issues/8
85
86
enableRedistributableFirmware = true ;
86
87
87
- firmware = with pkgs ; [ ] ;
88
+ firmware = with pkgs ; [ ] ;
88
89
89
90
i2c . enable = true ;
90
91
129
130
i18n . defaultLocale = "en_US.UTF-8" ;
130
131
131
132
location . provider = "geoclue2" ;
132
-
133
+
133
134
nix = {
134
135
extraOptions = "experimental-features = nix-command flakes" ;
135
136
gc = {
309
310
310
311
useGlamor = true ;
311
312
312
- # videoDrivers = [ "nvidia" ];
313
+ # videoDrivers = [ "nvidia" ];
313
314
314
315
windowManager = {
315
316
i3 = {
Original file line number Diff line number Diff line change 43
43
alpha = generic {
44
44
channel = "alpha" ;
45
45
downloadId = "70" ;
46
- sha256 = "sha256-4IW/wFhq8gPmLA/x5nbVlTgfcdkBB6ChWQEAusebBUE =" ;
47
- version = "1.0.30a " ;
46
+ sha256 = "sha256-lcyZhRmDUUCrfgFK1SF9kOyBEBg1im8Bb2LfbWTr9h8 =" ;
47
+ version = "1.0.33a " ;
48
48
} ;
49
49
beta = generic {
50
50
channel = "beta" ;
51
51
downloadId = "90" ;
52
- sha256 = "sha256-4bV+UWYCGmkTM7ePC/T4y1BiNm84n0LRL7/EfNgWHAc =" ;
53
- version = "1.0.30b " ;
52
+ sha256 = "sha256-4AI/u1NHEbyCxM0yiAKV6WUfCwIP3FZNfBMaQlKlDgI =" ;
53
+ version = "1.0.33b " ;
54
54
} ;
55
55
public = generic {
56
56
channel = "public" ;
57
57
downloadId = "98" ;
58
- sha256 = "sha256-1WOVehe8b8mSaDWpmcGyohxD+UQt/8D1Q0++13MvS7k =" ;
59
- version = "1.0.30b " ;
58
+ sha256 = "sha256-0IKBdnJ0Bsocu2cXyAYOehKHV0sTFMNf++QrK9z4njI =" ;
59
+ version = "1.0.33b " ;
60
60
} ;
61
61
}
Original file line number Diff line number Diff line change 26
26
lxappearance
27
27
# adapta-gtk-theme
28
28
gnome3 . adwaita-icon-theme
29
- pcmanfm
30
29
gnome3 . gnome-calculator
30
+ gnome . gnome-power-manager
31
+ pcmanfm
31
32
libgnome-keyring
32
33
libreoffice
33
34
hunspell
43
44
vlc
44
45
simplescreenrecorder
45
46
] ;
46
- services . flameshot = {
47
- enable = true ;
48
- # package = flameshot;
47
+ services = {
48
+ flameshot = {
49
+ enable = true ;
50
+ # package = flameshot;
51
+ } ;
52
+ gpg-agent . pinentryPackage = pkgs . pinentry-gnome3 ;
49
53
} ;
50
54
systemd . user . targets . tray = {
51
55
Unit = {
Original file line number Diff line number Diff line change 20
20
21
21
home = {
22
22
23
- packages = [ aurora ] ;
23
+ packages = [ aurora ] ;
24
24
25
25
sessionPath = [
26
26
"/home/tchekda/.yarn/bin"
60
60
61
61
gnome-keyring . enable = true ;
62
62
63
- gpg-agent = {
64
- enable = true ;
65
- enableExtraSocket = true ;
66
- pinentryFlavor = "tty" ;
67
- } ;
68
-
69
63
mpris-proxy . enable = true ;
70
64
71
65
picom = {
Original file line number Diff line number Diff line change 51
51
home-manager . enable = true ;
52
52
command-not-found . enable = true ;
53
53
54
- man . generateCaches = false ;
54
+ man . enable = false ;
55
55
56
56
htop . enable = true ;
57
57
75
75
gpg-agent = {
76
76
enable = true ;
77
77
defaultCacheTtl = 7200 ;
78
- maxCacheTtl = 7200 ;
79
- # pinentryFlavor = "curses";
80
78
enableSshSupport = true ;
79
+ enableExtraSocket = true ;
80
+ maxCacheTtl = 7200 ;
81
+ pinentryPackage = pkgs . pinentry-tty ;
81
82
} ;
82
83
} ;
83
84
Original file line number Diff line number Diff line change 30
30
"/home/tchekda/.yarn/bin"
31
31
] ;
32
32
sessionVariables = {
33
+ # https://github.com/ionic-team/vscode-ionic/issues/151#issuecomment-2129296199
34
+ COREPACK_ENABLE_AUTO_PIN = "0" ;
35
+
33
36
EDITOR = "vim" ;
34
37
35
38
HTTPSTAT_SAVE_BODY = "false" ;
71
74
72
75
gnome-keyring . enable = true ;
73
76
74
- gpg-agent = {
75
- enable = true ;
76
- enableExtraSocket = true ;
77
- pinentryFlavor = "tty" ;
78
- } ;
79
-
80
77
mpris-proxy . enable = true ;
81
78
82
79
picom = {
Original file line number Diff line number Diff line change 110
110
# wkhtmltopdf
111
111
# mailcatcher
112
112
httpstat
113
- dbeaver
113
+ dbeaver-bin
114
114
# redli # Thanks to me :)
115
115
arandr
116
116
ventoy-bin
145
145
zoom-us
146
146
slack
147
147
filezilla
148
- nixopsUnstable
148
+ nixops_unstable_minimal
149
149
termius
150
150
transmission-gtk
151
151
gimp
Original file line number Diff line number Diff line change 107
107
gnome . excludePackages = ( with pkgs ; [
108
108
gnome-photos
109
109
gnome-tour
110
+ gedit # text editor
110
111
] ) ++ ( with pkgs . gnome ; [
111
112
cheese # webcam tool
112
113
gnome-music
113
114
gnome-terminal
114
- gedit # text editor
115
115
epiphany # web browser
116
116
geary # email reader
117
117
evince # document viewer
159
159
160
160
hardware = {
161
161
162
+ amdgpu = {
163
+ amdvlk = {
164
+ enable = true ;
165
+ support32Bit . enable = true ;
166
+ } ;
167
+ initrd . enable = true ;
168
+ opencl . enable = true ;
169
+ } ;
170
+
162
171
bluetooth = {
163
172
enable = true ;
164
173
# hsphfpd.enable = true;
175
184
} ;
176
185
} ;
177
186
178
-
179
187
cpu . amd . updateMicrocode = true ;
180
188
181
189
enableAllFirmware = true ; # For wifi : https://github.com/NixOS/nixos-hardware/issues/8
363
371
364
372
avahi = {
365
373
enable = true ;
366
- nssmdns = true ; # Restart nscd in case stops working again
374
+ nssmdns4 = true ; # Restart nscd in case stops working again
375
+ nssmdns6 = true ; # Restart nscd in case stops working again
367
376
ipv4 = true ;
368
377
ipv6 = true ;
369
378
publish = {
393
402
at-spi2-core . enable = true ;
394
403
} ;
395
404
405
+ libinput = {
406
+ enable = true ;
407
+ touchpad = {
408
+ naturalScrolling = true ;
409
+ accelProfile = "flat" ;
410
+ disableWhileTyping = true ;
411
+ } ;
412
+ } ;
413
+
396
414
logind = {
397
- lidSwitch = "suspend-then-hibernate" ;
398
- lidSwitchExternalPower = "ignore" ;
399
- lidSwitchDocked = "ignore" ;
400
- extraConfig = ''
401
- HandlePowerKey=suspend-then-hibernate
402
- HandleSuspendKey=ignore
403
- '' ;
415
+ lidSwitch = "suspend" ;
404
416
} ;
405
417
406
418
openssh . enable = true ;
451
463
pkgs . cnijfilter2
452
464
pkgs . gutenprint
453
465
pkgs . hplipWithPlugin
454
- dcpj515wDriver . driver
455
- dcpj515wDriver . cupswrapper
466
+ # dcpj515wDriver.driver
467
+ # dcpj515wDriver.cupswrapper
456
468
] ;
457
469
enable = true ;
458
470
logLevel = "error" ;
534
546
''
535
547
] ;
536
548
537
- layout = "us" ;
538
-
539
- libinput = {
540
- enable = true ;
541
- touchpad = {
542
- naturalScrolling = true ;
543
- accelProfile = "flat" ;
544
- disableWhileTyping = true ;
545
- } ;
546
- } ;
547
-
548
549
# useGlamor = true;
549
550
550
551
videoDrivers = [ "amdgpu" ] ;
560
561
} ;
561
562
} ;
562
563
563
- xkbVariant = "altgr-intl" ;
564
+ xkb = {
565
+ layout = "us" ;
566
+ variant = "altgr-intl" ;
567
+ } ;
564
568
565
569
566
570
} ;
Original file line number Diff line number Diff line change 76
76
ipv6 . addresses = [ { address = "2a01:e0a:7a:641::1" ; prefixLength = 64 ; } ] ;
77
77
} ;
78
78
79
- nameservers = [ "127.0.0.1" " 1.1.1.1" "2606:4700:4700::1111" ] ;
79
+ nameservers = [ "1.1.1.1" "2606:4700:4700::1111" ] ;
80
80
81
81
resolvconf . enable = false ;
82
82
} ;
Original file line number Diff line number Diff line change 14
14
# crash the whole service.
15
15
check=$(${ dockercli } network ls | grep "local_net" || true)
16
16
if [ -z "$check" ]; then
17
- ${ dockercli } network create local_net --subnet=2a01:0e0a:02b1:f401 :2::/80 --gateway=2a01:e0a:2b1:f401 :2::1 --ipv6
17
+ ${ dockercli } network create local_net --subnet=2a01:e0a:7a:641 :2::/80 --gateway=2a01:e0a:7a:641 :2::1 --ipv6
18
18
else
19
19
echo "local_net already exists in docker"
20
20
fi
23
23
virtualisation = {
24
24
docker = {
25
25
enable = true ;
26
- extraOptions = "--ipv6 --fixed-cidr-v6 2a01:0e0a:02b1:f401 :1::/80" ;
26
+ extraOptions = "--ipv6 --fixed-cidr-v6 2a01:e0a:7a:641 :1::/80" ;
27
27
autoPrune . enable = true ;
28
28
} ;
29
29
oci-containers = {
36
36
"/var/lib/dnsmasq.d:/etc/dnsmasq.d/"
37
37
] ;
38
38
ports = [
39
- # "0.0.0.0:53:53"
40
- "53:53/tcp"
41
- "53:53/udp"
42
39
"127.0.0.1:3080:80"
43
40
] ;
44
41
environment = {
45
42
TZ = "Europe/Paris" ;
46
43
PIHOLE_DNS_ = "2606:4700:4700::1111;1.1.1.1;1.0.0.1;2606:4700:4700::1001" ;
47
44
DNSSEC = "true" ;
48
45
DNS_BOGUS_PRIV = "false" ;
49
- ServerIP = "192.168.2.253 " ;
46
+ ServerIP = "192.168.0.144 " ;
50
47
} ;
51
48
extraOptions = [
52
49
"--cap-add=NET_ADMIN"
55
52
] ;
56
53
# workdir = "/var/lib/pihole/";
57
54
} ;
58
-
59
-
60
55
home-assistant = {
61
56
# image = "homeassistant/raspberrypi4-homeassistant:stable";
62
57
image = "ghcr.io/home-assistant/home-assistant:stable" ;
Original file line number Diff line number Diff line change 39
39
'' ;
40
40
} ;
41
41
} ;
42
+ "solver.tchekda.fr" = {
43
+ default = false ;
44
+ http2 = true ;
45
+ enableSSL = false ;
46
+ locations . "/" = {
47
+ proxyPass = "http://127.0.0.1:8191" ;
48
+ } ;
49
+ } ;
42
50
} ;
43
51
} ;
44
52
security . acme = {
Original file line number Diff line number Diff line change 8
8
llitt = {
9
9
deployment = {
10
10
targetEnv = "none" ;
11
- targetHost = "llitt " ;
12
- # targetPort = 2217 ;
11
+ targetHost = "192.168.0.144 " ;
12
+ targetPort = 22 ;
13
13
} ;
14
14
15
15
nixpkgs = {
You can’t perform that action at this time.
0 commit comments