nixos-configs/nixos/cfg/home-manager.nix

142 lines
3.2 KiB
Nix
Raw Normal View History

{ config, ... }:
{
imports =
[
<home-manager/nixos>
];
home-manager.useGlobalPkgs = true;
programs.dconf.enable = true;
home-manager.users.matt = { config, pkgs, lib, ... }: let
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
hyprland = (import flake-compat {
# I use release version for plugin support
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/v0.26.0.tar.gz";
}).defaultNix;
in {
programs.waybar = {
enable = true;
package = pkgs.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
});
};
2023-06-15 23:09:12 -04:00
home.packages = with pkgs; [
2023-06-18 17:57:18 -04:00
httrack
lisgd
zeal
2023-06-15 23:09:12 -04:00
acpi
xorg.xhost # for gparted?
libsForQt5.dolphin # get plugins
libsForQt5.kio-admin # doesn't work
libreoffice-fresh # TODO: add spelling stuff
neofetch
photoqt
progress
python311Packages.pyclip
python311Packages.pyclip
tlp
wl-color-picker # add bind for this in hyprland
xclip
xdg-utils
zathura # set default
pavucontrol # TODO: open on left click
gimp-with-plugins
gparted # doesn't open without sudo
jdk8_headless
bluez-tools
spotify
#spotifywm # fails to build
spotify-tray # doesn't open
spicetify-cli # TODO
vlc
discord
spotify
libsForQt5.qtstyleplugin-kvantum
2023-06-15 23:09:12 -04:00
libsForQt5.breeze-icons
alacritty
brightnessctl
pulseaudio
alsa-utils
wget
firefox
tree
mlocate
gcc
2023-06-15 23:09:12 -04:00
mosh
rsync
tmux
git
git-lfs
killall
htop
fzf
jq
ripgrep
hyprpaper
python3
rofi-wayland
wev
networkmanagerapplet
nextcloud-client
tutanota-desktop
galaxy-buds-client
gnome.gnome-calculator
swaynotificationcenter
#swayosd
(with import <nixpkgs> {}; callPackage ./swayosd.nix {})
swayidle
wl-clipboard
cliphist
polkit-kde-agent
gtklock
gtklock-playerctl-module
gtklock-powerbar-module
grim
slurp
swappy
gnome.seahorse
neovim
fontfor
qt5ct
lxappearance
gnome3.adwaita-icon-theme
xorg.xcursorthemes
imagemagick
usbutils
catppuccin-plymouth
evtest
squeekboard
glib
appimage-run
];
home.sessionVariables = {
XDG_DATA_DIRS = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:\$XDG_DATA_DIRS";
};
imports = [
hyprland.homeManagerModules.default
];
wayland.windowManager.hyprland = {
enable = true;
plugins = with pkgs; [
2023-06-15 18:14:03 -04:00
/nix/store/60x0zlg3fbq7nzz8249fxsb89pn541z8-hyprland-touch-gestures-0.3.0/lib/libtouch-gestures.so
];
extraConfig = ''
source = ~/.config/hypr/main.conf
env = XDG_DATA_DIRS, ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:$XDG_DATA_DIRS
'';
};
home.stateVersion = "23.05";
};
}