Clean up structure

This commit is contained in:
Fabian Hauser 2020-04-05 17:14:21 +02:00
parent e6fd710dc4
commit 0d7357c859
7 changed files with 7 additions and 7 deletions

View file

@ -32,8 +32,8 @@ in
../hardware/apu.nix ../hardware/apu.nix
../hardware/wle900vx.nix ../hardware/wle900vx.nix
../role/base ../role/base
../role/networking/wwan.nix ../role/wwan
(import ../role/router.nix routerConfig) (import ../role/router routerConfig)
]; ];
fileSystems."/" = fileSystems."/" =

View file

@ -10,8 +10,8 @@
[ [
../hardware/nuc.nix ../hardware/nuc.nix
../role/base ../role/base
../role/dropbear.nix ../role/dropbear
(import ../role/backup.nix {systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";}) (import ../role/backup { systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";})
]; ];
boot.initrd.luks.devices = { boot.initrd.luks.devices = {

View file

@ -24,8 +24,8 @@ let pkgs = import<nixpkgs>{};
in in
{ {
imports = [ imports = [
(import ./networking/wireless-access-point.nix wireless) (import ./wireless-access-point.nix wireless)
(import ./networking/dns-recursive.nix lanNetwork) (import ./dns-recursive.nix lanNetwork)
]; ];
networking = { networking = {

View file

@ -10,7 +10,7 @@ let
mbim-ip-configured = pkgs.writeScriptBin "mbim-ip-configured" ('' mbim-ip-configured = pkgs.writeScriptBin "mbim-ip-configured" (''
#!${pkgs.stdenv.shell} #!${pkgs.stdenv.shell}
MBIM_INTERFACE=${cfg.mbimInterface} MBIM_INTERFACE=${cfg.mbimInterface}
'' + (readFile ./wwan/mbim-ip.bash)); '' + (readFile ./mbim-ip.bash));
mbim-check-status = pkgs.writeScriptBin "mbim-check-status" '' mbim-check-status = pkgs.writeScriptBin "mbim-check-status" ''
#!${pkgs.stdenv.shell} #!${pkgs.stdenv.shell}