format
This commit is contained in:
parent
f2d640dcd2
commit
d11bc6a722
|
|
@ -1,11 +1,15 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "thunderbolt" "usb_storage" "usbhid" "sd_mod"];
|
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "thunderbolt" "usb_storage" "usbhid" "sd_mod"];
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,9 @@ in {
|
||||||
record-audio = [pulseaudio ffmpeg jq];
|
record-audio = [pulseaudio ffmpeg jq];
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs config.u.has.jp {
|
// lib.optionalAttrs config.u.has.jp {
|
||||||
anki-update = [libnotify inotify-tools pulseaudio ffmpeg jq pyp
|
anki-update =
|
||||||
|
[libnotify inotify-tools pulseaudio ffmpeg jq pyp]
|
||||||
|
++ [
|
||||||
(writers.writePython3Bin "furigana" {
|
(writers.writePython3Bin "furigana" {
|
||||||
libraries = [python3Packages.fugashi python3Packages.unidic-lite];
|
libraries = [python3Packages.fugashi python3Packages.unidic-lite];
|
||||||
} (builtins.readFile ./furigana))
|
} (builtins.readFile ./furigana))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue