Fix typos
This commit is contained in:
@ -1,16 +1,20 @@
|
||||
inputs:
|
||||
{ config, libs, pkgs, ... }: {
|
||||
{ config, lib, pkgs, ... }: {
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
binaryCaches = lib.mkForce [
|
||||
"https://cache.nixos.org/"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
settings = {
|
||||
substituters = lib.mkForce [
|
||||
"https://cache.nixos.org/"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
# nix shell and nix build should use the same channel as the flake
|
||||
registry.nixpkgs.flake = nixpkgs;
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
@ -25,7 +29,8 @@ inputs:
|
||||
|
||||
hardware = {
|
||||
pulseaudio = {
|
||||
enable = true;
|
||||
# TODO: pipewire
|
||||
enable = false;
|
||||
# stop mumble from muting other processes
|
||||
extraConfig = "unload-module module-role-cork";
|
||||
};
|
||||
@ -146,5 +151,5 @@ inputs:
|
||||
serif = [ "JetBrainsMono Nerd Font" "Noto Color Emoji" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
# use latest kernel
|
||||
kernelPackages = pkgs.linuxPackages.latest;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel.sysctl = {
|
||||
# function keys on keychron keyboard won't work otherwise
|
||||
"module.hid_apple.parameters.fnmode" = "2";
|
||||
|
Reference in New Issue
Block a user