File tree Expand file tree Collapse file tree 2 files changed +48
-20
lines changed Expand file tree Collapse file tree 2 files changed +48
-20
lines changed Original file line number Diff line number Diff line change 1- { config , lib , pkgs , ... } @args :
2- let inherit ( args ) inputs ;
3- in {
1+ {
2+ config ,
3+ lib ,
4+ pkgs ,
5+ ...
6+ } @args :
7+ let
8+ inherit ( args ) inputs ;
9+ in
10+ {
411 imports = [
512 # The hardware-dependent options
613 ./hardware-configuration.nix
2936 } ;
3037 } ;
3138
32- nix . settings . experimental-features = [ "nix-command" "flakes" ] ;
39+ nix . settings . experimental-features = [
40+ "nix-command"
41+ "flakes"
42+ ] ;
3343
3444 time . timeZone = "Europe/Berlin" ;
3545
3949 zfsSupport = true ;
4050 efiSupport = true ;
4151 efiInstallAsRemovable = true ;
42- mirroredBoots = [ {
43- devices = [ "nodev" ] ;
44- path = "/boot" ;
45- } ] ;
52+ mirroredBoots = [
53+ {
54+ devices = [ "nodev" ] ;
55+ path = "/boot" ;
56+ }
57+ ] ;
4658 } ;
4759 zfs . extraPools = [ "zpool" ] ;
4860 } ;
5668 } ;
5769 useDHCP = false ;
5870 interfaces = {
59- eno1 . ipv4 . addresses = [ {
60- address = "10.0.0.10" ;
61- prefixLength = 24 ;
62- } ] ;
71+ eno1 . ipv4 . addresses = [
72+ {
73+ address = "10.0.0.10" ;
74+ prefixLength = 24 ;
75+ }
76+ ] ;
6377 } ;
6478 defaultGateway = {
6579 address = "10.0.0.1" ;
6680 interface = "eno1" ;
6781 } ;
68- nameservers = [ "1.1.1.1" "1.0.0.1" "100.100.100.100" ] ;
82+ nameservers = [
83+ "1.1.1.1"
84+ "1.0.0.1"
85+ "100.100.100.100"
86+ ] ;
6987 firewall = {
7088 allowedTCPPorts = [
7189 8123
118136 AllowUsers = [ "lukas" ] ;
119137 } ;
120138 } ;
121- fail2ban = { enable = true ; } ;
139+ fail2ban = {
140+ enable = true ;
141+ } ;
122142 envfs . enable = true ;
123143 tailscale . enable = true ;
124144 syncthing = {
137157 } ;
138158 devices = {
139159 "MacBook-Pro" = {
140- id =
141- "GZAKPGB-BBVIY5T-2D3EY22-YYMGT5L-R3MNHGX-GYWNRWR-TG4BUMW-BQMBBAU" ;
160+ id = "GZAKPGB-BBVIY5T-2D3EY22-YYMGT5L-R3MNHGX-GYWNRWR-TG4BUMW-BQMBBAU" ;
142161 } ;
143162 } ;
144163 folders = {
Original file line number Diff line number Diff line change 11# Auto-generated using compose2nix v0.3.1. Edited.
2- { pkgs , lib , config , ... } @args :
3- let inherit ( args ) inputs ;
4- in {
2+ {
3+ pkgs ,
4+ lib ,
5+ config ,
6+ ...
7+ } @args :
8+ let
9+ inherit ( args ) inputs ;
10+ in
11+ {
512 imports = [ inputs . sops-nix . nixosModules . sops ] ;
613
714 # Secrets are managed via sops
7986 # When started, this will automatically create all resources and start
8087 # the containers. When stopped, this will teardown all resources.
8188 systemd . targets . "docker-compose-freshrss-root" = {
82- unitConfig = { Description = "Root target generated by compose2nix." ; } ;
89+ unitConfig = {
90+ Description = "Root target generated by compose2nix." ;
91+ } ;
8392 wantedBy = [ "multi-user.target" ] ;
8493 } ;
8594}
You can’t perform that action at this time.
0 commit comments