| 25 Mar 2024 |
konrad-thorson | Howdy | 20:13:13 |
konrad-thorson | I'm playing with an idea and would appreciate some feedback from people that understand Nix OS better than I do. Basically I want to make a NixOS.img operating system installer that includes IPFS. Once the ipfs node starts following a pin set of nix packages then install from ipfs, but also run the binaries from the ipfs file store. For me this is an 'art project' involving computing and the idea of https://en.wikipedia.org/wiki/Ship_of_Theseus Nix seems perfect for configuration of the software side of things. | 20:14:46 |
| 26 Mar 2024 |
| Maximilian Gaedig ⚡️ joined the room. | 15:09:51 |
| 27 Mar 2024 |
| Room Avatar Renderer. | 13:39:52 |
| 26 Mar 2024 |
Alex Ou | konrad-thorson: I'm not familiar with ipfs, but as far as a custom installer with your own packages and configs, here's an example of an installer that has an option to configure tailscale, would be easy to set up some more systemd services to start binaries. Not sure if you meant you wanted the installer to install and then run stuff, or for the installer instance to run stuff (the example shows more the latter, but you could configure the installed flake to do the former) https://github.com/femtodata/nixos-flake-installer | 16:07:55 |
| 29 Mar 2024 |
| SebTM joined the room. | 04:23:10 |
| pareto-optimal-dev joined the room. | 17:22:02 |
| pareto-optimal-dev left the room. | 17:24:14 |
| 30 Mar 2024 |
| AJCxZ0 joined the room. | 00:40:15 |
| 31 Mar 2024 |
| blu3 joined the room. | 17:38:16 |
blu3 | hi | 17:44:18 |
blu3 | Redacted or Malformed Event | 17:58:36 |
blu3 | Redacted or Malformed Event | 17:58:39 |
blu3 | Redacted or Malformed Event | 17:59:47 |
| skippy joined the room. | 20:34:57 |
| blu3 changed their display name from dclmatrix to exet. | 22:32:51 |
| Miles Dyson joined the room. | 23:04:12 |
Miles Dyson | Hey there, I am a NixOS noob.
NisOS has been installed for a few weeks and we are getting to know each other.
What are different methods for organizing the config files?
I have opted to create the sub directory '/etc/nixos/import'.
Within './import' there are additional directories to organize the config files.
Is this a common practice, are there any standards?
There I created additional sub directories for different configuration types. | 23:14:03 |
raitobezarius | there's no standards, but plenty of repositories online you can easily find on github which can give you opinions on that | 23:14:39 |
Miles Dyson | The directory structure I have set up looks like this:
`[/etc]$ tree -L 3 -d ./nixos
./nixos
└── import
├── base
├── development
│ ├── editor
│ ├── revision
│ ├── shell
│ └── terminal
├── display
├── engineering
├── game
├── management
├── media
│ ├── audio
│ ├── graphics
│ ├── image
│ ├── players-library-downloaders
│ └── video
├── network
│ ├── communications
│ ├── connections
│ ├── locale
│ ├── server
│ ├── tools
│ └── wireless
├── office
├── projects
│ └── intelligence
└── utilites-system
29 directories`
Does it seem reasonable? | 23:15:38 |
@janik0:matrix.org | If you want to look for examples I can highly recommend https://github.com/search?q=lang%3Anix&type=code and then putting in the service, it's quite nice to find examples. | 23:16:03 |
Miles Dyson | Am I going overboard, is there a simpler management arrangement? | 23:16:14 |
@janik0:matrix.org | * If you want to look for examples I can highly recommend https://github.com/search?q=lang%3Anix&type=code and then putting in the service, it's quite nice for finding examples. | 23:16:20 |
raitobezarius | In reply to @technicus:matrix.org The directory structure I have set up looks like this:
`[/etc]$ tree -L 3 -d ./nixos ./nixos └── import ├── base ├── development │ ├── editor │ ├── revision │ ├── shell │ └── terminal ├── display ├── engineering ├── game ├── management ├── media │ ├── audio │ ├── graphics │ ├── image │ ├── players-library-downloaders │ └── video ├── network │ ├── communications │ ├── connections │ ├── locale │ ├── server │ ├── tools │ └── wireless ├── office ├── projects │ └── intelligence └── utilites-system
29 directories`
Does it seem reasonable? probably overboard for a newcomer to nixos | 23:16:47 |
Miles Dyson | I also want to figure out how to automate backup of my configuration. | 23:16:51 |
raitobezarius | automating backup of your configuration is just taking configuration of text files | 23:17:05 |
raitobezarius | git, borgbackup, you name it | 23:17:09 |
raitobezarius | throw a systemd timer or whatever | 23:17:15 |
Miles Dyson | In a server config file I have account credentials, how do I exclude it from backups? | 23:19:00 |
Miles Dyson | In reply to @raitobezarius:matrix.org probably overboard for a newcomer to nixos I am experimenting. | 23:19:52 |