From 2cd1b2aa00e6b8ee5840169fae100c90387bd3f9 Mon Sep 17 00:00:00 2001 From: Martin Benonisen Date: Fri, 19 Apr 2024 12:31:32 +0200 Subject: [PATCH] nix --- system/programs.nix | 10 ++++++++++ user/programs/vscode/default.nix | 1 + user/zsh/default.nix | 3 ++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/system/programs.nix b/system/programs.nix index ab8504e..dda63e1 100644 --- a/system/programs.nix +++ b/system/programs.nix @@ -14,11 +14,20 @@ ]; }; }; + programs.thunar.enable = true; programs.gnupg.agent = { enable = true; pinentryFlavor = "curses"; enableSSHSupport = true; }; + boot.binfmt.registrations.appimage = { + wrapInterpreterInShell = false; + interpreter = "${pkgs.appimage-run}/bin/appimage-run"; + recognitionType = "magic"; + offset = 0; + mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff''; + magicOrExtension = ''\x7fELF....AI\x02''; + }; environment.systemPackages = with pkgs; [ xdg-utils pass @@ -42,6 +51,7 @@ wget v4l-utils nmap + wineWowPackages.stable ]; systemd = { diff --git a/user/programs/vscode/default.nix b/user/programs/vscode/default.nix index 3019ffa..fc91de6 100644 --- a/user/programs/vscode/default.nix +++ b/user/programs/vscode/default.nix @@ -17,6 +17,7 @@ ]; userSettings = { "window.titleBarStyle" = "custom"; + "editor.formatOnSave" = true; }; }; } diff --git a/user/zsh/default.nix b/user/zsh/default.nix index 5fbe218..79644ef 100644 --- a/user/zsh/default.nix +++ b/user/zsh/default.nix @@ -11,7 +11,7 @@ dresden = "/home/mbeno/.ssh/dresden.sh"; d = "dresden"; }; - + initExtra = '' bindkey -v bindkey '^R' history-incremental-search-backward @@ -20,6 +20,7 @@ autoload -Uz promptinit promptinit prompt agnoster + source ~/.config/source/tsd-artifacts ''; zplug = { enable = true;