!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

619 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org168 Servers

Load older messages


SenderMessageTime
25 Mar 2024
@konrad-thorson:matrix.orgkonrad-thorsonHowdy20:13:13
@konrad-thorson:matrix.orgkonrad-thorsonI'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
@mg:maximiliangaedig.comMaximilian Gaedig ⚡️ joined the room.15:09:51
27 Mar 2024
Room Avatar Renderer.13:39:52
26 Mar 2024
@alexou:femtodata.comAlex 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:lodere.esSebTM joined the room.04:23:10
@pareto-optimal-dev:matrix.orgpareto-optimal-dev joined the room.17:22:02
@pareto-optimal-dev:matrix.orgpareto-optimal-dev left the room.17:24:14
30 Mar 2024
@ajcxz0:matrix.orgAJCxZ0 joined the room.00:40:15
31 Mar 2024
@dclmatrix:matrix.orgblu3 joined the room.17:38:16
@dclmatrix:matrix.orgblu3hi17:44:18
@dclmatrix:matrix.orgblu3Redacted or Malformed Event17:58:36
@dclmatrix:matrix.orgblu3Redacted or Malformed Event17:58:39
@dclmatrix:matrix.orgblu3Redacted or Malformed Event17:59:47
@skiparoo:matrix.orgskippy joined the room.20:34:57
@dclmatrix:matrix.orgblu3 changed their display name from dclmatrix to exet.22:32:51
@technicus:matrix.orgMiles Dyson joined the room.23:04:12
@technicus:matrix.orgMiles DysonHey 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:matrix.orgraitobezariusthere's no standards, but plenty of repositories online you can easily find on github which can give you opinions on that23:14:39
@technicus:matrix.orgMiles DysonThe 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@janik0:matrix.orgIf 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
@technicus:matrix.orgMiles DysonAm I going overboard, is there a simpler management arrangement?23:16:14
@janik0:matrix.org@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:matrix.orgraitobezarius
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
@technicus:matrix.orgMiles DysonI also want to figure out how to automate backup of my configuration.23:16:51
@raitobezarius:matrix.orgraitobezariusautomating backup of your configuration is just taking configuration of text files23:17:05
@raitobezarius:matrix.orgraitobezariusgit, borgbackup, you name it23:17:09
@raitobezarius:matrix.orgraitobezariusthrow a systemd timer or whatever23:17:15
@technicus:matrix.orgMiles DysonIn a server config file I have account credentials, how do I exclude it from backups?23:19:00
@technicus:matrix.orgMiles Dyson
In reply to @raitobezarius:matrix.org
probably overboard for a newcomer to nixos
I am experimenting.
23:19:52

Show newer messages


Back to Room ListRoom Version: 10