-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impure nixos on other Linux distro #110105
Comments
Are you aware of https://github.com/nix-community/home-manager ? |
Sadly home-manager is to control user specific (non global) packages, while here we still want nixos to control global packages, but just skip those fundamental skeleton to |
@holymonson You can use home-manager to manage Otherwise maybe something like https://github.com/svanderburg/nix-processmgmt might fit your needs? |
I would agree it would be nice to have something like nix-darwin for FHS compliant linux systems. I often want to run GUI packages on Fedora (installed via nix, QT packages are especially troublesome) and frequently run into issues where wrappers/paths that are assumed on nixos are absent. Some of this is addressed by nixGL, but a lot of it isn't. |
@hmenke It' not about managing { config, pkgs, ... }: {
services.sshd.enable = true;
} nixos will install However, even for the simple configuration above, nixos will run some boot stage implicitly to provide a fundamental Linux, such as to manipulate So here we propose, to add an option to skip those bootstrap stages, let nixos could run on an already bootstraped and prepared Linux, like a bare container. |
gentle ping @vcunat @danbst @adisbladis @zowoq @infinisil , since this may be sort of container-related. |
I marked this as stale due to inactivity. → More info |
There is now https://github.com/numtide/system-manager but it's still in a very early stage. |
I'm using other Linux distro with nixpkgs, and want to switch to NixOS but not entirely. Compare current implements
isContainer = true;
, boot atstage-2
, leave bootloader and mount untouched, but still mess /etc e.g.passwd
.I'm thinking we may split out a
stage-3
, between container and nixpkgs, to control services only. It shouldconfiguration.nix
This could benefit in
I have done some test but before pushing further, I want to ask maintainers' options or plans, in case it should be called off in advance.
The text was updated successfully, but these errors were encountered: