nixcfg/homes/dustin/default.nix
Aly Raffauf c112fcd6c5
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
migrate to stylix (#90)
* flake: add stylix modules

* yank enough to make hosts build with stylix enabled

* add initial common stylix theme

* waybar: remove custom colors

* rofi: reimplement theme

* rofi: transparency fix

* rofi: remove old theme

* swayosd: use stylix colors

* remove theme.colors

* remove remaining theme config outside icons + gtk settings

* remove darkMode toggle

* restore fuzzel module

* randomWallpaper: disable * configs in sway

* randomWallpaper: disable hyprpaper stylix config

* swaylock: restore non-theme settings

* hosts: fix wallpaper

* waybar: restore colors

* rofi: restore theme

* rofi: use proper border color

* harmonize font sizes

* rofi: use borderRadius setting

* tmux: remove theming

* hosts: add preliminary stylix configs

* randomWallpaper: force hyprpaper off

* fallarbor: set correct wallpaper

* rofi: fix transparency issues on hyprland

* sway: override stylix indicator colors
2024-08-15 15:55:39 -04:00

99 lines
2.2 KiB
Nix

self: {
config,
lib,
pkgs,
...
}: {
imports = [self.homeManagerModules.default];
home = {
username = "dustin";
homeDirectory = "/home/dustin";
stateVersion = "24.05";
packages = with pkgs; [
fractal
libreoffice-fresh
plexamp
teams-for-linux
trayscale
webcord
xfce.xfce4-taskmanager
zoom-us
];
};
programs = {
home-manager.enable = true;
rbw = {
enable = true;
settings = {
email = "dustinmraffauf@gmail.com";
lock_timeout = 14400;
pinentry = pkgs.pinentry-gnome3;
};
};
};
wayland.windowManager = {
hyprland.settings = {
bind = ["SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"];
exec-once = ["sleep 2 && ${lib.getExe pkgs.trayscale} --hide-window"];
};
sway.config = {
input."type:keyboard" = lib.mkForce {
xkb_layout = "us";
xkb_variant = "altgr-intl";
};
keybindings = {
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
};
output = {
"Guangxi Century Innovation Display Electronics Co., Ltd 27C1U-D 0000000000001" = {
scale = "1.5";
pos = "-2560 0";
};
};
startup = [{command = "sleep 2 && ${lib.getExe pkgs.trayscale} --hide-window";}];
};
};
xdg.mimeApps = {
enable = true;
defaultApplications."application/epub+zip" = "com.calibre_ebook.calibre.desktop;org.gnome.Evince.desktop;com.calibre_ebook.calibre.ebook-viewer.desktop;";
};
ar.home = {
apps = {
chromium.enable = true;
firefox.enable = true;
kitty.enable = true;
shell.enable = true;
vsCodium.enable = true;
};
defaultApps.enable = true;
desktop = {
hyprland.monitors = [
"desc:Guangxi Century Innovation Display Electronics Co. Ltd 27C1U-D 0000000000001,preferred,-2400x0,1.6"
"desc:HP Inc. HP 24mh 3CM037248S,preferred,-1920x0,auto"
"desc:LG Electronics LG IPS QHD 109NTWG4Y865,preferred,-2560x0,auto"
];
};
services = {
gammastep.enable = true;
randomWallpaper.enable = false;
};
theme.enable = true;
};
}