diff --git a/flake.nix b/flake.nix index f0bacc48..7c803a73 100644 --- a/flake.nix +++ b/flake.nix @@ -97,6 +97,7 @@ # Access to NUR. inputs.nur.overlay + # Running unpatched binaries in NixOS?!! inputs.nix-alien.overlays.default ]; diff --git a/lib/private.nix b/lib/private.nix index 52863aa5..60bc36f7 100644 --- a/lib/private.nix +++ b/lib/private.nix @@ -3,6 +3,7 @@ { lib }: rec { + # This is only used for home-manager users without a NixOS user counterpart. mapHomeManagerUser = user: settings: let homeDirectory = "/home/${user}"; diff --git a/modules/nixos/profiles/filesystem.nix b/modules/nixos/profiles/filesystem.nix index 114475ff..4381fec8 100644 --- a/modules/nixos/profiles/filesystem.nix +++ b/modules/nixos/profiles/filesystem.nix @@ -1,3 +1,7 @@ +# A bunch of predefined filesystem configurations for several devices. This is +# nice for setting up shop for certain tasks with the flick of the switch to ON +# (e.g., `config.profiles.filesystem.archive.enable = true`) and not have +# conflicting settings all throughout the configuration. { config, options, lib, pkgs, ... }: let diff --git a/modules/nixos/profiles/i18n.nix b/modules/nixos/profiles/i18n.nix index 7261dc7b..87793e32 100644 --- a/modules/nixos/profiles/i18n.nix +++ b/modules/nixos/profiles/i18n.nix @@ -1,4 +1,6 @@ -# System-wide i18n options. +# System-wide i18n options. This is primarily used for desktop installations. +# Unless there is really good reasons for setting i18n options on the server, +# this module will stay aiming for desktop. { config, options, lib, pkgs, ... }: let diff --git a/modules/nixos/profiles/server.nix b/modules/nixos/profiles/server.nix index 4cd5c5da..a21099f6 100644 --- a/modules/nixos/profiles/server.nix +++ b/modules/nixos/profiles/server.nix @@ -1,5 +1,6 @@ # All of the settings related to server systems. Take note they cannot be used -# alongside the desktop profile. +# alongside the desktop profile since there are conflicting configurations +# between them. { config, options, lib, pkgs, ... }: let