209 lines
4.7 KiB
Nix
209 lines
4.7 KiB
Nix
{ config, inputs, pkgs, stablePkgs, ... }:
|
|
|
|
{
|
|
|
|
nixpkgs.config = { allowUnfree = true; };
|
|
|
|
nixpkgs.overlays = [
|
|
# (self: super: {
|
|
# # use lf fork with support for sixel graphics
|
|
# lf = super.lf.overrideAttrs (old: {
|
|
# src = super.fetchFromGitHub {
|
|
# owner = "horriblename";
|
|
# repo = "lf";
|
|
# rev = "8997e5b03772d5628ed6a490777048581d978674";
|
|
# sha256 = "rJq2Tv3py6HvRI1O2odTdGb1ksdijhO3FcJsPj5dm34=";
|
|
# };
|
|
# });
|
|
# })
|
|
|
|
(self: super: {
|
|
kile-wl = super.rustPlatform.buildRustPackage rec {
|
|
pname = "kile-wl";
|
|
version = "2023-08-23";
|
|
src = super.fetchFromGitLab {
|
|
owner = "snakedye";
|
|
repo = "kile";
|
|
rev = "c24208761d04e0a74d203fc1dcd2f7fed68da388";
|
|
sha256 = "sha256-4iclNVd7nm6LkgvsHwWaWyi1bZL/A+bbT5OSXn70bLs=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = src + "/Cargo.lock";
|
|
outputHashes = {
|
|
"kilexpr-0.1.0" =
|
|
"sha256-Bw6vYtzhheAJ8NLQtr3gLjZ9/5ajuABURRYDnVF9W1Y=";
|
|
};
|
|
};
|
|
|
|
meta = with super.lib; {
|
|
description = "A tiling layout generator for river";
|
|
homepage = "https://gitlab.com/snakedye/kile";
|
|
license = licenses.mit;
|
|
platforms =
|
|
platforms.linux; # It's meant for river, a wayland compositor
|
|
mainProgram = "kile";
|
|
};
|
|
};
|
|
})
|
|
|
|
(self: super: {
|
|
ristate = super.ristate.overrideAttrs (old: rec {
|
|
src = super.fetchFromGitLab {
|
|
owner = "snakedye";
|
|
repo = "ristate";
|
|
rev = "92e989f26cadac69af1208163733e73b4cf447da";
|
|
sha256 = "sha256-6slH7R6kbSXQBd7q38oBEbngaCbFv0Tyq34VB1PAfhM=";
|
|
};
|
|
cargoDeps = old.cargoDeps.overrideAttrs (super.lib.const {
|
|
inherit src;
|
|
outputHash = "sha256-fOo9C0dNL9dYy5wXq/yEDqOV0OhOTEY42XK8ShpQh6k=";
|
|
});
|
|
});
|
|
})
|
|
|
|
# These packages seem to be broken on the unstable channel, so I'm using
|
|
# the stable versions for now. Currently this is not happening for any
|
|
# package that I use :)
|
|
];
|
|
|
|
# Let Home Manager install and manage itself.
|
|
# programs.home-manager.enable = true;
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
# paths it should manage.
|
|
home.username = "rilla";
|
|
home.homeDirectory = "/home/rilla";
|
|
|
|
imports = [
|
|
# ./minidisc
|
|
../modules/arduino
|
|
../modules/browsers
|
|
../modules/cheat
|
|
../modules/dav
|
|
../modules/drawterm
|
|
../modules/fonts
|
|
../modules/git
|
|
../modules/gotify
|
|
../modules/gpg
|
|
../modules/idasen
|
|
../modules/lf
|
|
../modules/mail
|
|
../modules/maker
|
|
../modules/mpd
|
|
../modules/msg
|
|
../modules/music
|
|
../modules/neovim
|
|
../modules/pass
|
|
../modules/rss
|
|
../modules/snapcast
|
|
../modules/sound
|
|
../modules/ssh
|
|
../modules/syncthing
|
|
../modules/tmux
|
|
../modules/vitetris
|
|
../modules/wallets
|
|
../modules/wine
|
|
../modules/xdg
|
|
../modules/zsh
|
|
];
|
|
|
|
home.sessionVariables = {
|
|
EDITOR = "${pkgs.neovim}/bin/nvim";
|
|
VISUAL = "${pkgs.neovim}/bin/nvim";
|
|
BROWSER = "${pkgs.firefox}/bin/firefox";
|
|
# OPENER = "todo"; # todo
|
|
TERMINAL = "${pkgs.alacritty}/bin/alacritty";
|
|
CM_LAUNCHER = "rofi"; # for clipmenu
|
|
LEDGER_FILE = "${config.home.homeDirectory}/finance/2021.journal";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
# calibre
|
|
R
|
|
acpi
|
|
android-tools
|
|
ansible
|
|
bind.dnsutils
|
|
# pyenv
|
|
docker-compose
|
|
file
|
|
gimp
|
|
gnumake
|
|
html-tidy
|
|
htop
|
|
inetutils # telnet
|
|
j2cli
|
|
john
|
|
jq
|
|
killall
|
|
kubectl
|
|
libnotify
|
|
libreoffice
|
|
lxqt.pcmanfm-qt
|
|
mosh
|
|
mpv
|
|
neofetch
|
|
pynitrokey
|
|
networkmanagerapplet
|
|
nextcloud-client
|
|
pandoc
|
|
podman-compose
|
|
pv
|
|
ripgrep
|
|
sassc
|
|
screen
|
|
shellcheck
|
|
signify
|
|
unzip
|
|
vagrant
|
|
virt-manager
|
|
virtiofsd
|
|
wget
|
|
];
|
|
|
|
# services.kdeconnect = {
|
|
# enable = true;
|
|
# indicator = true;
|
|
# };
|
|
|
|
programs.bat = {
|
|
enable = true;
|
|
config = { theme = "gruvbox-dark"; };
|
|
};
|
|
|
|
programs.fzf = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
# defaultOptions = [
|
|
# "--preview --preview 'bat --color=always --style=header,grid --line-range :300 {}'"
|
|
# ];
|
|
tmux.enableShellIntegration = true;
|
|
};
|
|
|
|
services.gnome-keyring = {
|
|
enable = true;
|
|
components = [ "secrets" ];
|
|
};
|
|
|
|
services.nextcloud-client = {
|
|
enable = true;
|
|
startInBackground = true;
|
|
};
|
|
|
|
dconf.settings = {
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
"autoconnect" = [ "qemu:///system" ];
|
|
"uris" = [ "qemu:///system" ];
|
|
};
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
|
|
home.stateVersion = "22.11";
|
|
}
|