dotfiles.nix/users/mat-hm-laptop.nix

121 lines
2.6 KiB
Nix
Raw Normal View History

2021-01-11 03:59:20 +00:00
{ config, ... }:
let
statusCmd = "i3status-rs ~/.config/i3status.toml";
in {
home-manager.users.mat = { pkgs, lib, ... }: {
home = {
sessionVariables = {
2021-05-05 15:21:02 +00:00
BROWSER = "vivaldi";
2021-01-11 03:59:20 +00:00
TERMINAL = "kitty";
2021-05-05 15:21:02 +00:00
CM_LAUNCHER = "rofi";
2021-01-11 03:59:20 +00:00
};
packages = with pkgs; [
# command line utilities
asuka
bottom
2021-05-05 15:21:02 +00:00
dbus
2021-01-11 03:59:20 +00:00
du-dust
fzy
httpie
imagemagick
jq
2021-05-05 15:21:02 +00:00
mdcat
neofetch
2021-01-11 03:59:20 +00:00
procs
2021-01-11 04:08:19 +00:00
unrar
2021-05-05 15:21:02 +00:00
wireguard-tools
2021-01-11 03:59:20 +00:00
# graphical applications
deluge
discord
2021-05-05 15:21:02 +00:00
dunst
element-desktop
2021-01-11 03:59:20 +00:00
enpass
kitty
2021-05-05 15:21:02 +00:00
lagrange
# mullvad-vpn
okular
2021-01-11 03:59:20 +00:00
signal-desktop
slack
2021-05-05 15:21:02 +00:00
steam
steam-run-native
vivaldi
vivaldi-ffmpeg-codecs
# vivaldi-widevine
2021-01-11 03:59:20 +00:00
vlc
xfce.thunar
xfce.thunar-archive-plugin
# graphical utilities
clipmenu
clipnotify
gnome3.gnome-disk-utility
i3status-rust
libappindicator
libnotify
lxappearance
rofi
xclip
2021-05-05 15:21:02 +00:00
xdg-dbus-proxy
2021-01-11 03:59:20 +00:00
];
file = import ../hm-configs/files.nix;
};
programs = {
alacritty = {
enable = false;
settings = {
font = {
normal.family = "Fira Code";
size = 10.5;
};
};
};
feh.enable = true;
2021-05-05 15:21:02 +00:00
firefox.enable = false;
2021-01-11 03:59:20 +00:00
fish = import ../hm-configs/fish.nix { inherit pkgs; };
2021-05-05 15:21:02 +00:00
go.enable = false;
2021-01-11 03:59:20 +00:00
jq.enable = true;
rofi = {
enable = true;
font = "Fira Code 14";
lines = 10;
location = "center";
theme = "~/.config/rofi/theme.rasi";
};
ssh = {
enable = true;
matchBlocks = {
2021-05-05 15:21:02 +00:00
"pi".hostname = "192.168.1.99";
2021-01-11 05:46:25 +00:00
"gagarin" = {
2021-05-05 15:21:02 +00:00
hostname = "gagarin.local";
2021-01-11 05:46:25 +00:00
forwardAgent = true;
};
2021-01-11 03:59:20 +00:00
"soviet".hostname = "soviet.circumlunar.space";
};
};
vscode = import ../hm-configs/vscode.nix { inherit pkgs; };
};
services = {
redshift = {
enable = true;
provider = "geoclue2";
};
2021-05-05 15:21:02 +00:00
dunst = import ../hm-configs/dunst.nix;
clipmenu.enable = true;
# disabled in favor of flakes
lorri.enable = false;
2021-01-11 03:59:20 +00:00
};
2021-05-05 15:21:02 +00:00
xdg = { mime.enable = true; };
2021-01-11 03:59:20 +00:00
xsession = {
enable = true;
scriptPath = ".hm-xsession";
windowManager = {
i3 = import ../hm-configs/i3.nix { inherit lib statusCmd; };
awesome = { enable = false; };
};
};
};
}