This commit is contained in:
Osman Faruk Bayram 2025-11-07 10:21:58 +03:00
parent dcf2aeeee1
commit 6cc7853d1d
4 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
{
# Some packages (ahci fail... this bypasses that) https://discourse.nixos.org/t/does-pkgs-linuxpackages-rpi3-build-all-required-kernel-modules/42509
nixpkgs.overlays = [
(final: super: {
(_final: super: {
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
})
];

View file

@ -6,7 +6,7 @@
{
# Some packages (ahci fail... this bypasses that) https://discourse.nixos.org/t/does-pkgs-linuxpackages-rpi3-build-all-required-kernel-modules/42509
nixpkgs.overlays = [
(final: super: {
(_final: super: {
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
})
];

View file

@ -35,7 +35,7 @@
# Capture the NixOS system config before entering the home-manager scope
systemConfig = config;
in
lib.genAttrs (builtins.filter (u: u != "root") config.osbmModules.users) (username: {
lib.genAttrs (builtins.filter (u: u != "root") config.osbmModules.users) (_username: {
# Use the system's stateVersion for home-manager
home.stateVersion = lib.mkDefault systemConfig.system.stateVersion;
imports = [

View file

@ -10,7 +10,7 @@ let
regularUsers = builtins.filter (u: u != "root") config.osbmModules.users;
# Generate user persistence configuration
userPersistence = lib.genAttrs regularUsers (username: {
userPersistence = lib.genAttrs regularUsers (_username: {
directories = [
"Documents"
{