disko
.dots
disko | .dots | |
---|---|---|
13 | 26 | |
1,309 | 170 | |
11.5% | - | |
9.5 | 9.2 | |
about 11 hours ago | about 18 hours ago | |
Nix | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
disko
-
Obscura: The VPN that can't track your activity
It's mostly bash scripts (I know I have stockholm syndrome there) and nixos-rebuild: https://www.haskellforall.com/2023/01/announcing-nixos-rebui...
All the nix deployment tools had too much magic and broke, but nixos-rebuild always works and it's part of Nix!
Disko was great for bootstrapping servers: https://github.com/nix-community/disko
-
NixOS Impermanence
I'm now running impermanence on NixOS servers. Setting it up was slightly more work, obviously, but it's been... freeing in a sense. My confidence that I can rebuild all servers at any time and that all the peculiarities of my setup are documented have never been higher.
Rather than using a script for setup, I am using disko [0] with nixos-anywhere [1] and a small home-grown script that integrates with 1Password for deployments and it's wonderful, because everything including disk formatting is now purely declarative.
[0] https://github.com/nix-community/disko
[1] https://github.com/numtide/nixos-anywhere
-
Possible to make a machine independent NixOS configuration/flake?
Your can also look at disko
-
disko-images - Create qcow2 images from NixOS + disko configuration
It's a simple NixOS module that creates disk images from your disko configuration, with NixOS installed onto them.
-
Hardware configuration in nix flake dotfiles?
The closest thing would be to look at the live disk implementation, but obviously it doesn't automount any files systems. I think particular to disk problems, disko is supposed to help: https://github.com/nix-community/disko but I haven't gotten around to playing with it to verify.
-
Changing file system
For actually writing partitions, there is disko (though I have not used it).
-
please confirm my impression of why nix is so great
If it's just disk formatting you want to automate, then check out disko.
-
disko issues
I guess if all else fails, ignore the instructions? Does the quickstart guide need to be updated?
-
Managing paritions in a nix config?
Check out disko
-
Manage zfs pools in NixOS
Looking at your other comments in this thread, you may want to look at the disko tmpfs.nix example which is a simplified NixOS ❄: tmpfs as root setup and then possibly the ZFS equivalent Erase your darlings. These setups minimize the statefull information kept on disk.
.dots
-
Fish and nix develop question
I have a wrapper function that just maps to dev to make life easier: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/develop.fish
-
Possible to make a machine independent NixOS configuration/flake?
Never fully got it to work, so I just encrypt my secrets when I build my isos: https://github.com/dmadisetti/.dots/actions/runs/5055636638/jobs/9072093945
-
Hardware configuration in nix flake dotfiles?
I have multiple files for each machine based on hostname. I have CI strip my config of all system specific information for general distribution. For reference: https://github.com/dmadisetti/.dots
-
Using current flake setup with WSL2
I build a wsl image: https://github.com/dmadisetti/.dots/blob/template/nix/machines/wsl.nix
- Diving straight into flakes with no channels?
-
how to store secrets needed at install time
What I do: Keep secrets in a separate git repo as a flake, and have a stub flake, that can be overridden: https://github.com/dmadisetti/.dots/tree/template/nix/spoof
-
Rice NixOS?
My dots
-
(maybe) ex arch user need some help to understand
I have a script that will symlink my dotfiles in (github:dmadisetti/.dots/setup.sh), because you also end up with weird RO permissions if you do it through Nix. I think this is fine. It also means that you aren't stuck with Nix
-
Have a shell command in configuration.nix that runs on nixos-rebuild
The way I manage multiple systems is with a wrapper: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/snix.fish
-
Arch user, convince me to hop to Nix
The only thing that is semi manual is setting up disks on first install (something you'd still have to do with arch). You can still script that: https://github.com/dmadisetti/.dots/blob/template/scripts/run-install.nix.sh
What are some alternatives?
nixos-config - Nix configuration for macOS / NixOS with starter templates, step-by-step guides, and more ✨
deploy-rs - A simple multi-profile Nix-flake deploy tool.
nixos - My NixOS config files
krops - Mirror of https://cgit.krebsco.de/krops/about/ (PRs / issues accepted, as can be seen by not having them disabled)
nixos-config - My Personal Nix/NixOS Configuration.
nixos-config - My NixOS configurations.
nixos
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
nixos-generators - Collection of image builders [maintainer=@Lassulus]
nixfiles - My NixOS configuration and assorted other crap.
disko-images - Create disk image files from NixOS + disko configuration.
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.