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;
|
allowUnfree = true;
|
||||||
hostName = "<hostname>";
|
hostName = "<hostname>";
|
||||||
users = [
|
users = [
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine = {
|
machine = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
hostName = "Lilim";
|
hostName = "Lilim";
|
||||||
networkD = {
|
networkD = {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.machine = {
|
machine = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
hostName = "Marid";
|
hostName = "Marid";
|
||||||
users = [
|
users = [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
_:
|
_:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.machine = rec {
|
machine = rec {
|
||||||
hostName = "Ophanim";
|
hostName = "Ophanim";
|
||||||
domain = "ophanim.de";
|
domain = "ophanim.de";
|
||||||
users = [
|
users = [
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
../../options/copySysConf.nix
|
../../options/copySysConf.nix
|
||||||
];
|
];
|
||||||
config.machine = {
|
machine = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
hostName = "Sheol";
|
hostName = "Sheol";
|
||||||
networkD = {
|
networkD = {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.ansible.pkgs = with pkgs; [
|
machine.pkgsets.ansible.pkgs = with pkgs; [
|
||||||
ansible
|
ansible
|
||||||
ansible-builder
|
ansible-builder
|
||||||
ansible-language-server
|
ansible-language-server
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Programms I'm likely to want on every machine and/or may execute as root
|
# Programms I'm likely to want on every machine and/or may execute as root
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.base.pkgs = with pkgs; [
|
machine.pkgsets.base.pkgs = with pkgs; [
|
||||||
age
|
age
|
||||||
sops
|
sops
|
||||||
bat
|
bat
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.cpp.pkgs = with pkgs; [
|
machine.pkgsets.cpp.pkgs = with pkgs; [
|
||||||
bear
|
bear
|
||||||
clang
|
clang
|
||||||
cmake
|
cmake
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.dict.pkgs = with pkgs; [
|
machine.pkgsets.dict.pkgs = with pkgs; [
|
||||||
translate-shell
|
translate-shell
|
||||||
(hunspellWithDicts (
|
(hunspellWithDicts (
|
||||||
with pkgs.hunspellDicts;
|
with pkgs.hunspellDicts;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.extra.pkgs = with pkgs; [
|
machine.pkgsets.extra.pkgs = with pkgs; [
|
||||||
alsa-utils
|
alsa-utils
|
||||||
binutils-unwrapped
|
binutils-unwrapped
|
||||||
git-lfs
|
git-lfs
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.haskell-tools.pkgs = with pkgs; [
|
machine.pkgsets.haskell-tools.pkgs = with pkgs; [
|
||||||
cabal-install
|
cabal-install
|
||||||
hlint
|
hlint
|
||||||
]; # ghcid
|
]; # ghcid
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.latex.pkgs = with pkgs; [
|
machine.pkgsets.latex.pkgs = with pkgs; [
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
texlab
|
texlab
|
||||||
];
|
];
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.mail_utils.pkgs = with pkgs; [
|
machine.pkgsets.mail_utils.pkgs = with pkgs; [
|
||||||
aerc
|
aerc
|
||||||
abook
|
abook
|
||||||
pizauth
|
pizauth
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.nodejs.pkgs =
|
machine.pkgsets.nodejs.pkgs =
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
nodejs
|
nodejs
|
||||||
yarn
|
yarn
|
||||||
|
|
|
@ -6,10 +6,12 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.php.pkgwrap = fn.pkgFilter config.machine.pkgsets.php.pkgs;
|
machine.pkgsets.php = {
|
||||||
config.machine.pkgsets.php.pkgs =
|
pkgwrap = fn.pkgFilter config.machine.pkgsets.php.pkgs;
|
||||||
(with pkgs.php82Packages; [
|
pkgs =
|
||||||
composer
|
(with pkgs.php82Packages; [
|
||||||
])
|
composer
|
||||||
++ (with pkgs; [ php82 ]);
|
])
|
||||||
|
++ (with pkgs; [ php82 ]);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
fn,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
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)
|
ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)
|
||||||
);
|
);
|
||||||
config.machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
|
machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
|
||||||
bpython
|
bpython
|
||||||
flake8
|
flake8
|
||||||
genanki
|
genanki
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.server.pkgs = with pkgs; [
|
machine.pkgsets.server.pkgs = with pkgs; [
|
||||||
audit
|
audit
|
||||||
certbot
|
certbot
|
||||||
php
|
php
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.tracking.pkgs = with pkgs; [
|
machine.pkgsets.tracking.pkgs = with pkgs; [
|
||||||
aw-qt
|
aw-qt
|
||||||
aw-server-rust
|
aw-server-rust
|
||||||
aw-watcher-afk
|
aw-watcher-afk
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.machine.pkgsets.xpkgs.pkgs = with pkgs; [
|
machine.pkgsets.xpkgs.pkgs = with pkgs; [
|
||||||
acpilight
|
acpilight
|
||||||
dconf
|
dconf
|
||||||
ghostty
|
ghostty
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue