NixOS

!nixos

@infosec.pub
Create post
[hyprland] My NixOS Configuration

[hyprland] My NixOS Configuration

Installing NixOS made my Windows Dual Boot fail

Installing NixOS made my Windows Dual Boot fail

I've probably parsed dozens of pages now, including the "Dual boot NixOS and Windows" page on nixos.wiki, and not really sure what the best steps are since most seem to leverage the fact that everything is on a single partition. My windows lives on a physically separate drive than NixOS, so osprober does not detect the windows partition at all. I tried to go down the route of grub-mkconfig but that doesn't seem to be a nix package and I couldn't mount my Windows bootloader as it is NTFS. Is this even possible with this configuration?

My next step was going to be to physically disconnect each of my disks/NVME, nuke everything bit by bit, then only connect the disks I want and install each OS with it's specific disk connected.

NixCon North America 2024 is happening on March 14th and 15th in CA, USA. | Call for Proposals

NixCon North America 2024 is happening on March 14th and 15th in CA, USA. | Call for Proposals

Open link in next tab

NixOS (@nixos_org@chaos.social)

https://chaos.social/@nixos_org/111614056443865564

Attached: 1 image 🗓️ Mark your calendars! NixCon North America 2024 is happening on March 14th and 15th in CA, USA. Submit your talk or workshop proposal before December 31, 2023, 11:59 PM PST. Be a part of this exciting event! More details at: https://discourse.nixos.org/t/nixcon-na-2024-call-for-proposals/36491

NixOS (@nixos_org@chaos.social)
Can you setup garbage collection to delete every other generation or every other N generations after a certain limit has been reached?

Can you setup garbage collection to delete every other generation or every other N generations after a certain limit has been reached?

I see you can delete everything older than some period of time, but what if I want some older than a year? Or should it be interpreted that: whatever build configuration was used, it is tested thoroughly at that point, and it would be better to rebuild from a nix configuration stored on git?

First Time NixOS setup help installing basic apps, dependencies, and themes

First Time NixOS setup help installing basic apps, dependencies, and themes

Edit: my issues came from copying source .nix configurations for the pig manager, not configurations that I would include on my computer. Finding how to include what where was much easier with search.nixos.org

Hi, I've finally cleansed my system of windows and switched fully into nix. I want to learn this OS the right way, but have ran into some noob troubles. Any help would be greatly appreciated. Ideally, these changes are things I would include in my configuration.nix

  • How to install electrum wallet on nixos? I found this default.nix for electrum and thought it would be as easy as nix-build default.nix but was mistaken. It says " cannot evaluate a function that has an argument without a value ('fetchurl') Nix attempted to evaluate a function as a top level expression" but on a later line that value is inputted to the function (if I understand right)

src = fetchurl { url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz"; sha256 = "sha256-BxxC1xVKToUjgBo4mEeK9Tdhbd/+doHcTTJsXDtaELg="; };

  • How to install KVantum Theme Manager? I was following this guide and tried to add gcc/g++ and the x11 package dependencies but I get undefined variables for the x11 libraries. Some recommend using stdenv.mkDerivations but I haven't used that much nix before so I'm not certain if I should be going down that rabbit hole
New Nix Wiki: NixLang Wiki

New Nix Wiki: NixLang Wiki

Open link in next tab

NixLang Wiki

https://nixlang.wiki/

An unofficial, maintained wiki for NixOS

What should manage your xsession?

What should manage your xsession?

I'm conflicted on what should handle my login manager, desktop environment, and window manager. What are the pros and cons of doing it from a nixos configurations versus a home manager configuration?

Flakes use in home manager help required

Flakes use in home manager help required

I want to use Plasma-manager in my system. I have enabled flakes in configurations. Now what to do to use it. The output generated by tool rc2nix can be copied through terminal but when i put that in home.nix , it says that plasma is not available which is true but then how do I use this tool. flake file.

Providing Runtime Secrets to NixOS Services with Agenix

Providing Runtime Secrets to NixOS Services with Agenix

Open link in next tab

Providing Runtime Secrets to NixOS Services

https://lgug2z.com/articles/providing-runtime-secrets-to-nixos-services/

In my last post, I shared how to get a working instance of Nitter deployed on NixOS, but requested advice on how to best automatically provision the guest_accounts.json runtime secret file on the target server. A number of folks reached out to me on Mastodon (thanks @vt52@ioc.exchange, @aynish@merveilles.town, @linus@schreibt.jetzt and @uep@octodon.social!) to suggest that I use agenix to copy encrypted files to the server and decrypt them in non-world readable directories, and then use systemd’s LoadCredentials option to make them available to the nitter service.

Providing Runtime Secrets to NixOS Services
Search (and install) previous versions of nix packages easily

Search (and install) previous versions of nix packages easily

Open link in next tab

Nix old package search

https://history.nix-packages.com/