format
This commit is contained in:
parent
f2d640dcd2
commit
d11bc6a722
|
|
@ -13,9 +13,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.extraModulePackages = [ config.boot.kernelPackages.it87 ];
|
boot.extraModulePackages = [config.boot.kernelPackages.it87];
|
||||||
boot.kernelParams = [ "acpi_enforce_resources=lax" ];
|
boot.kernelParams = ["acpi_enforce_resources=lax"];
|
||||||
boot.kernelModules = [ "it87" ];
|
boot.kernelModules = ["it87"];
|
||||||
boot.extraModprobeConfig = "options it87 ignore_resource_conflict=1 force_id=0x8622";
|
boot.extraModprobeConfig = "options it87 ignore_resource_conflict=1 force_id=0x8622";
|
||||||
services.getty = {
|
services.getty = {
|
||||||
autologinOnce = true;
|
autologinOnce = true;
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,21 @@
|
||||||
# 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"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = ["kvm-amd"];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
|
||||||
|
|
@ -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