nixcfg/aly.nix

151 lines
3.8 KiB
Nix
Raw Normal View History

{
inputs,
config,
pkgs,
lib,
...
}: {
imports = [./homeManagerModules];
home.username = "aly";
home.homeDirectory = "/home/aly";
2024-05-03 11:03:50 -04:00
home.stateVersion = "24.05";
programs.home-manager.enable = true;
home.packages = with pkgs; [
2024-05-09 13:47:12 -04:00
bitwarden
browsh
curl
2024-04-18 15:48:29 -04:00
fractal
gh
git
gnome.file-roller
(google-chrome.override {
commandLineArgs = [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];
})
2024-04-18 15:48:29 -04:00
obsidian
python3
ruby
trayscale
wget
xfce.xfce4-taskmanager
zoom-us
];
alyraffauf = {
services.syncthing.enable = false;
2024-04-20 21:41:11 -04:00
desktop = {
2024-05-05 22:00:46 -04:00
defaultApps.enable = true;
2024-04-20 21:41:11 -04:00
hyprland = {
enable = true;
2024-05-04 20:40:13 -04:00
hyprpaper.randomWallpaper = false;
2024-04-20 21:41:11 -04:00
};
sway = {
enable = true;
randomWallpaper = true;
};
theme = {
enable = true;
gtk = {
name = "Catppuccin-Frappe-Compact-Mauve-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["mauve"];
size = "compact";
variant = "frappe";
tweaks = ["normal"];
};
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
flavor = "frappe";
accent = "mauve";
};
};
cursorTheme = {
name = "Catppuccin-Frappe-Dark-Cursors";
size = 24;
package = pkgs.catppuccin-cursors.frappeDark;
};
font = {
2024-05-12 21:32:57 -04:00
name = "NotoSans Nerd Font";
size = 11;
package = pkgs.nerdfonts.override {fonts = ["Noto"];};
};
terminalFont = {
2024-05-12 21:32:57 -04:00
name = "NotoSansM Nerd Font";
size = 11;
package = pkgs.nerdfonts.override {fonts = ["Noto"];};
};
colors = {
text = "#FAFAFA";
background = "#232634";
primary = "#CA9EE6";
secondary = "#99D1DB";
inactive = "#626880";
shadow = "#1A1A1A";
};
wallpaper = "${config.xdg.dataHome}/backgrounds/jr-korpa-9XngoIpxcEo-unsplash.jpg";
};
};
apps = {
alacritty.enable = true;
firefox.enable = true;
bash.enable = true;
emacs.enable = true;
eza.enable = true;
2024-05-04 07:02:48 -04:00
fastfetch.enable = true;
fzf.enable = true;
neofetch.enable = true;
neovim.enable = true;
tmux.enable = true;
2024-04-30 20:06:14 -04:00
chromium.enable = true;
tauon.enable = true;
thunderbird.enable = true;
vsCodium.enable = true;
webCord.enable = true;
};
scripts = {
pp-adjuster.enable = true;
};
};
2024-05-02 21:51:23 -04:00
2024-05-02 22:03:13 -04:00
programs.git = {
enable = true;
userName = "Aly Raffauf";
userEmail = "aly@raffauflabs.com";
};
wayland.windowManager.sway.config.assigns = {
2024-04-24 18:45:13 -04:00
"workspace 1: web" = [{app_id = "firefox";}];
"workspace 2: code" = [{app_id = "codium-url-handler";}];
2024-04-24 18:49:58 -04:00
"workspace 3: chat" = [{app_id = "org.gnome.Fractal";} {app_id = "WebCord";}];
2024-05-02 22:03:13 -04:00
"workspace 4: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";}];
2024-04-25 21:02:20 -04:00
"workspace 10: zoom" = [{class = "zoom";} {app_id = "Zoom";}];
};
2024-05-12 21:32:57 -04:00
wayland.windowManager.hyprland.extraConfig = ''
# Workspace - Browser
workspace = 1,defaultName:web
workspace = 2,defaultName:code
# windowrulev2 = workspace name:browser,class:(firefox)
windowrulev2 = workspace 1,class:(firefox)
# Workspace - Coding
windowrulev2 = workspace 2,class:(codium-url-handler)
# Workspace - Zoom
windowrulev2 = workspace name:zoom,class:(zoom)
# Workspace - Chrome
windowrulev2 = workspace 4,class:(google-chrome)
# Scratchpad Magic
windowrulev2 = workspace special:magic,class:(org.gnome.Fractal)
windowrulev2 = workspace special:magic,class:(WebCord)
'';
}