mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-28 17:19:16 -05:00
Aly Raffauf
3663469066
* home: switch hyprland and sway to new swayidle systemd service * home: add swayosd service * home: move swayidle and swayosd to services * home/services: add swayidle and swayosd services * hyprland,sway: don't start swayosd * user playerctld as systemd service * home: run gammastep as service for redShift" * cleanup * home: set swayosd and swayidle as wanted by hyprland and sway * nix fmt * home/services/swayidle: fixed resume command * home/swayidle: fix command syntax * home: better systemd defaults for swayidle and swayosd * home: convert mako to systemd service * home: make wayland-ipewire-idle-inhibit a systemd service * home/waybar: use as systemd service * home: move waybar to services * home/desktop: convert randomWallpaper to systemd service * migrate home options
66 lines
1.4 KiB
Nix
66 lines
1.4 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
|
|
webcord
|
|
xfce.xfce4-taskmanager
|
|
zoom-us
|
|
];
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
wayland.windowManager.sway.config.input."type:keyboard" = lib.mkForce {
|
|
xkb_layout = "us";
|
|
xkb_variant = "altgr-intl";
|
|
};
|
|
|
|
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 = {
|
|
bash.enable = true;
|
|
chromium.enable = true;
|
|
firefox.enable = true;
|
|
kitty.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;
|
|
wallpaper = "${config.xdg.dataHome}/backgrounds/wallhaven-6d66dl.jpg";
|
|
};
|
|
};
|
|
}
|