nixos-generators
nixos-configuration | nixos-generators | |
---|---|---|
11 | 20 | |
139 | 1,520 | |
- | 5.3% | |
9.2 | 8.3 | |
7 days ago | 6 days ago | |
Nix | Nix | |
- | 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.
nixos-configuration
-
Composable configuration bundles?
You can create custom nixos modules and enable them in desired systems. E.g. Here is my custom gaming module and here I enable it for one of my machines.
-
Installed package within environment.systemPackages will not persist to next boot with Flakes
Sure, here is my rpi config. I'll need to check the bootloader file later and let you know.
-
Devenv, Poetry, and Helix
I have slightly different workflow (direnv + flakes + poetry + nvim). Take a look at my template. You can put this flake.nix file in a poetry based project and type nix develop to enter a shell with activated poetry venv and all dependencies installed. Launch helix from this shell and you are good to go.
-
How do I use pip on NixOS?
This is great. I have a very simmilar flake, but with venvShellHook so venv is also activated when I enter the project directort.
-
Really have some trouble setup a minimal Neovim flake
If you need reference, I have my setup on github.
-
Flake to make NixOS iso
Sorry from the invalid command, that is a derp from my side :x I also use zsh, but I don't have the same issue with # and I don't do anything special in my config to mitigate this... You can also use a backslash to escape this character (tab completion always inserts it for me). Anyway this is my zsh config if you need a reference.
-
Examples of Theming Gnome with Nix, the "right way"?
Gnome can be configured programatically with dconf. You can use dconf-editor to explore available options and than set some option declaratively with home-manager. I use ths method to configure wallpaper, night light and gnome-terminal, but there are much more options. My config for reference.
-
Settings for a neovim plugin in home-manager
treesitter config file
-
Should i get into nix? primarily IAC / "devops" with some golang dev via vscode
Devops with Kubernetes, Go and Python here. Nix works great for this usecase, having all my tools defined in a single file is amazing. Although I mainly use Neovim, VSCode works fine as well. You can use such extension or simply enter a nix shell in the terminal and launch code . from there.
-
Will you move from Packer to Lazy ?
https://github.com/LongerHV/neovim-plugins-overlay/blob/master/flake.nix https://github.com/LongerHV/nixos-configuration/tree/master/dotfiles/nvim/lua/config
nixos-generators
- NixOS-generators – Collection of VM and Container disk image builders for NixOS
-
NixOS: Declarative Builds and Deployments
https://github.com/nix-community/nixos-generators
-
NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
Those Linode instructions are about installing an OS from an installation ISO from Linode's rescue mode. -- I'd consider that more a 'plus' to Linode that you get to be able to install whatever unsupported Linux on Linode's VMs. But, of course it's not as smooth as the officially supported images.
Sibling comment mentions that NixOS provides ways to build VM images (e.g. https://github.com/nix-community/nixos-generators has a generator specifically for Linode).
Another option is to use nixos-infect, which will replace a Linux distribution with a NixOS distribution. https://github.com/elitak/nixos-infect
> At that point, I feel like all of the repeatability gains are gone. If I want to spin up a fresh server, I have to read a guide and set stuff up by hand?
Just as with ansible, "git pull to deploy". You'd keep a copy of your NixOS configuration.nix somewhere else, and would be able to apply it later.
> it really does let me just get a new VPS and deploy to it very fast
Using a tool you're familiar with to get the job done is going to be faster than learning to use a tool you're unfamiliar with.
I believe much of the use of NixOS is for hobby stuff, and for personal machines. (c.f. "In what environments do you use Nix", Development (1242) vs Home Server (845) vs Production (386) https://discourse.nixos.org/t/2022-nix-survey-results/18983).
- Questions about Nix
-
Couple of noob questions
If you need to generate lxc container in NixOS then perhaps this repo might be useful: https://github.com/nix-community/nixos-generators this article uses it https://www.thedroneely.com/posts/running-nixos-linux-containers/
-
disko-images - Create qcow2 images from NixOS + disko configuration
You might wanna check out nix-community/nixos-generators, it’s maintained by the same dude as Disko
-
How to do machine specific config on EC2 using an official nixos ami?
You can look at nixos-generators for support code that well let you take existing configs and build a variety of bootable images from them.
-
Flake to make NixOS iso
You should take a look at NixOS Generators, it's a flake with configs to build common formats like ISO, LXC, Docker, etc. I use that to generate an ISO with my config, specifically the packages.iso section.
-
Need help with NixOs VM Generation
I am trying to make use of https://github.com/nix-community/nixos-generators to generate qcow2 images from a NixOs configuration. Since it will be used with Scaleway, they require an efi bootable image.
-
[NixOS] How to Migrate From one Server to another? KVM to VMware
I haven't migrated machines from one vm provider to vmware, but I have provided a number of pregenerated nixos images (along the line of https://github.com/nix-community/nixos-generators) to clients to install onto vmware (and other - hyperv, xen, qemu, physical) hosts.
What are some alternatives?
nixvim - Configure Neovim with Nix! [maintainer=@pta2002, @traxys, @GaetanLepage]
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
neovim-with-lazy.nvim-manager - This Is my latest neovim lua config
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
neovim-nightly-overlay - [maintainer=@Kranzes]
nix - Nix, the purely functional package manager
LazyVim - Neovim config for the lazy
nix-gaming - Gaming on Nix
neovim-plugins-overlay
nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.
neovim - Vim-fork focused on extensibility and usability
digga - A flake utility library to craft shell-, home-, and hosts- environments.