Compare commits

..

3 commits

Author SHA1 Message Date
Bad
90315048ae Map coc-codeaction-line to f3 2022-07-08 23:45:54 +02:00
Bad
570d1be68c Update intel microcode 2022-07-08 23:45:44 +02:00
Bad
4a121b2ed2 Update flake.lock 2022-07-07 21:07:30 +02:00
4 changed files with 18 additions and 19 deletions

View file

@ -169,11 +169,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1656656878, "lastModified": 1656743113,
"narHash": "sha256-0rA054abuLVzv24nrk4rVWQIDl20T+570UZglPhXgzg=", "narHash": "sha256-kefFVGBPKePDBgofW++XrwtAk19izXeb0IMozfoCthE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "e172d625f705ca4013f93d3fe061d3ecf1fc3a34", "rev": "0ce83f7f5b58a91c09fbc8e21c77ae5f3d680f09",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -350,11 +350,11 @@
}, },
"latest": { "latest": {
"locked": { "locked": {
"lastModified": 1656461576, "lastModified": 1656753965,
"narHash": "sha256-rlmmw6lIlkMQIiB+NsnO8wQYWTfle8TA41UREPLP5VY=", "narHash": "sha256-BCrB3l0qpJokOnIVc3g2lHiGhnjUi0MoXiw6t1o8H1E=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cf3ab54b4afe2b7477faa1dd0b65bf74c055d70c", "rev": "0ea7a8f1b939d74e5df8af9a8f7342097cdf69eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -386,11 +386,11 @@
}, },
"nixos": { "nixos": {
"locked": { "locked": {
"lastModified": 1656589841, "lastModified": 1656679828,
"narHash": "sha256-Kqd6r9aNIzjYGhMFYATdKwRbXBCGLcdqAJMLr4I8LG0=", "narHash": "sha256-akGA97pR1BAQew1FrVTCME3p8qvYxJXB2X3a13aBphs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "dbb62c34bbb5cdf05f1aeab07638b24b0824d605", "rev": "915f5a5b3cc4f8ba206afd0b70e52ba4c6a2796b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -402,11 +402,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1656624504, "lastModified": 1656702262,
"narHash": "sha256-EuNui6P5tHk4YkfiYjcRzfc9wxpoTl2OOOgpyF6bWfs=", "narHash": "sha256-BdVdx6LoGgAeIYrHnzk+AgbtkaVlV3JNcC6+vltLuh0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "a50513f8a6c470208d7c494439775e62c3f47ce1", "rev": "c5308381432cdbf14d5b1128747a2845f5c6871e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -497,11 +497,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1656601302, "lastModified": 1656694823,
"narHash": "sha256-8vlDMdGmccsFkDTM5O3RGRTZIGBEVIDjnXpxWGoVIQc=", "narHash": "sha256-3mz3JRyPYMFZ/7FG6ELiPHxmMM5bHJvbcBAmBCHFEwo=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "ce36446943a33b01de50ca27d8d17e176af13cd5", "rev": "ec78b6b08af38df0b06422c050968945fb9e02c0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -11,11 +11,13 @@
system.stateVersion = "20.09"; # Did you read the comment? system.stateVersion = "20.09"; # Did you read the comment?
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
hardware.cpu.intel.updateMicrocode = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
services.fwupd.enable = true;
fileSystems."/" = fileSystems."/" =

View file

@ -26,7 +26,6 @@ in
polymc polymc
lutris lutris
sumneko-lua-language-server sumneko-lua-language-server
rust-analyzer
cargo-crev cargo-crev
cargo-fuzz cargo-fuzz
tdesktop tdesktop

View file

@ -42,9 +42,7 @@ in
''; '';
coc.pluginConfig = '' coc.pluginConfig = ''
nmap <silent> <F2> <Plug>(coc-rename) nmap <silent> <F2> <Plug>(coc-rename)
nmap <silent> <F3> <Plug>(coc-codeaction-line)
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" Remap <C-f> and <C-b> for scroll float windows/popups. " Remap <C-f> and <C-b> for scroll float windows/popups.
if has('nvim-0.4.0') || has('patch-8.2.0750') if has('nvim-0.4.0') || has('patch-8.2.0750')