161 lines
3.7 KiB
Nix
161 lines
3.7 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
impermanence = builtins.fetchTarball {
|
|
url = "https://github.com/nix-community/impermanence/archive/master.tar.gz";
|
|
};
|
|
|
|
in {
|
|
# 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 = [
|
|
"${impermanence}/home-manager.nix"
|
|
# ./desktop-sway
|
|
./alacritty/trantor.nix
|
|
./arduino
|
|
./barrier
|
|
./browsers
|
|
./dav
|
|
./desktop-xmonad/trantor.nix
|
|
./fonts
|
|
./git
|
|
./gotify
|
|
./gpg
|
|
./idasen
|
|
./mail
|
|
./minidisc
|
|
./mpd
|
|
./msg
|
|
./music
|
|
./neovim
|
|
./pass
|
|
./rss
|
|
./snapcast
|
|
./sound
|
|
./ssh
|
|
./theming/trantor.nix
|
|
./tmux
|
|
./vitetris
|
|
./wallets
|
|
./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";
|
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
|
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
R
|
|
acpi
|
|
android-tools
|
|
ansible
|
|
bind.dnsutils
|
|
calibre
|
|
docker-compose
|
|
file
|
|
gimp
|
|
gnumake
|
|
htop
|
|
jq
|
|
killall
|
|
libnotify
|
|
libreoffice
|
|
lxqt.pcmanfm-qt
|
|
mosh
|
|
mpv
|
|
neofetch
|
|
networkmanagerapplet
|
|
nextcloud-client
|
|
pandoc
|
|
pv
|
|
ripgrep
|
|
signify
|
|
sxiv
|
|
telnet
|
|
virt-manager
|
|
wget
|
|
];
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
services.kdeconnect.enable = 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;
|
|
};
|
|
|
|
xdg.mimeApps = {
|
|
enable = true;
|
|
defaultApplications = {
|
|
"x-scheme-handler/http" = "firefox.desktop";
|
|
"x-scheme-handler/https" = " firefox.desktop";
|
|
"x-scheme-handler/chrome" = " firefox.desktop";
|
|
"text/html" = "firefox.desktop";
|
|
"application/x-extension-htm" = "firefox.desktop";
|
|
"application/x-extension-html" = "firefox.desktop";
|
|
"application/x-extension-shtml" = "firefox.desktop";
|
|
"application/xhtml+xml" = "firefox.desktop";
|
|
"application/x-extension-xhtml" = "firefox.desktop";
|
|
"application/x-extension-xht" = "firefox.desktop";
|
|
"x-scheme-handler/tg" = "userapp-Telegram Desktop.desktop";
|
|
};
|
|
associations.added = {
|
|
"x-scheme-handler/http" = "firefox.desktop";
|
|
"x-scheme-handler/https" = " firefox.desktop";
|
|
"x-scheme-handler/chrome" = " firefox.desktop";
|
|
"text/html" = "firefox.desktop";
|
|
"application/x-extension-htm" = "firefox.desktop";
|
|
"application/x-extension-html" = "firefox.desktop";
|
|
"application/x-extension-shtml" = "firefox.desktop";
|
|
"application/xhtml+xml" = "firefox.desktop";
|
|
"application/x-extension-xhtml" = "firefox.desktop";
|
|
"application/x-extension-xht" = "firefox.desktop";
|
|
"x-scheme-handler/tg" = "userapp-Telegram Desktop.desktop";
|
|
|
|
};
|
|
};
|
|
|
|
dconf.settings = {
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
"autoconnect" = [ "qemu:///system" ];
|
|
"uris" = [ "qemu:///system" ];
|
|
};
|
|
};
|
|
|
|
home.stateVersion = "21.11";
|
|
}
|