fix warnings etc

This commit is contained in:
2025-08-28 06:28:17 +02:00
parent c7035b7509
commit 20c63922db
3 changed files with 14 additions and 7 deletions

2
Makefile Normal file
View File

@@ -0,0 +1,2 @@
build:
sudo nixos-rebuild switch --flake .#fredrikr

View File

@@ -425,10 +425,10 @@ in
# Power button invokes suspend, not shutdown.
services.logind = {
services.logind.settings.Login = {
# extraConfig = "HandlePowerKey=hibernate";
lidSwitch = "hybrid-sleep";
powerKey = "hibernate";
HandleLidSwitch = "hybrid-sleep";
HandlePowerKey = "hibernate";
};
# video acceleration

View File

@@ -80,8 +80,8 @@ in
tinymist
# emacsPackages.treesit-grammars.with-all-grammars
# librewolf
cargo
rustc
# cargo
# rustc
vulkan-tools
mesa
vulkan-loader
@@ -653,7 +653,11 @@ in
uiua.enable = true;
omnisharp.enable = true;
ols.enable = true;
rust-analyzer.enable = true;
rust_analyzer = {
enable = true;
installCargo = true;
installRustc = true;
};
};
};
@@ -1188,7 +1192,7 @@ in
enable_audio_bell = false;
mouse_hide_wait = "-1.0";
window_padding_width = 2;
background_opacity = "0.85";
background_opacity = "0.5";
background_blur = 5;
disable_ligatures = "cursor";
# symbol_map = let
@@ -1278,6 +1282,7 @@ in
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"git.pvv.ntnu.no" = {
hostname = "git.pvv.ntnu.no";