From 37fc7c3bd144bb788dee4af5fe6b2825235da289 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 6 Feb 2025 09:58:18 +0100 Subject: [PATCH] asd --- base.nix | 4 +++- hosts/nixos/nord/configuration.nix | 3 ++- hosts/nixos/noximilien/configuration.nix | 3 ++- todos.md | 8 ++++++-- users/pbsds/home/profiles/bashrc.d/destore.sh | 2 ++ 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/base.nix b/base.nix index 887ecd7..646a7d8 100644 --- a/base.nix +++ b/base.nix @@ -1,5 +1,7 @@ { config, pkgs, lib, inputs, ... }: +# TODO: split this file into a `base` folder? + { imports = let ifExists = p: if builtins.pathExists p then p else {}; in [ ./cachix.nix # update with `cachix use --mode nixos -d . FOOBAR` @@ -58,7 +60,7 @@ hardware.enableRedistributableFirmware = true; hardware.cpu.amd.updateMicrocode = pkgs.stdenv.isx86_64; hardware.cpu.intel.updateMicrocode = pkgs.stdenv.isx86_64; - + # enable kernel same-page merging for improved vm test performance hardware.ksm.enable = true; diff --git a/hosts/nixos/nord/configuration.nix b/hosts/nixos/nord/configuration.nix index 6c58802..6d68724 100644 --- a/hosts/nixos/nord/configuration.nix +++ b/hosts/nixos/nord/configuration.nix @@ -27,7 +27,8 @@ ../../../profiles/mounts/freon-nfs.nix ../../../profiles/mounts/reidun-nfs.nix ../../../profiles/mounts/meconium-nfs.nix - /* ../../../profiles/mounts/fridge-nfs.nix */ + #../../../profiles/mounts/fridge-nfs.nix + #../../../profiles/mounts/fridge-sshfs.nix # TODO ../../../profiles/shell.nix diff --git a/hosts/nixos/noximilien/configuration.nix b/hosts/nixos/noximilien/configuration.nix index 9894a57..7a74caf 100644 --- a/hosts/nixos/noximilien/configuration.nix +++ b/hosts/nixos/noximilien/configuration.nix @@ -19,7 +19,8 @@ ../../../profiles/mounts/freon-nfs.nix ../../../profiles/mounts/reidun-nfs.nix ../../../profiles/mounts/meconium-zfs.nix - #../../../profiles/mounts/fridge-nfs.nix # TODO: fix + #../../../profiles/mounts/fridge-nfs.nix + #../../../profiles/mounts/fridge-sshfs.nix # TODO ../../../profiles/shell.nix diff --git a/todos.md b/todos.md index c091073..42e62c5 100644 --- a/todos.md +++ b/todos.md @@ -2,6 +2,9 @@ * [ ] on eple: https://discourse.nixos.org/t/how-to-run-x-sunshine-steam-on-headless-server/35134/6 * [ ] https://github.com/NixOS/nixos-hardware/tree/master/pine64/pinebook-pro * [ ] riscv +* [ ] nixos mobile +* [ ] home-manager on fhs distro +* [ ] system-manager with nix-system-graphics and systemd stuff # nice to have * [ ] windows binfmtemu with wineWowPackages.wayland * [ ] nixos-generate-config instructions for new hosts @@ -13,13 +16,14 @@ * [ ] https://discourse.nixos.org/t/a-web-ui-for-the-nix-store-early-beta/35762 * [ ] working `jump` completions # machine park +* [ ] uptime kuma * [ ] remote-builders over wg -* [ ] autogenerate ssh keys for new hosts +* [ ] autogenerate ssh keys for new hosts - steal sops vars? * [ ] http health monitoring `services.netdata.httpcheck.checks.` * [ ] switch to systemd networkd * [x] Setup some remote-development and deploy flow * [ ] zfs, declarative pools? -* [ ] zfs, fix export +* [x] zfs, fix export * [ ] figure out how to reuse system flake lock while deploying, leave the night job to upgrade (--override input maybe?) * [ ] some tunneling for NFS hosts * [x] https://nix-community.org/community-builder/ diff --git a/users/pbsds/home/profiles/bashrc.d/destore.sh b/users/pbsds/home/profiles/bashrc.d/destore.sh index 68e6355..0404e3a 100644 --- a/users/pbsds/home/profiles/bashrc.d/destore.sh +++ b/users/pbsds/home/profiles/bashrc.d/destore.sh @@ -30,3 +30,5 @@ destore() { fi done } + +# TODO: "restore"