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

105 lines
2.2 KiB
Nix

{ config, ... }:
let
statusCmd = "i3status-rs ~/.config/i3status.toml";
in {
home-manager.users.mat = { pkgs, lib, ... }: {
home = {
sessionVariables = {
BROWSER = "firefox";
TERMINAL = "kitty";
};
packages = with pkgs; [
# command line utilities
asuka
bottom
du-dust
fzy
httpie
imagemagick
jq
procs
unrar
# graphical applications
deluge
discord
(dunst.override { dunstify = true; })
enpass
fractal
firefox
kitty
signal-desktop
slack
# steam
vlc
xfce.thunar
xfce.thunar-archive-plugin
# graphical utilities
clipmenu
clipnotify
dmenu # needed for clipmenu
gnome3.gnome-disk-utility
i3status-rust
libappindicator
libnotify
lxappearance
rofi
xclip
];
file = import ../hm-configs/files.nix;
};
programs = {
alacritty = {
enable = false;
settings = {
font = {
normal.family = "Fira Code";
size = 10.5;
};
};
};
feh.enable = true;
firefox.enable = true;
fish = import ../hm-configs/fish.nix { inherit pkgs; };
jq.enable = true;
rofi = {
enable = true;
font = "Fira Code 14";
lines = 10;
location = "center";
theme = "~/.config/rofi/theme.rasi";
};
ssh = {
enable = true;
matchBlocks = {
"pi".hostname = "192.168.1.165";
"gagarin" = {
hostname = "192.168.1.246";
forwardAgent = true;
};
"mir".hostname = "138.197.58.58";
"soviet".hostname = "soviet.circumlunar.space";
};
};
vscode = import ../hm-configs/vscode.nix { inherit pkgs; };
};
services = {
redshift = {
enable = true;
provider = "geoclue2";
};
};
xsession = {
enable = true;
scriptPath = ".hm-xsession";
windowManager = {
i3 = import ../hm-configs/i3.nix { inherit lib statusCmd; };
awesome = { enable = false; };
};
};
};
}