rofi & gpg

This commit is contained in:
2024-03-04 21:13:15 +01:00
parent 6f5f0fa1f5
commit 9bbebf48a2
7 changed files with 78 additions and 14 deletions

View File

@@ -1,8 +1,9 @@
{
imports = [
./alacritty
./neovim
./git.nix
./neovim
./rofi
./wallpaper.nix
./xmonad
./zathura.nix

View File

@@ -1,11 +1,7 @@
{ pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
# dropbox - we don't need this in the environment. systemd unit pulls it in
fq
dropbox-cli
];
environment.systemPackages = with pkgs; [ dropbox dropbox-cli ];
networking.firewall = {
allowedTCPPorts = [ 17500 ];

View File

@@ -0,0 +1,38 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ oranchelo-icon-theme nerdfonts pass xclip ];
xsession.initExtra = "setxkbmap de"; # rofi pass needs this to be set
programs.rofi = {
enable = true;
terminal = "${pkgs.alacritty}/bin/alacritty";
theme = ./theme.rafi;
extraConfig = {
mode = "run,drun,window,ssh,network";
icon-theme = "Oranchelo";
show-icons = true;
drun-display-format = "{icon} {name}";
location = 0;
disable-history = false;
hide-scrollbar = true;
display-drun = " Apps ";
display-run = " Run ";
display-window = " Window";
display-ssh = " SSH";
sidebar-mode = true;
};
pass = {
enable = true;
extraConfig = ''
EDITOR='rofi-sensible-terminal -e vim'
clibpoard_backend=xclip
clip=clipboard
password_length=32
default_user="$\{ROFI_PASS_DEFAULT_USER-$(whoami)\}"
'';
};
};
}