1
0
Fork 0

module(nvidia): enable sleepIssue

This commit is contained in:
Antoine Langlois 2024-03-19 10:15:59 +01:00
parent 14e6ad62bd
commit cbfda2ecaa
Signed by: DataHearth
GPG Key ID: 946E2D0C410C7B3D
4 changed files with 8 additions and 45 deletions

View File

@ -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";

View File

@ -47,7 +47,9 @@
ids = [ "10de:1b81" "10de:10f0" ];
user = "datahearth";
};
nvidia.enable = true;
nvidia.sleepIssue = false;
nvidia = {
enable = true;
sleepIssue = true;
};
};
}

View File

@ -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 -"
];
}

View File

@ -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;
}