module(nvidia): enable sleepIssue
This commit is contained in:
parent
14e6ad62bd
commit
cbfda2ecaa
|
@ -134,6 +134,10 @@
|
|||
neovim.enable = true;
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"f /dev/shm/looking-glass 0660 datahearth libvirtd -"
|
||||
];
|
||||
|
||||
fileSystems = let
|
||||
# this line prevents hanging on network split
|
||||
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||
|
|
|
@ -47,7 +47,9 @@
|
|||
ids = [ "10de:1b81" "10de:10f0" ];
|
||||
user = "datahearth";
|
||||
};
|
||||
nvidia.enable = true;
|
||||
nvidia.sleepIssue = false;
|
||||
nvidia = {
|
||||
enable = true;
|
||||
sleepIssue = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
# Fix autologin problem gnome https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
||||
systemd.services."getty@tty1".enable = false;
|
||||
systemd.services."autovt@tty1".enable = false;
|
||||
systemd.tmpfiles.rules = [
|
||||
"f /dev/shm/looking-glass 0660 datahearth libvirtd -"
|
||||
];
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
{ }:
|
||||
{
|
||||
telescope = import ./telescope.nix;
|
||||
treesitter = import ./treesitter.nix;
|
||||
trouble = import ./trouble.nix;
|
||||
todo-comments = import ./todo-comments.nix;
|
||||
lualine = import ./lualine.nix;
|
||||
autoclose = import ./autoclose.nix;
|
||||
comment-nvim = import ./comment-nvim.nix;
|
||||
# harpoon = import ./harpoon.nix { vimUtils = vimUtils; fetchFromGithub = fetchFromGithub; };
|
||||
illuminate = import ./illuminate.nix;
|
||||
indent-blankline = import ./indent-blankline.nix;
|
||||
leap = import ./leap.nix;
|
||||
nix = import ./nix.nix;
|
||||
dashboard = import ./dashboard.nix;
|
||||
gitsigns = import ./gitsigns.nix;
|
||||
chadtree = import ./chadtree.nix;
|
||||
luasnip = import ./luasnip.nix;
|
||||
|
||||
# Completion
|
||||
lsp = import ./lsp.nix;
|
||||
|
||||
## CMP
|
||||
nvim-cmp = import ./nvim-cmp.nix;
|
||||
|
||||
## COQ
|
||||
coq-nvim = import ./coq-nvim.nix;
|
||||
coq-thirdparty = import ./coq-thirdparty.nix;
|
||||
|
||||
## Thirdparties
|
||||
copilot-vim = import ./copilot-vim.nix;
|
||||
|
||||
cmp_luasnip.enable = true;
|
||||
}
|
Loading…
Reference in New Issue