From 3ffd1c78228f6a374933ec22aeac6248b9303a50 Mon Sep 17 00:00:00 2001 From: Tristan Date: Wed, 10 May 2023 08:40:48 +0100 Subject: [PATCH] insomnia wayland, tlp, vscode extensions --- lib/modules/dev.nix | 6 +++++- system/global/home.nix | 2 -- system/global/system.nix | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/modules/dev.nix b/lib/modules/dev.nix index 233197c..62228cf 100644 --- a/lib/modules/dev.nix +++ b/lib/modules/dev.nix @@ -16,7 +16,11 @@ in programs.terminal.enable = true; home-manager.users.${user}.imports = [{ home.packages = (with pkgs; [ - insomnia + (makeDesktopItem { + name = "insomnia"; + desktopName = "Insomnia"; + exec = "${insomnia}/bin/insomnia --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations"; + }) dbeaver ansible ]); diff --git a/system/global/home.nix b/system/global/home.nix index 766186f..2abf786 100644 --- a/system/global/home.nix +++ b/system/global/home.nix @@ -355,12 +355,10 @@ in programs.vscode = { extensions = with pkgs; [ vscode-extensions.asvetliakov.vscode-neovim - vscode-extensions.jnoortheen.nix-ide ]; userSettings = { "vscode-neovim.neovimExecutablePaths.linux" = "/run/current-system/sw/bin/nvim"; "keyboard.dispatch" = "keyCode"; - "nix.serverPath" = "${pkgs.rnix-lsp}/bin/rnix-lsp"; }; }; diff --git a/system/global/system.nix b/system/global/system.nix index f1ef878..b1e4bdb 100644 --- a/system/global/system.nix +++ b/system/global/system.nix @@ -175,6 +175,8 @@ boot.kernel.sysctl = { "net.ipv4.ip_unprivileged_port_start" = 53; }; + + services.tlp.enable = true; }