tvl-depot/users/aspen/system/home/platforms/linux.nix

91 lines
1.4 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
depot = config.lib.depot;
in
{
imports = [
../modules/alacritty.nix
../modules/alsi.nix
../modules/development.nix
../modules/emacs.nix
../modules/email.nix
../modules/firefox.nix
../modules/games.nix
../modules/shell.nix
../modules/tarsnap.nix
../modules/vim.nix
];
xsession.enable = true;
home.packages = with pkgs; [
# Desktop stuff
arandr
firefox
feh
chromium
xclip
xorg.xev
picom
peek
signal-desktop
apvlv # pdf viewer
vlc
irssi
gnutls
pandoc
barrier
depot.tools.nsfv-setup
gimp # TODO(grfn): use glimpse once it build again
# System utilities
powertop
usbutils
pciutils
gdmap
lsof
tree
nmap
2020-06-15 17:54:07 +02:00
iftop
# Security
gnupg
keybase
openssl
yubikey-manager
# TODO(grfn): lagging behind yubikey-manager and doesn't support cryptography >= 39
# yubikey-manager-qt
# Spotify...etc
spotify
playerctl
];
services.redshift = {
enable = true;
provider = "geoclue2";
};
services.pasystray.enable = true;
services.gpg-agent = {
enable = true;
chore(3p/sources): bump channels & overlays (2023-12-29) * all: update wasm-bindgen to 0.2.89 in WASM projects * users/grfn: explicitly set pinentry for gpg-agent * 3p/crate2nix: drop patches that were merged upstream * 3p/rust-crates: fix one more package name that was broken by crates.io * 3p/overlays: bump telega backend to new required version The update for agenix has been dropped. It caused strange build errors with messages like these: patching script interpreter paths in /nix/store/0g0wpa3vxfb4w461s6ny3s1wr08faj73-agenix-0.15.0 /nix/store/0g0wpa3vxfb4w461s6ny3s1wr08faj73-agenix-0.15.0/bin/agenix: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash" stripping (with command strip and flags -S -p) in /nix/store/0g0wpa3vxfb4w461s6ny3s1wr08faj73-agenix-0.15.0/bin Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing agenix version: 0.15.0 error: creating directory '/nix/var': Permission denied There is no rule for secret1.age in ./secrets.nix. /nix/store/d4jf1cbbk494zwgbqz31pxgigpsbh6w2-stdenv-linux/setup: line 138: test: =: unary operator expected /nix/store/d4jf1cbbk494zwgbqz31pxgigpsbh6w2-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context builder for '/nix/store/0ivvf44hxy0zv4gg8nvchdkp895xw5ri-agenix-0.15.0.drv' failed with exit code 2 I can't be bothered to deal with that right now. Change-Id: Ia052af0d97dbe9ef0c0d4f3e2214ac00ca8645a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10458 Reviewed-by: aspen <root@gws.fyi> Tested-by: BuildkiteCI
2023-12-27 10:29:50 +01:00
# previous default has been removed from nixpkgs
pinentryFlavor = "qt";
};
programs.zsh.initExtra = ''
[[ ! $IN_NIX_SHELL && "$TERM" != "dumb" ]] && alsi -l
'';
services.lorri.enable = true;
services.dropbox = {
enable = true;
};
}