refactor(wireless): privatize networks
This commit is contained in:
parent
5c8024d5a6
commit
285c5ad7cc
5 changed files with 16 additions and 20 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -703,11 +703,11 @@
|
|||
},
|
||||
"private": {
|
||||
"locked": {
|
||||
"lastModified": 1680192378,
|
||||
"narHash": "sha256-/zpk/EIDQkwoEPsYksKywno8+XAsKfYs0hxPekGafuk=",
|
||||
"lastModified": 1680278490,
|
||||
"narHash": "sha256-CiP5oShOX+BXh8r+7mEMJg2OzszZ3XOwdqlu3zhU6Uk=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "f451f10bd4711ebc4c538c18a92e722a00ef1697",
|
||||
"revCount": 1,
|
||||
"rev": "5dc38740b5b82d2b55e5dac54b666faf5e4fcfd8",
|
||||
"revCount": 2,
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/Infinidoge/universe-private"
|
||||
},
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{ suites, profiles, pkgs, lib, ... }: {
|
||||
{ suites, profiles, pkgs, lib, private, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
(with suites; [
|
||||
base
|
||||
develop
|
||||
])
|
||||
|
||||
(with profiles; [
|
||||
networking.wireless
|
||||
])
|
||||
private.nixosModules.wireless
|
||||
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ suites, profiles, pkgs, lib, ... }: {
|
||||
{ suites, profiles, pkgs, lib, private, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
(with suites; [ base ])
|
||||
|
||||
private.nixosModules.wireless
|
||||
|
||||
(with profiles; [
|
||||
networking.wireless
|
||||
# services.proxy
|
||||
])
|
||||
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
{ lib, suites, profiles, ... }: {
|
||||
{ lib, suites, profiles, private, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
(with suites; [ base develop ])
|
||||
|
||||
(with profiles; [
|
||||
networking.wireless
|
||||
])
|
||||
private.nixosModules.wireless
|
||||
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
{ suites, profiles, pkgs, lib, ... }: {
|
||||
{ suites, profiles, pkgs, lib, private, ... }: {
|
||||
imports = lib.our.flattenListSet {
|
||||
suites = with suites; [ base develop ];
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
profiles = with profiles;
|
||||
[
|
||||
networking.wireless
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
private.nixosModules.wireless
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue