Skip to main content

What is the NixOS-way to put a configuration file in /etc?

E.g. I want to drop /etc/nanorc. I found some forum entries talkingdiscussions about programming it into /etc/nixos/configuration.nix, but could not find any documentation about that...

What is the NixOS-way to put a configuration file in /etc?

E.g. I want to drop /etc/nanorc. I found some forum entries talking about programming it into /etc/nixos/configuration.nix, but could not find any documentation about that...

What is the NixOS-way to put a configuration file in /etc?

E.g. I want to drop /etc/nanorc. I found discussions about programming it into /etc/nixos/configuration.nix...

Source Link
Robert Siemer
  • 2.5k
  • 4
  • 30
  • 39

How to add a file to /etc in NixOS?

What is the NixOS-way to put a configuration file in /etc?

E.g. I want to drop /etc/nanorc. I found some forum entries talking about programming it into /etc/nixos/configuration.nix, but could not find any documentation about that...