use default config section for network config
This commit is contained in:
parent
6c8af27e05
commit
3468495606
1 changed files with 17 additions and 29 deletions
|
|
@ -17,6 +17,23 @@ in
|
||||||
<home-manager/nixos>
|
<home-manager/nixos>
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.wireless.networks."ShamblingHalfling 5Ghz-1" = {
|
||||||
|
pskRaw = (
|
||||||
|
(import ../system/framework/keys.nix).wifi."ShamblingHalfling 5Ghz-1".pskRaw
|
||||||
|
|
||||||
|
);
|
||||||
|
priority = 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.wireless.networks.N904 = {
|
||||||
|
pskRaw = (
|
||||||
|
(import ../system/framework/keys.nix).wifi.N904.pskRaw
|
||||||
|
);
|
||||||
|
|
||||||
|
priority = 2;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
documentation.enable = false;
|
documentation.enable = false;
|
||||||
|
|
||||||
# for nixops to log in and perform operations as haak (instead of root)
|
# for nixops to log in and perform operations as haak (instead of root)
|
||||||
|
|
@ -59,22 +76,6 @@ in
|
||||||
deployment.targetHost = "192.168.1.65";
|
deployment.targetHost = "192.168.1.65";
|
||||||
imports = [ ../system/xps11/configuration.nix ];
|
imports = [ ../system/xps11/configuration.nix ];
|
||||||
|
|
||||||
networking.wireless.networks."ShamblingHalfling 5Ghz-1" = {
|
|
||||||
pskRaw = (
|
|
||||||
(import ../system/framework/keys.nix).wifi."ShamblingHalfling 5Ghz-1".pskRaw
|
|
||||||
|
|
||||||
);
|
|
||||||
priority = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.wireless.networks.N904 = {
|
|
||||||
pskRaw = (
|
|
||||||
(import ../system/framework/keys.nix).wifi.N904.pskRaw
|
|
||||||
);
|
|
||||||
|
|
||||||
priority = 2;
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/storage" = {
|
fileSystems."/storage" = {
|
||||||
device = "${nasIp}:/storage";
|
device = "${nasIp}:/storage";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
|
|
@ -89,20 +90,7 @@ in
|
||||||
../system/svalbard/configuration.nix
|
../system/svalbard/configuration.nix
|
||||||
../home/programs/flood
|
../home/programs/flood
|
||||||
];
|
];
|
||||||
networking.wireless.networks."ShamblingHalfling 5Ghz-1" = {
|
|
||||||
pskRaw = (
|
|
||||||
(import ../system/framework/keys.nix).wifi."ShamblingHalfling 5Ghz-1".pskRaw
|
|
||||||
|
|
||||||
);
|
|
||||||
priority = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.wireless.networks.N904 = {
|
|
||||||
pskRaw = (
|
|
||||||
(import ../system/framework/keys.nix).wifi.N904.pskRaw
|
|
||||||
);
|
|
||||||
|
|
||||||
priority = 2;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nfs.server.enable = true;
|
services.nfs.server.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue