format
This commit is contained in:
parent
f2d640dcd2
commit
d11bc6a722
|
|
@ -13,9 +13,9 @@
|
|||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.it87 ];
|
||||
boot.kernelParams = [ "acpi_enforce_resources=lax" ];
|
||||
boot.kernelModules = [ "it87" ];
|
||||
boot.extraModulePackages = [config.boot.kernelPackages.it87];
|
||||
boot.kernelParams = ["acpi_enforce_resources=lax"];
|
||||
boot.kernelModules = ["it87"];
|
||||
boot.extraModprobeConfig = "options it87 ignore_resource_conflict=1 force_id=0x8622";
|
||||
services.getty = {
|
||||
autologinOnce = true;
|
||||
|
|
|
|||
|
|
@ -1,17 +1,21 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
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.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "thunderbolt" "usb_storage" "usbhid" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -19,11 +19,13 @@ in {
|
|||
record-audio = [pulseaudio ffmpeg jq];
|
||||
}
|
||||
// lib.optionalAttrs config.u.has.jp {
|
||||
anki-update = [libnotify inotify-tools pulseaudio ffmpeg jq pyp
|
||||
(writers.writePython3Bin "furigana" {
|
||||
libraries = [python3Packages.fugashi python3Packages.unidic-lite];
|
||||
} (builtins.readFile ./furigana))
|
||||
];
|
||||
anki-update =
|
||||
[libnotify inotify-tools pulseaudio ffmpeg jq pyp]
|
||||
++ [
|
||||
(writers.writePython3Bin "furigana" {
|
||||
libraries = [python3Packages.fugashi python3Packages.unidic-lite];
|
||||
} (builtins.readFile ./furigana))
|
||||
];
|
||||
};
|
||||
home.file = builtins.listToAttrs (
|
||||
map
|
||||
|
|
|
|||
Loading…
Reference in a new issue