2024-05-14 19:21:19 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
mods,
|
|
|
|
...
|
|
|
|
}:
|
2024-03-13 11:11:16 +01:00
|
|
|
{
|
2024-03-17 11:31:42 +01:00
|
|
|
imports = with mods.global; [ sway ];
|
2024-03-28 10:44:37 +01:00
|
|
|
|
2024-03-13 11:11:16 +01:00
|
|
|
users.users.catvayor = {
|
|
|
|
isNormalUser = true;
|
2024-05-14 19:21:19 +02:00
|
|
|
extraGroups = [
|
|
|
|
"wheel"
|
|
|
|
"usb"
|
|
|
|
"networkmanager"
|
|
|
|
"video"
|
|
|
|
"audio"
|
|
|
|
"libvirtd"
|
|
|
|
];
|
2024-03-13 11:11:16 +01:00
|
|
|
packages = with pkgs; [
|
|
|
|
tree
|
2024-05-14 19:21:19 +02:00
|
|
|
nixfmt-rfc-style
|
2024-03-13 11:11:16 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
services.gvfs.enable = true;
|
|
|
|
programs.thunar.enable = true;
|
|
|
|
programs.thunar.plugins = with pkgs.xfce; [
|
|
|
|
thunar-volman
|
|
|
|
thunar-archive-plugin
|
|
|
|
thunar-media-tags-plugin
|
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.catvayor = {
|
2024-05-14 19:21:19 +02:00
|
|
|
imports = with mods.home; [
|
|
|
|
sway
|
|
|
|
ssh
|
|
|
|
mail
|
|
|
|
];
|
2024-03-13 11:11:16 +01:00
|
|
|
|
2024-07-05 18:24:14 +02:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "catvayor";
|
|
|
|
userEmail = "catvayor@katvayor.net";
|
|
|
|
signing = {
|
|
|
|
key = null;
|
|
|
|
signByDefault = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-13 11:11:16 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
wl-clipboard
|
|
|
|
firefox
|
|
|
|
pavucontrol
|
|
|
|
libnotify
|
|
|
|
zathura
|
|
|
|
|
|
|
|
discord
|
|
|
|
signal-desktop
|
|
|
|
mattermost-desktop
|
|
|
|
keepassxc
|
|
|
|
];
|
|
|
|
|
2024-05-14 19:21:19 +02:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = lib.importTOML ./cat-alacritty.toml;
|
|
|
|
};
|
2024-03-13 11:11:16 +01:00
|
|
|
programs.thunderbird.enable = true;
|
2024-05-14 19:21:19 +02:00
|
|
|
programs.thunderbird.profiles = { };
|
2024-03-13 11:11:16 +01:00
|
|
|
services.mako = {
|
|
|
|
enable = true;
|
|
|
|
width = 400;
|
|
|
|
height = 200;
|
|
|
|
maxVisible = 5;
|
|
|
|
backgroundColor = "#8C3586";
|
|
|
|
textColor = "#F4F40E";
|
|
|
|
borderColor = "#F4F40E";
|
|
|
|
defaultTimeout = 5000;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2024-05-14 19:21:19 +02:00
|
|
|
theme = {
|
2024-11-08 12:28:49 +01:00
|
|
|
package = pkgs.arc-theme.overrideAttrs (o: {
|
|
|
|
postInstall =
|
|
|
|
(o.postInstall or "")
|
|
|
|
+ ''
|
|
|
|
pushd $out/share/themes/Arc-Dark/gtk-4.0/
|
|
|
|
. <(gresource list gtk.gresource |\
|
|
|
|
sed 's/^\(.*\/arc-theme\/\)\(.*\)$/mkdir -p $(dirname ".\/\2");\
|
|
|
|
gresource extract gtk.gresource \"\1\2\" > \2/')
|
|
|
|
substituteInPlace gtk.css\
|
|
|
|
--replace-fail 'resource:///org/gnome/arc-theme' "file://$(realpath .)"
|
|
|
|
popd
|
|
|
|
'';
|
|
|
|
});
|
2024-05-14 19:21:19 +02:00
|
|
|
name = "Arc-Dark";
|
|
|
|
};
|
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.arc-icon-theme;
|
|
|
|
name = "Arc";
|
|
|
|
};
|
|
|
|
cursorTheme = {
|
|
|
|
package = pkgs.breeze-hacked-cursor-theme;
|
|
|
|
name = "Breeze_Hacked";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
home.pointerCursor = {
|
|
|
|
package = pkgs.breeze-hacked-cursor-theme;
|
|
|
|
name = "Breeze_Hacked";
|
2024-03-13 11:11:16 +01:00
|
|
|
};
|
|
|
|
xdg.enable = true;
|
|
|
|
};
|
|
|
|
}
|