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
|
|
|
{
|
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";
|
|
|
|
|
2022-03-14 09:59:06 +01:00
|
|
|
nixpkgs.overlays = [ (self: super: { alot = stablePkgs.alot; }) ];
|
|
|
|
|
2022-01-28 15:11:30 +01:00
|
|
|
imports = [
|
|
|
|
./arduino
|
|
|
|
./barrier
|
|
|
|
./browsers
|
2022-02-21 18:22:19 +01:00
|
|
|
./cheat
|
2022-01-28 15:11:30 +01:00
|
|
|
./dav
|
|
|
|
./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-01-28 15:11:30 +01:00
|
|
|
./minidisc
|
|
|
|
./mpd
|
|
|
|
./msg
|
|
|
|
./music
|
|
|
|
./neovim
|
|
|
|
./pass
|
|
|
|
./rss
|
|
|
|
./snapcast
|
|
|
|
./sound
|
|
|
|
./ssh
|
|
|
|
./tmux
|
|
|
|
./vitetris
|
|
|
|
./wallets
|
2022-03-15 08:20:18 +01:00
|
|
|
./xdg
|
2022-01-28 15:11:30 +01:00
|
|
|
./zsh
|
|
|
|
];
|
|
|
|
|
|
|
|
home.persistence = {
|
|
|
|
"/persist/system/${config.home.homeDirectory}" = {
|
|
|
|
directories = [
|
|
|
|
".abook"
|
|
|
|
".bitmonero"
|
|
|
|
".cache"
|
|
|
|
".config/Nextcloud"
|
|
|
|
".config/chromium"
|
2022-02-01 13:33:46 +01:00
|
|
|
".config/kdeconnect"
|
2022-01-28 15:11:30 +01:00
|
|
|
".config/whatsapp-for-linux"
|
|
|
|
".gnupg/private-keys-v1.d"
|
|
|
|
".local/share/keyrings"
|
|
|
|
".local/share/mpd"
|
|
|
|
".local/share/webkitgtk"
|
|
|
|
".mozilla"
|
2022-02-23 12:40:21 +01:00
|
|
|
".librewolf"
|
2022-01-28 15:11:30 +01:00
|
|
|
".newsboat"
|
|
|
|
".vdirsyncer"
|
|
|
|
];
|
|
|
|
files = [
|
|
|
|
".gnupg/pubring.kbx"
|
|
|
|
".gnupg/trustdb.gpg"
|
|
|
|
".mailsynclastrun"
|
|
|
|
".ssh/known_hosts"
|
|
|
|
".zsh_history"
|
|
|
|
];
|
|
|
|
allowOther = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
"/persist/user/${config.home.homeDirectory}" = {
|
|
|
|
directories = [
|
|
|
|
".config/Signal"
|
|
|
|
".config/Element"
|
2022-03-23 19:16:05 +01:00
|
|
|
".config/SuperCollider"
|
|
|
|
".local/share/SuperCollider"
|
2022-01-28 15:11:30 +01:00
|
|
|
".local/share/TelegramDesktop"
|
|
|
|
".local/share/dino"
|
|
|
|
".local/share/Bisq"
|
|
|
|
".password-store"
|
|
|
|
".walletwasabi"
|
|
|
|
"Calendars"
|
|
|
|
"Contacts"
|
|
|
|
"Documents"
|
|
|
|
"Downloads"
|
|
|
|
"Images"
|
|
|
|
"Maildir"
|
|
|
|
"Monero"
|
|
|
|
"Nextcloud"
|
|
|
|
"code"
|
|
|
|
"configs"
|
|
|
|
"misc"
|
|
|
|
"workspace"
|
|
|
|
];
|
|
|
|
files = [ ];
|
|
|
|
allowOther = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
R
|
|
|
|
acpi
|
|
|
|
android-tools
|
|
|
|
ansible
|
|
|
|
bind.dnsutils
|
|
|
|
calibre
|
|
|
|
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-01-28 15:11:30 +01:00
|
|
|
jq
|
|
|
|
killall
|
|
|
|
libnotify
|
|
|
|
libreoffice
|
|
|
|
lxqt.pcmanfm-qt
|
|
|
|
mosh
|
|
|
|
mpv
|
|
|
|
neofetch
|
|
|
|
networkmanagerapplet
|
|
|
|
nextcloud-client
|
|
|
|
pandoc
|
|
|
|
pv
|
|
|
|
ripgrep
|
2022-01-31 11:03:32 +01:00
|
|
|
sassc
|
2022-03-15 14:29:23 +01:00
|
|
|
shellcheck
|
2022-01-28 15:11:30 +01:00
|
|
|
signify
|
|
|
|
sxiv
|
|
|
|
virt-manager
|
|
|
|
wget
|
|
|
|
];
|
|
|
|
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
|
2022-01-31 13:06:18 +01: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" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
services.nextcloud-client = {
|
|
|
|
enable = true;
|
|
|
|
startInBackground = true;
|
|
|
|
};
|
|
|
|
|
2022-01-31 13:06:18 +01:00
|
|
|
services.network-manager-applet.enable = true;
|
|
|
|
|
2022-01-28 15:11:30 +01:00
|
|
|
dconf.settings = {
|
|
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
|
|
"autoconnect" = [ "qemu:///system" ];
|
|
|
|
"uris" = [ "qemu:///system" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.stateVersion = "21.11";
|
|
|
|
}
|