Fix typos
This commit is contained in:
parent
c38e003b98
commit
0addd25afa
@ -38,9 +38,9 @@
|
|||||||
{
|
{
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
inputs.home-manager.defaultPackage.${system};
|
inputs.home-manager.defaultPackage.${system}
|
||||||
];
|
];
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
fileWidgetCommand = "fd --type f --no-ignore";
|
fileWidgetCommand = "fd --type f --no-ignore";
|
||||||
historyWidgedOptions = [ "--reverse" "--sort" "--exact" ];
|
historyWidgetOptions = [ "--reverse" "--sort" "--exact" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
rust-analyzer
|
rust-analyzer
|
||||||
rustup
|
rustup
|
||||||
sccache
|
sccache
|
||||||
]
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
inputs:
|
inputs:
|
||||||
{ config, libs, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
binaryCaches = lib.mkForce [
|
settings = {
|
||||||
|
substituters = lib.mkForce [
|
||||||
"https://cache.nixos.org/"
|
"https://cache.nixos.org/"
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
];
|
];
|
||||||
binaryCachePublicKeys = [
|
trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"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;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
@ -25,7 +29,8 @@ inputs:
|
|||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
pulseaudio = {
|
pulseaudio = {
|
||||||
enable = true;
|
# TODO: pipewire
|
||||||
|
enable = false;
|
||||||
# stop mumble from muting other processes
|
# stop mumble from muting other processes
|
||||||
extraConfig = "unload-module module-role-cork";
|
extraConfig = "unload-module module-role-cork";
|
||||||
};
|
};
|
||||||
@ -146,5 +151,5 @@ inputs:
|
|||||||
serif = [ "JetBrainsMono Nerd Font" "Noto Color Emoji" ];
|
serif = [ "JetBrainsMono Nerd Font" "Noto Color Emoji" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||||||
};
|
};
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
# use latest kernel
|
# use latest kernel
|
||||||
kernelPackages = pkgs.linuxPackages.latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
# function keys on keychron keyboard won't work otherwise
|
# function keys on keychron keyboard won't work otherwise
|
||||||
"module.hid_apple.parameters.fnmode" = "2";
|
"module.hid_apple.parameters.fnmode" = "2";
|
||||||
|
Loading…
Reference in New Issue
Block a user