nix-config/users/patrick.nix

68 lines
1.2 KiB
Nix
Raw Normal View History

2023-01-21 17:30:50 +01:00
{
config,
pkgs,
...
}: {
2023-01-22 20:43:10 +01:00
imports = [
2023-02-10 18:44:07 +01:00
common/programs/kitty.nix
2023-03-08 14:11:46 +01:00
common/graphical/hyprland.nix
#common/programs/polybar.nix
2023-02-10 18:44:07 +01:00
common/programs/rofi.nix
#common/programs/spotify.nix
#common/graphical/herbstluftwm.nix
#common/graphical/autorandr.nix
2023-03-12 05:55:04 +01:00
#common/touchegg-module.nix
#common/touchegg-settings.nix
2023-01-22 20:43:10 +01:00
];
2023-01-21 17:30:50 +01:00
home = {
packages = with pkgs; [
thunderbird
discord
bitwarden
nextcloud-client
signal-desktop
chromium
2023-02-08 19:52:31 +01:00
xdragon
xournalpp
2023-02-10 18:44:07 +01:00
zathura
pinentry
arandr
feh
xclip
2023-03-08 08:12:36 +01:00
acpilight
2023-01-21 17:30:50 +01:00
];
2023-02-10 18:44:07 +01:00
sessionVariables = {
# Firefox touch support
"MOZ_USE_XINPUT2" = 1;
# Firefox Hardware render
"MOZ_WEBRENDER" = 1;
};
2023-01-21 17:30:50 +01:00
};
2023-01-21 17:46:50 +01:00
2023-01-21 21:56:47 +01:00
programs.firefox = {
enable = true;
profiles.patrick = {
userChrome = ''
#TabsToolbar {
visibility: collapse;
}
2023-01-21 21:56:47 +01:00
#titlebar {
margin-bottom: !important;
}
2023-01-21 21:56:47 +01:00
#titlebar-buttonbox {
height: 32px !important;
}
'';
};
2023-01-21 21:56:47 +01:00
};
# notification are nice to have
services.dunst.enable = true;
2023-01-21 17:30:50 +01:00
nixpkgs.config.allowUnfree = true;
xsession.enable = true;
}