Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/nixos/modules/tasks/bcache.nix

14 lines
239 B
Nix
Raw Normal View History

[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
{ pkgs, ... }:
nixos: move bcache udev rule in a new bcache.nix module
2014-11-10 22:09:34 +01:00
{
environment.systemPackages = [ pkgs.bcache-tools ];
nixos/bcache: add services.udev.packages = [ bcache-tools ] Adds /dev/disk/by-{id,label}/* symlinks for bcache device nodes, in the final rootfs. Symlinks will only be created for bcache devices that contain filesystems. So if you have a blank bcache device or run LVM on top of bcache you will not get this kind of symlink.
2017-06-01 22:45:41 +02:00
services.udev.packages = [ pkgs.bcache-tools ];
nixos: move bcache udev rule in a new bcache.nix module
2014-11-10 22:09:34 +01:00
boot.initrd.extraUdevRulesCommands = ''
cp -v ${pkgs.bcache-tools}/lib/udev/rules.d/*.rules $out/
'';
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 569ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API