2022-03-14 09:59:06 +01:00
|
|
|
{ config, inputs, pkgs, stablePkgs, ... }:
|
2022-01-28 15:11:30 +01:00
|
|
|
|
2022-02-23 12:40:21 +01:00
|
|
|
{
|
2023-01-29 20:00:03 +01:00
|
|
|
|
2023-05-26 15:12:01 +02:00
|
|
|
nixpkgs.config = { allowUnfree = true; };
|
|
|
|
|
2023-01-29 20:00:03 +01:00
|
|
|
nixpkgs.overlays = [
|
2023-05-26 15:12:01 +02:00
|
|
|
# (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=";
|
|
|
|
# };
|
|
|
|
# });
|
|
|
|
# })
|
2023-02-03 17:41:33 +01:00
|
|
|
|
|
|
|
(self: super: {
|
2023-06-04 11:34:44 +02:00
|
|
|
kile-wl = super.rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kile-wl";
|
2023-08-01 12:08:35 +02:00
|
|
|
version = "2023-08-23";
|
2023-02-03 17:41:33 +01:00
|
|
|
src = super.fetchFromGitLab {
|
|
|
|
owner = "snakedye";
|
|
|
|
repo = "kile";
|
2023-08-01 12:08:35 +02:00
|
|
|
rev = "c24208761d04e0a74d203fc1dcd2f7fed68da388";
|
|
|
|
sha256 = "sha256-4iclNVd7nm6LkgvsHwWaWyi1bZL/A+bbT5OSXn70bLs=";
|
2023-06-04 11:34:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoLock = {
|
|
|
|
lockFile = src + "/Cargo.lock";
|
|
|
|
outputHashes = {
|
|
|
|
"kilexpr-0.1.0" =
|
2023-07-21 18:13:19 +02:00
|
|
|
"sha256-Bw6vYtzhheAJ8NLQtr3gLjZ9/5ajuABURRYDnVF9W1Y=";
|
2023-06-04 11:34:44 +02:00
|
|
|
};
|
2023-02-03 17:41:33 +01:00
|
|
|
};
|
|
|
|
|
2023-06-04 11:34:44 +02:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
2023-02-03 17:41:33 +01:00
|
|
|
|
2023-06-04 11:34:44 +02:00
|
|
|
# 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 :)
|
2023-01-29 20:00:03 +01:00
|
|
|
];
|
|
|
|
|
2022-01-28 15:11:30 +01:00
|
|
|
# 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 = [
|
|
|
|
./arduino
|
2023-07-23 16:53:16 +02:00
|
|
|
# ./barrier
|
2022-01-28 15:11:30 +01:00
|
|
|
./browsers
|
2022-02-21 18:22:19 +01:00
|
|
|
./cheat
|
2022-01-28 15:11:30 +01:00
|
|
|
./dav
|
2023-02-18 17:59:03 +01:00
|
|
|
./drawterm
|
2022-01-28 15:11:30 +01:00
|
|
|
./fonts
|
|
|
|
./git
|
|
|
|
./gotify
|
|
|
|
./gpg
|
|
|
|
./idasen
|
2022-03-14 15:20:17 +01:00
|
|
|
./lf
|
2022-01-28 15:11:30 +01:00
|
|
|
./mail
|
2022-02-13 15:55:35 +01:00
|
|
|
./maker
|
2022-11-22 17:44:57 +01:00
|
|
|
# ./minidisc
|
2022-01-28 15:11:30 +01:00
|
|
|
./mpd
|
|
|
|
./msg
|
|
|
|
./music
|
|
|
|
./neovim
|
2023-06-30 12:22:33 +02:00
|
|
|
#./nsxiv
|
2022-01-28 15:11:30 +01:00
|
|
|
./pass
|
|
|
|
./rss
|
|
|
|
./snapcast
|
|
|
|
./sound
|
|
|
|
./ssh
|
2022-05-25 12:08:15 +02:00
|
|
|
./syncthing
|
2022-01-28 15:11:30 +01:00
|
|
|
./tmux
|
|
|
|
./vitetris
|
|
|
|
./wallets
|
2022-04-11 10:00:47 +02:00
|
|
|
./wine
|
2022-03-15 08:20:18 +01:00
|
|
|
./xdg
|
2022-01-28 15:11:30 +01:00
|
|
|
./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; [
|
2022-10-23 16:39:02 +02:00
|
|
|
# calibre
|
2022-01-28 15:11:30 +01:00
|
|
|
R
|
|
|
|
acpi
|
|
|
|
android-tools
|
|
|
|
ansible
|
|
|
|
bind.dnsutils
|
2023-05-26 15:12:01 +02:00
|
|
|
# pyenv
|
2022-01-28 15:11:30 +01:00
|
|
|
docker-compose
|
|
|
|
file
|
|
|
|
gimp
|
|
|
|
gnumake
|
2022-01-31 11:03:32 +01:00
|
|
|
html-tidy
|
2022-01-28 15:11:30 +01:00
|
|
|
htop
|
2022-03-15 14:29:23 +01:00
|
|
|
inetutils # telnet
|
2022-01-31 11:03:32 +01:00
|
|
|
j2cli
|
2022-11-22 17:13:15 +01:00
|
|
|
john
|
2022-01-28 15:11:30 +01:00
|
|
|
jq
|
|
|
|
killall
|
2022-10-23 16:39:02 +02:00
|
|
|
kubectl
|
2022-01-28 15:11:30 +01:00
|
|
|
libnotify
|
|
|
|
libreoffice
|
|
|
|
lxqt.pcmanfm-qt
|
|
|
|
mosh
|
|
|
|
mpv
|
|
|
|
neofetch
|
2023-05-26 15:12:01 +02:00
|
|
|
pynitrokey
|
2022-01-28 15:11:30 +01:00
|
|
|
networkmanagerapplet
|
|
|
|
nextcloud-client
|
|
|
|
pandoc
|
2023-02-06 16:55:19 +01:00
|
|
|
podman-compose
|
2022-01-28 15:11:30 +01:00
|
|
|
pv
|
|
|
|
ripgrep
|
2022-01-31 11:03:32 +01:00
|
|
|
sassc
|
2023-05-26 15:12:01 +02:00
|
|
|
screen
|
2022-03-15 14:29:23 +01:00
|
|
|
shellcheck
|
2022-01-28 15:11:30 +01:00
|
|
|
signify
|
2023-02-06 16:55:19 +01:00
|
|
|
unzip
|
2023-05-26 15:12:01 +02:00
|
|
|
vagrant
|
2022-01-28 15:11:30 +01:00
|
|
|
virt-manager
|
2023-02-06 16:55:19 +01:00
|
|
|
virtiofsd
|
2022-01-28 15:11:30 +01:00
|
|
|
wget
|
|
|
|
];
|
|
|
|
|
2022-09-26 16:54:28 +02:00
|
|
|
# services.kdeconnect = {
|
|
|
|
# enable = true;
|
|
|
|
# indicator = true;
|
|
|
|
# };
|
2022-01-28 15:11:30 +01:00
|
|
|
|
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
|
2023-07-09 17:05:33 +02:00
|
|
|
services.nextcloud-client = {
|
|
|
|
enable = true;
|
|
|
|
startInBackground = true;
|
|
|
|
};
|
2022-01-28 15:11:30 +01:00
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
|
|
"autoconnect" = [ "qemu:///system" ];
|
|
|
|
"uris" = [ "qemu:///system" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-08-17 15:48:48 +02:00
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-01-07 20:28:54 +01:00
|
|
|
home.stateVersion = "22.11";
|
2022-01-28 15:11:30 +01:00
|
|
|
}
|