nixcfg/homes/dustin/default.nix
Aly Raffauf 7b1f0f8316
Some checks are pending
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
yank enough to make hosts build with stylix enabled
2024-08-14 22:41:54 -04:00

97 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;
};
};
}