This commit is contained in:
2026-04-25 21:53:00 -05:00
parent 9254637afd
commit 4e9ac313d8
2 changed files with 8 additions and 18 deletions

View File

@@ -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;

View File

@@ -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
];