Do not assign values to config.
This commit is contained in:
parent
019894965a
commit
eaf3bf45c5
19 changed files with 28 additions and 27 deletions
|
@ -159,7 +159,7 @@ The following instructions are for a fresh NixOS installation.
|
|||
_:
|
||||
|
||||
{
|
||||
config.machine = {
|
||||
machine = {
|
||||
allowUnfree = true;
|
||||
hostName = "<hostname>";
|
||||
users = [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine = {
|
||||
machine = {
|
||||
allowUnfree = true;
|
||||
hostName = "Lilim";
|
||||
networkD = {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
}:
|
||||
|
||||
{
|
||||
config.machine = {
|
||||
machine = {
|
||||
allowUnfree = true;
|
||||
hostName = "Marid";
|
||||
users = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
_:
|
||||
|
||||
{
|
||||
config.machine = rec {
|
||||
machine = rec {
|
||||
hostName = "Ophanim";
|
||||
domain = "ophanim.de";
|
||||
users = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
imports = [
|
||||
../../options/copySysConf.nix
|
||||
];
|
||||
config.machine = {
|
||||
machine = {
|
||||
allowUnfree = true;
|
||||
hostName = "Sheol";
|
||||
networkD = {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
}:
|
||||
|
||||
{
|
||||
config.machine.pkgsets.ansible.pkgs = with pkgs; [
|
||||
machine.pkgsets.ansible.pkgs = with pkgs; [
|
||||
ansible
|
||||
ansible-builder
|
||||
ansible-language-server
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.cpp.pkgs = with pkgs; [
|
||||
machine.pkgsets.cpp.pkgs = with pkgs; [
|
||||
bear
|
||||
clang
|
||||
cmake
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.dict.pkgs = with pkgs; [
|
||||
machine.pkgsets.dict.pkgs = with pkgs; [
|
||||
translate-shell
|
||||
(hunspellWithDicts (
|
||||
with pkgs.hunspellDicts;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.extra.pkgs = with pkgs; [
|
||||
machine.pkgsets.extra.pkgs = with pkgs; [
|
||||
alsa-utils
|
||||
binutils-unwrapped
|
||||
git-lfs
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.haskell-tools.pkgs = with pkgs; [
|
||||
machine.pkgsets.haskell-tools.pkgs = with pkgs; [
|
||||
cabal-install
|
||||
hlint
|
||||
]; # ghcid
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}:
|
||||
with lib;
|
||||
{
|
||||
config.machine.pkgsets.latex.pkgs = with pkgs; [
|
||||
machine.pkgsets.latex.pkgs = with pkgs; [
|
||||
texlive.combined.scheme-full
|
||||
texlab
|
||||
];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.mail_utils.pkgs = with pkgs; [
|
||||
machine.pkgsets.mail_utils.pkgs = with pkgs; [
|
||||
aerc
|
||||
abook
|
||||
pizauth
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
config.machine.pkgsets.nodejs.pkgs =
|
||||
machine.pkgsets.nodejs.pkgs =
|
||||
(with pkgs; [
|
||||
nodejs
|
||||
yarn
|
||||
|
|
|
@ -6,10 +6,12 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.php.pkgwrap = fn.pkgFilter config.machine.pkgsets.php.pkgs;
|
||||
config.machine.pkgsets.php.pkgs =
|
||||
(with pkgs.php82Packages; [
|
||||
composer
|
||||
])
|
||||
++ (with pkgs; [ php82 ]);
|
||||
machine.pkgsets.php = {
|
||||
pkgwrap = fn.pkgFilter config.machine.pkgsets.php.pkgs;
|
||||
pkgs =
|
||||
(with pkgs.php82Packages; [
|
||||
composer
|
||||
])
|
||||
++ (with pkgs; [ php82 ]);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.server.pkgs = with pkgs; [
|
||||
machine.pkgsets.server.pkgs = with pkgs; [
|
||||
audit
|
||||
certbot
|
||||
php
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
}:
|
||||
|
||||
{
|
||||
config.machine.pkgsets.xpkgs.pkgs = with pkgs; [
|
||||
machine.pkgsets.xpkgs.pkgs = with pkgs; [
|
||||
acpilight
|
||||
dconf
|
||||
ghostty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue