Joey Hafner
d002643347
- WIP: Installer configuration to be used for portable or new systems. - Add defaultApps (zen for links, codium for plain text). - Refactor Ollama (AI) to skip model selection, WIP "codewriter" model. - Password-manager: Switch to wayland package for rofi-rbw, increase lock timeout. - Add mangohud config that shows FPS, frame time, throttling status in a horizontal layout below OW's HUD. - Add nixGL config to use mesa and vulkan. - Refactor configuration.nix as a "hub" file that just imports other files. - amdgpu: Remove problematic amdvlk driver. Was causing misbehavior in Overwatch. - gaming: Add gamescope and gamemode.
65 lines
1.5 KiB
Nix
65 lines
1.5 KiB
Nix
{ vars, pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
rofi-rbw-wayland
|
|
wl-clipboard
|
|
dotool
|
|
];
|
|
programs.tofi = {
|
|
enable = false;
|
|
settings = {};
|
|
};
|
|
programs.rofi = {
|
|
enable = false;
|
|
configPath = "$XDG_CONFIG_HOME/rofi/config.rasi";
|
|
extraConfig = {};
|
|
location = "center";
|
|
terminal = "${pkgs.kitty}/bin/kitty";
|
|
};
|
|
programs.wofi = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.rbw = {
|
|
enable = true;
|
|
settings = {
|
|
base_url = "https://bitwarden.jafner.tools";
|
|
email = "jafner425@gmail.com";
|
|
lock_timeout = 2592000;
|
|
pinentry = pkgs.pinentry-qt;
|
|
};
|
|
};
|
|
|
|
xdg.desktopEntries = {
|
|
rofi-rbw = {
|
|
exec = "${pkgs.rofi-rbw-wayland}/bin/rofi-rbw";
|
|
icon = "/home/${vars.user.username}/.icons/custom/bitwarden.png";
|
|
name = "Bitwarden";
|
|
categories = [ "Utility" "Security" ];
|
|
type = "Application";
|
|
};
|
|
};
|
|
|
|
home.file."rofi-rbw.rc" = {
|
|
target = ".config/rofi-rbw.rc";
|
|
text = ''
|
|
action="type"
|
|
typing-key-delay=0
|
|
selector-args="-W 40% -H 30%"
|
|
selector="wofi"
|
|
clipboarder="wl-copy"
|
|
typer="dotool"
|
|
keybindings="Enter:type:username:enter:tab:type:password:enter:copy:totp"
|
|
'';
|
|
};
|
|
|
|
home.file."bitwarden.png" = {
|
|
target = ".icons/custom/bitwarden.png";
|
|
source = pkgs.fetchurl {
|
|
url = "https://raw.githubusercontent.com/bitwarden/clients/refs/heads/main/apps/desktop/resources/icons/64x64.png";
|
|
sha256 = "sha256-ZEYwxeoL8doV4y3M6kAyfz+5IoDsZ+ci8m+Qghfdp9M=";
|
|
};
|
|
};
|
|
}
|
|
|