Do not assign values to config.

This commit is contained in:
Kevin Baensch 2025-07-18 14:47:20 +02:00
parent 019894965a
commit eaf3bf45c5
Signed by: derped
SSH key fingerprint: SHA256:8/FSu/lmp3c1Z17Gml06JRIEHtDjhwdd7g6pBaHQWBc
19 changed files with 28 additions and 27 deletions

View file

@ -159,7 +159,7 @@ The following instructions are for a fresh NixOS installation.
_:
{
config.machine = {
machine = {
allowUnfree = true;
hostName = "<hostname>";
users = [

View file

@ -2,7 +2,7 @@
...
}:
{
config.machine = {
machine = {
allowUnfree = true;
hostName = "Lilim";
networkD = {

View file

@ -3,7 +3,7 @@
}:
{
config.machine = {
machine = {
allowUnfree = true;
hostName = "Marid";
users = [

View file

@ -1,7 +1,7 @@
_:
{
config.machine = rec {
machine = rec {
hostName = "Ophanim";
domain = "ophanim.de";
users = [

View file

@ -3,7 +3,7 @@
imports = [
../../options/copySysConf.nix
];
config.machine = {
machine = {
allowUnfree = true;
hostName = "Sheol";
networkD = {

View file

@ -4,7 +4,7 @@
}:
{
config.machine.pkgsets.ansible.pkgs = with pkgs; [
machine.pkgsets.ansible.pkgs = with pkgs; [
ansible
ansible-builder
ansible-language-server

View file

@ -1,11 +1,11 @@
# Programms I'm likely to want on every machine and/or may execute as root
{
config,
pkgs,
...
}:
{
config.machine.pkgsets.base.pkgs = with pkgs; [
machine.pkgsets.base.pkgs = with pkgs; [
age
sops
bat

View file

@ -3,7 +3,7 @@
...
}:
{
config.machine.pkgsets.cpp.pkgs = with pkgs; [
machine.pkgsets.cpp.pkgs = with pkgs; [
bear
clang
cmake

View file

@ -4,7 +4,7 @@
...
}:
{
config.machine.pkgsets.dict.pkgs = with pkgs; [
machine.pkgsets.dict.pkgs = with pkgs; [
translate-shell
(hunspellWithDicts (
with pkgs.hunspellDicts;

View file

@ -4,7 +4,7 @@
...
}:
{
config.machine.pkgsets.extra.pkgs = with pkgs; [
machine.pkgsets.extra.pkgs = with pkgs; [
alsa-utils
binutils-unwrapped
git-lfs

View file

@ -4,7 +4,7 @@
...
}:
{
config.machine.pkgsets.haskell-tools.pkgs = with pkgs; [
machine.pkgsets.haskell-tools.pkgs = with pkgs; [
cabal-install
hlint
]; # ghcid

View file

@ -6,7 +6,7 @@
}:
with lib;
{
config.machine.pkgsets.latex.pkgs = with pkgs; [
machine.pkgsets.latex.pkgs = with pkgs; [
texlive.combined.scheme-full
texlab
];

View file

@ -3,7 +3,7 @@
...
}:
{
config.machine.pkgsets.mail_utils.pkgs = with pkgs; [
machine.pkgsets.mail_utils.pkgs = with pkgs; [
aerc
abook
pizauth

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
{
config.machine.pkgsets.nodejs.pkgs =
machine.pkgsets.nodejs.pkgs =
(with pkgs; [
nodejs
yarn

View file

@ -6,10 +6,12 @@
...
}:
{
config.machine.pkgsets.php.pkgwrap = fn.pkgFilter config.machine.pkgsets.php.pkgs;
config.machine.pkgsets.php.pkgs =
machine.pkgsets.php = {
pkgwrap = fn.pkgFilter config.machine.pkgsets.php.pkgs;
pkgs =
(with pkgs.php82Packages; [
composer
])
++ (with pkgs; [ php82 ]);
};
}

View file

@ -1,16 +1,15 @@
{
config,
lib,
fn,
pkgs,
...
}:
with lib;
{
config.machine.pkgsets.python3.pkgwrap = pkgs.python3.withPackages (
machine.pkgsets.python3.pkgwrap = pkgs.python3.withPackages (
ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)
);
config.machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
bpython
flake8
genanki

View file

@ -4,7 +4,7 @@
...
}:
{
config.machine.pkgsets.server.pkgs = with pkgs; [
machine.pkgsets.server.pkgs = with pkgs; [
audit
certbot
php

View file

@ -6,7 +6,7 @@
}:
with lib;
{
config.machine.pkgsets.tracking.pkgs = with pkgs; [
machine.pkgsets.tracking.pkgs = with pkgs; [
aw-qt
aw-server-rust
aw-watcher-afk

View file

@ -4,7 +4,7 @@
}:
{
config.machine.pkgsets.xpkgs.pkgs = with pkgs; [
machine.pkgsets.xpkgs.pkgs = with pkgs; [
acpilight
dconf
ghostty