#nixosconfigurations — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #nixosconfigurations, aggregated by home.social.
-
Hi there,
after approximately 15 hours I'm done with my server migration from #debian to #nixos.All services are running and backups are in place. I can now use my matrix account again. :P
If someone is interested to look over my configuration, please visit my git repo. If there are some problematic configurations or something I should do better, please open an issue.
-
Do you have a single #nixos #flake for multiple devices using different #nixosconfigurations in which for each device you have a specified /persist data location as part of an #impermanence setup? I am looking for examples, tips and foot-gun alerts.... cheers.
-
I'm also curious do you recommend something else than home manager, multiple config files, flakes and maybe a git /w control scripts? #nix #nixos #nixosconfigurations :pacman: :nix:
-
If I have a derivation in my #nixosConfigurations flake for/using a certain package (e.g. rns, lxmf) and it uses python3.packages and follows nixpkgs , how do I protect the derivation against breakage if my #nixpkgs get a new lock.nix i.e. I move to newer updated packages for the whole computer ? #nixos #nix #python3
-
@YvanDaSilva
you can commit the update and then run
nix store diff-closures --derivation git+file://<path to your config flake>?rev=<full commit hash before update>#nixosConfigurations.<hostname>.config.system.build.toplevel git+file://<path to your config flake>?rev=<full commit hash after update>#nixosConfigurations.<hostname>.config.system.build.toplevel -
nix build --builders 'ssh-ng://erin@dev x86_64-linux' .#nixosConfigurations.iso.config.system.build.isoImage
-
Налаштовую новий сервер, відеокарти нема, тому треба headless install. Дуже зручно на NixOS згенерувати ISO з усіма моїми налаштуваннями + SSH публічними ключем.
`nix build .#nixosConfigurations.xeon.config.system.build.isoImage`
-
Okay the fastest workaround I found for now is:
# build laptop's system on the server (a lot already built, doesn't take long)
server$ nix build .#nixosConfigurations.$LAPTOP.config.system.build.toplevel)"# copy system manually from server to laptop
laptop$ nix copy --from ssh://server "$(nix eval --raw --apply builtins.toString .#nixosConfigurations."$(hostname)".config.system.build.toplevel)"
# then nixos-rebuild as usual
laptop$ nixos-rebuild --flake . --use-remote-sudo switch -
when you
nixos-rebuild .#nixosConfigurations.[one machine] --target-host [another machine]:neofox_x_x: -
Für Nextcloud ist
settings.trusted_domains = ["my.domain.de" "my.otherdomain.net"];
gesetzt. Hilft aber auch nicht.
-
@roberth @arianvp Hell yeah! Thanks for the info! (and implementation 😎️)
Good to know I can just do `nix run unstable#nix -- .#nixosConfigurations.config.myhost.system.build.toplevel` as a temporary workaround.Curious how this is done. Will peep the implementation.
-
@arianvp Would be nice if stack traces could be constricted to include/exclude specific paths.
- Paths within my git repo ... *very much* care about *all* of them
- Paths within nixpkgs ... *maybe* care about 4-8 framesto find the error, you gotta sift through 500 lines of garbage. Makes iterating on NixOS a nightmare
`nixos-rebuild` should collapse irrelevant internal frames by default. If you need the whole trace use `nix build .#nixosConfigurations.host.config.system.build.toplevel`.
-
NixOS users can determine if CUPS is enabled, and their machine may be impacted by the recent CUPS vulnerabilities via:
nix eval .#nixosConfigurations.YOURMACHINENAME.config.services.printing.enable
The machine is not affected if nix eval prints "false".
-
My new #nixos config is out containing #nixosConfigurations for #WindowsSubsystemfürLinux (#wsl).
Check it out from #codeberg: https://codeberg.org/klt/configurations
#windows #linux -
This
├── gnome
│ ├── default.nix
│ └── home.nix
└── hyprland
├── default.nix
└── home.nixNot this
├── nixos
│ ├── gnome.nix
│ └── hyprland.nix
└── home-manager
├── gnome.nix
└── hyprland.nixSeparate concerns with
https://github.com/pipelight/nixos-tidy -
Should be possible with [mobile-nixos](https://github.com/NixOS/mobile-nixos) and `nix build .#nixosConfigurations.<host>.config.system.build.iso-image`
The project is kinda rough tho. Development/maintenance is slow, probably due to doing a bunch of nonstandard things on top of NixOS and not supporting Nix flakes.
I have a OnePlus 6T, so hopefully I can step up to help maintain the project once I'm a little more knowledgeable with Nix and boot related stuff.
-
@imikoy you can WHAT
i need to do this asap awawawa
my plan for including my phone into my nix flake so far was writing a nix package derivation for the aosp base image and exposing nix options which are transpiled into git patches and then built with `nix build .#nixosConfigurations.iso.config.system.build.isoImage` like you would do with a nixos installer image, but this sounds even better lmao
-
#protonvpn #protonvpncli #nixos To make #proton #vpn start the last used vpn connection automatically under nixos after #boot when the user logs on thereafter, try the setup as lines 160-179 of my #nixosconfiguration #nixosConfigurations https://pastebin.com/R3Hz05MZ Uses the command line interface #cli of the protonvpn-cli package.
Cannot say I understand it, but learnt a lot after a lot of dead-ends on the way. The #systemd #service in the configuratoin.nix file is not listed by #systemctl Why? -
#nixos install with #gnome . How does one set apps/programs/packages to run at #startup by using the config.nix file (without using home-manager and without using gnome which in any case btw has no startup icon visible) ? #nixosconfigurations
-
#nixos #nixosConfigurations
A minimalist dotfiles manager using NixOS
https://github.com/minizilla/homini -
Is there a way to make
nix evaldo lazy evaluation? If I try to do something (stupid) likenix eval .#nixosConfigurations.example(defined by way ofpkgs.lib.nixosSystem) to see what that set actually looks like my computer bursts into flames as it tries to evaluate the whole set all the way down, pulling in a bunch of (broken) derivations along the way #Nix #NixOS -
@ryanbooker you add the following to imports
"${modulesPath}/installer/sd-card/sd-image-aarch64-new-kernel.nix"
Build the SD card image: nix build .#nixosConfigurations.HOSTNAME.config.system.build.sdImage
and then flash it: unzstd -cd result/sd-image/nixos-sd-image-*-aarch64-linux.img.zst | sudo dd bs=4M of=/dev/sdX
The image might be gzip compressed, then just change the time extension and use gunzip