cleaner
This commit is contained in:
parent
f157a26c25
commit
9f1f3c2614
1 changed files with 12 additions and 11 deletions
|
|
@ -18,15 +18,18 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# mobile-nixos needs aliases (uses nettools instead of net-tools)
|
# mobile-nixos needs aliases (uses nettools instead of net-tools)
|
||||||
nixpkgs.config.allowAliases = true;
|
nixpkgs = {
|
||||||
|
config = {
|
||||||
nixpkgs.config.allowUnfreePredicate =
|
allowAliases = true;
|
||||||
pkg:
|
allowUnfreePredicate =
|
||||||
builtins.elem (lib.getName pkg) [
|
pkg:
|
||||||
"oneplus-sdm845-firmware-zstd"
|
builtins.elem (lib.getName pkg) [
|
||||||
"oneplus-sdm845-firmware"
|
"oneplus-sdm845-firmware-zstd"
|
||||||
];
|
"oneplus-sdm845-firmware"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
system = "aarch64-linux";
|
||||||
|
};
|
||||||
# Minimal essential packages
|
# Minimal essential packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
|
@ -40,6 +43,4 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
# set platform to aarch64-linux
|
|
||||||
nixpkgs.system = "aarch64-linux";
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue