nixcfg/homes/dustin/default.nix

95 lines
2.1 KiB
Nix
Raw Permalink Normal View History

self: {
config,
lib,
pkgs,
...
}: {
imports = [self.homeManagerModules.default];
2024-06-11 13:31:10 -04:00
home = {
username = "dustin";
homeDirectory = "/home/dustin";
stateVersion = "24.05";
2024-07-10 23:43:51 -04:00
2024-06-11 13:31:10 -04:00
packages = with pkgs; [
fractal
libreoffice-fresh
plexamp
2024-08-04 19:31:25 -04:00
teams-for-linux
2024-08-06 20:02:08 -04:00
trayscale
2024-06-11 13:31:10 -04:00
webcord
xfce.xfce4-taskmanager
2024-06-11 13:31:10 -04:00
zoom-us
];
};
2024-08-02 21:05:53 -04:00
programs = {
home-manager.enable = true;
rbw = {
enable = true;
settings = {
email = "dustinmraffauf@gmail.com";
lock_timeout = 14400;
pinentry = pkgs.pinentry-gnome3;
};
};
};
wayland.windowManager = {
2024-08-06 20:02:08 -04:00
hyprland.settings = {
bind = ["SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"];
exec-once = ["sleep 2 && ${lib.getExe pkgs.trayscale} --hide-window"];
2024-08-06 20:02:08 -04:00
};
2024-08-02 21:05:53 -04:00
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}";
};
2024-08-06 20:02:08 -04:00
startup = [{command = "sleep 2 && ${lib.getExe pkgs.trayscale} --hide-window";}];
2024-08-02 21:05:53 -04:00
};
};
2024-06-18 15:14:11 -04:00
xdg.mimeApps = {
enable = true;
2024-07-10 23:43:51 -04:00
defaultApplications."application/epub+zip" = "com.calibre_ebook.calibre.desktop;org.gnome.Evince.desktop;com.calibre_ebook.calibre.ebook-viewer.desktop;";
2024-06-18 15:14:11 -04:00
};
ar.home = {
apps = {
chromium.enable = true;
firefox.enable = true;
kitty.enable = true;
shell.enable = true;
vsCodium.enable = true;
};
2024-06-28 21:07:20 -04:00
defaultApps.enable = true;
2024-07-27 22:22:27 -04:00
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;
};
2024-06-28 21:07:20 -04:00
theme = {
2024-06-28 21:07:20 -04:00
enable = true;
2024-07-22 13:57:09 -04:00
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-6d66dl.jpg";
};
};
}