test z2w
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ self, inputs, ... }: {
|
||||
|
||||
flake.nixosModules.z2w-core = { config, pkgs, ... }: {
|
||||
flake.nixosModules.z2w-core = { config, lib, pkgs, ... }: {
|
||||
|
||||
imports = with self.nixosModules; [
|
||||
|
||||
@@ -14,22 +14,23 @@
|
||||
|
||||
config = {
|
||||
|
||||
boot = {
|
||||
/*boot = {
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
};
|
||||
};*/
|
||||
|
||||
networking = {
|
||||
hostName = lib.mkDefault "z2w";
|
||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
hardware = {
|
||||
/*hardware = {
|
||||
bluetooth.enable = true;
|
||||
|
||||
};
|
||||
};*/
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
|
||||
@@ -8,20 +8,9 @@
|
||||
|
||||
system = "aarch64-linux";
|
||||
|
||||
modules = [
|
||||
modules = inputs.opi-zero2w.lib.withOpiZero2wEssentials [
|
||||
self.nixosModules.z2w
|
||||
#self.nixosModules.z2w-hardware
|
||||
self.diskoConfigurations.z2w
|
||||
];
|
||||
};
|
||||
|
||||
flake.nixosConfigurations.z2w-install = inputs.nixpkgs.lib.nixosSystem {
|
||||
|
||||
system = "aarch64-linux";
|
||||
|
||||
modules = [
|
||||
self.nixosModules.z2w-core
|
||||
#self.nixosModules.z2w-hardware
|
||||
];
|
||||
};
|
||||
|
||||
@@ -29,7 +18,7 @@
|
||||
|
||||
system = "aarch64-linux";
|
||||
|
||||
modules = [
|
||||
modules = inputs.opi-zero2w.lib.withOpiZero2wEssentials [
|
||||
self.nixosModules.z2w-install-sd
|
||||
#self.nixosModules.z2w-hardware
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user