flake/reference/nixos.org

296 lines
8.6 KiB
Org Mode
Raw Normal View History

2023-08-09 23:33:50 +02:00
#+title: NixOS TODO List
2023-04-01 17:09:01 +02:00
#+author: Zonsopkomst
#+date: 2022-11-30
2023-10-09 22:01:09 +02:00
#+STARTUP: overview
2023-10-09 20:27:09 +02:00
* TODO Error Message
● lxd.service - LXD Container Management Daemon
Loaded: loaded (/etc/systemd/system/lxd.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-10-09 13:26:19 CDT; 47ms ago
TriggeredBy: ● lxd.socket
Docs: man:lxd(1)
Process: 16717 ExecStartPost=/nix/store/0wbk9mgkwf46q4qsrqsb2pwaan1c1k1j-lxd-5.18/bin/lxd waitready --timeout=600 (code=exited, status=1/FAILURE)
Main PID: 16716 (code=exited, status=1/FAILURE)
IP: 0B in, 0B out
CPU: 943ms
warning: error(s) occurred while switching to the new configuration
2023-09-25 21:11:11 +02:00
* TODO Add Packages
2023-09-13 18:57:39 +02:00
2023-04-20 20:52:21 +02:00
** TODO Try new shells
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
- [[switch shells][https://linuxhandbook.com/change-shell-linux/]]
2023-09-13 18:57:39 +02:00
2023-09-03 22:40:47 +02:00
** TODO [[https://github.com/AbdelrhmanNile/UnderTaker141][UnderTaker141 ??]]
2023-09-13 18:57:39 +02:00
2023-04-01 17:09:01 +02:00
** TODO E-Pub Reader
2023-09-13 18:57:39 +02:00
2023-09-25 21:11:11 +02:00
** TODO NightPDF?
2023-09-13 18:57:39 +02:00
2023-09-25 21:11:11 +02:00
- flatpak install flathub io.github.lunarequest.NightPDF
2023-09-13 18:57:39 +02:00
2023-04-01 17:09:01 +02:00
** TODO OpenBB Update
2023-09-13 18:57:39 +02:00
2023-04-01 17:09:01 +02:00
*** DONE Remove old OpenBB Docker image
2023-09-13 18:57:39 +02:00
2023-04-01 17:09:01 +02:00
*** DONE Update or add new OpenBB Docker image
2023-09-13 18:57:39 +02:00
2023-05-03 22:33:42 +02:00
*** HOLD Manage using nixos?
2023-09-13 18:57:39 +02:00
2023-04-01 17:09:01 +02:00
*** TODO Remote client of some sort
2023-09-13 18:57:39 +02:00
2023-05-03 22:33:42 +02:00
**** HOLD nomachine
2023-09-13 18:57:39 +02:00
2023-09-25 21:11:11 +02:00
** HOLD direnv
2023-09-13 18:57:39 +02:00
2023-09-25 21:11:11 +02:00
- [[direnv][https://www.tecmint.com/direnv-manage-environment-variables-in-linux/]]
2023-10-09 21:51:40 +02:00
** DONE [[starship][https://starship.rs/guide/#%F0%9F%9A%80-installation]]
2023-09-25 21:11:11 +02:00
** DONE [[Bavarder][flatpak install flathub io.github.Bavarder.Bavarder]]
** DONE FOSS Discord?
** DONE Outputs Command
You can explore all outputs from this configuration by using:
$ nix flake show
2023-08-09 21:16:26 +02:00
* TODO Hyprland
2023-09-13 18:57:39 +02:00
2023-09-13 22:53:34 +02:00
What is the bare minimum to do in order to get hyprland working so I can use it and learn as I go?
Some package ideas as follows:
2023-08-09 21:16:26 +02:00
** TODO hyprland + swayidle + swaylock
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
*** [[Link][https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway]]
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO eww or waybar or [[nwg-panel][https://github.com/nwg-piotr/nwg-panel]]
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO neomutt + mbsync (email)
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO gpg + pass
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO sops-nix to manage secrets
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO podman
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO zathura
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO rofi / wofi
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO bat + fd + rg
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO nix-colors
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO sops-nix
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Learn impermanence
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO deploy-rs
2023-09-13 18:57:39 +02:00
2023-09-25 21:11:11 +02:00
** DONE bash w/ starship
2023-08-09 21:16:26 +02:00
** DONE Improve kitty config
* TODO Headless Server
2023-09-13 18:57:39 +02:00
2023-08-09 23:33:50 +02:00
- Would like to transition from Ubuntu starting with my test server and eventually fully replacing with NixOS
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Ability to SSH into Server using terminal / VSCodium
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO FreshRSS container
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Guacamole or alternate remote client
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Bookmark container
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Jellyfin
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Image Viewer
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Questions for HuggingGPT
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
1. Question: Please show me detailed steps on how to set up a headless NixOS server that I can SSH into from another computer. It will need to use duckdns.org with NPM so that I can access it from a web browser. I would like NixOS to manage my containers directly instead of using Docker, but if there is no alternative, Docker or Podman are acceptable. I would also like to use an SSD drive for the main operating system, with two additional 18 TB hard drives, in which one will store container application's data, and the other will be used as a backup for the stated data on a regular basis.
2. I would like to run the following containers:
* Freshrss
* Guacamole
*
1. Question: Please provide specific steps in order to better optimize the flake located at https://git.disroot.org/Zonsopkomst/flake/src/branch/working.
1. Question: Can a package list for NixOS be added as a table instead of a list? If so, how would one go about implementing that? Please provide specific instructions and examples.
1. Question: How can I make Hyprland on NixOS do xxxx
Update
* TODO RPI4
2023-09-13 18:57:39 +02:00
2023-09-13 22:53:34 +02:00
Not sure if I want to go there, but maybe for a dedicated website?
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** TODO Install on RPI4 [[RPI4][https://nix.dev/tutorials/installing-nixos-on-a-raspberry-pi]]
2023-10-02 19:52:33 +02:00
* DONE Setup New PCs
** DONE Add `default.nix` and `hardware.nix` to each new machine
2023-09-25 21:11:11 +02:00
* DONE optionsDocBook deprecated :issue:
Wait until 24.05, should be corrected
[[Solution][https://discourse.nixos.org/t/warning-optionsdocbook-is-deprecated-since-23-11-and-will-be-removed-in-24-05/31353]]
Nothing to do at this time. Waiting for fix.
Receive the following output upon rebuild:
```
unpacking channels...
building the system configuration...
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
trace: warning: The option `fonts.enableDefaultFonts' defined in `/nix/store/s4jqyj35hii03rs7j5n6vn7gpgp6ja81-source/flake.nix' has been renamed to `fonts.enableDefaultPackages'.
trace: warning: The `waybar-hyprland` package is now in Nixpkgs
activating the configuration...
setting up /etc...
reloading user units for zonsopkomst...
setting up tmpfiles
Looking for updates…
Nothing to do.
These runtimes in installation 'system' are pinned and won't be removed; see flatpak-pin(1):
runtime/org.gtk.Gtk3theme.adw-gtk3-dark/x86_64/3.22
runtime/org.gtk.Gtk3theme.adw-gtk3/x86_64/3.22
Nothing unused to uninstall
```
* DONE Add Packages
** DONE Starship to starship.nix
** DONE Pandoc to terminal.nix & package references
** DONE Try to use magit through emacs
* DONE Add Emacs & init.el
Using init.el instead of org-mode for now.
Issue with reading the init file using NixOS to manage configs
[[https://github.com/emacs-tw/awesome-emacs#linux][awesome emacs github]]
* DONE VSCodium
** FAIL Add Snippets Configs
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Console Log": {
"prefix": "hd",
"body": [
"---",
"title: TITLE",
"type: TYPE",
"author: Zonsopkomst",
"created: \"$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE\"",
"---",
],
"scope": "markdown",
"description": "Create a header for markdown documents"
}
}
*** DONE File & Folder Added [2023-6-20 Tue]
*** TODO Need to double check paths and implement
** DONE Extension
- usernamehw.find-jump
2023-09-14 18:56:52 +02:00
* DONE Clean up / maintenance on users and hosts
2023-08-09 21:16:26 +02:00
* DONE Declare Configuration Files for:
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
** DONE Xiphos on all PCs
2023-09-13 18:57:39 +02:00
2023-05-21 02:35:06 +02:00
** DONE VSCodium on all PCs
2023-09-13 18:57:39 +02:00
2023-05-17 16:57:39 +02:00
- First check your NixOS config files to make sure you don't overwrite
- This is the settings.json from your Windows Work machine:
{
"org.todoKeywords": [
2023-05-28 00:22:27 +02:00
"TODO",
"DONE",
"HOLD",
"SCHD",
2023-05-28 00:24:45 +02:00
"FAIL",
2023-05-28 00:22:27 +02:00
],
"workbench.iconTheme": "file-icons",
"markdown-preview-enhanced.previewTheme": "github-dark.css",
"editor.wordWrap": "on",
"explorer.compactFolders": false,
"explorer.autoReveal": false,
"[markdown]": {
"editor.defaultFormatter": "darkriszty.markdown-table-prettify"
},
"todomd.defaultFile": "c:\\Users\\Church\\Documents\\Syncthing\\Church-Notes\\00 org\\todo.md",
"todohighlight.isEnable": true,
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.css",
"**/*.scss",
"**/*.php",
"**/*.rb",
"**/*.txt",
"**/*.mdown",
"**/*.md",
"**/*.nix"
],
"editor.fontFamily": "JetBrainsMono Nerd Font, 'Courier New', monospace"
"editor.fontSize": 13,
"nix.serverSettings": {
},
2023-05-17 16:57:39 +02:00
}
2023-05-09 05:59:41 +02:00
2023-03-20 15:57:46 +01:00
* DONE VS Codium
2023-09-13 18:57:39 +02:00
2023-03-20 15:57:46 +01:00
** DONE Switch all extensions to be written by nixos config
2023-09-13 18:57:39 +02:00
2023-06-29 23:25:24 +02:00
** DONE Add Lisp-Syntax
2023-05-09 05:59:41 +02:00
2023-04-01 17:09:01 +02:00
* DONE Switch appropriate apps over to home-manager
2023-05-09 05:59:41 +02:00
2023-08-09 21:16:26 +02:00
* DONE Clean up Flake
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
* FAIL Fonts?
2023-09-13 18:57:39 +02:00
2023-08-09 21:16:26 +02:00
- [[Last Entry][https://github.com/NixOS/nixpkgs/issues/30085]]
- Fixed issue on remote pc about blurred fonts, but cannot seem to crisp them up
- Was trying to go for clarity like on a mac
2023-09-13 18:57:39 +02:00
- May revisit in the future