2023-10-30 17:54:50 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2023-09-07 09:36:42 +01:00
|
|
|
|
|
|
|
{
|
2023-07-11 09:11:48 +01:00
|
|
|
imports = [
|
2023-09-24 13:05:26 +01:00
|
|
|
./wlogout/default.nix
|
2023-08-09 10:27:10 +01:00
|
|
|
./waybar/default.nix
|
2023-07-16 17:35:36 +01:00
|
|
|
./gtk.nix
|
2023-10-19 07:40:03 +01:00
|
|
|
./mako.nix
|
2023-10-19 12:22:48 +01:00
|
|
|
./rofi.nix
|
2023-07-11 09:11:48 +01:00
|
|
|
];
|
2023-10-26 17:15:51 +01:00
|
|
|
services = {
|
|
|
|
avizo.enable = true;
|
|
|
|
syncthing.enable = true;
|
|
|
|
};
|
2023-07-11 09:11:48 +01:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
2023-09-11 23:04:29 +01:00
|
|
|
xwayland.enable = true;
|
2023-10-16 13:19:38 +01:00
|
|
|
systemd.enable = true;
|
2023-10-14 20:49:30 +01:00
|
|
|
extraConfig = import ./config.nix { inherit config pkgs; };
|
2023-07-17 06:58:10 +01:00
|
|
|
};
|
2023-09-13 17:43:20 +01:00
|
|
|
xdg = {
|
|
|
|
configFile = {
|
|
|
|
"hypr/hyprpaper.conf".text = ''
|
2023-09-26 19:03:50 +01:00
|
|
|
preload = ${config.stylix.image}
|
|
|
|
wallpaper = ,${config.stylix.image}
|
2023-09-13 17:43:20 +01:00
|
|
|
'';
|
|
|
|
"hypr/extra.conf" = lib.mkDefault { text = ""; };
|
|
|
|
};
|
2023-10-20 10:24:28 +01:00
|
|
|
mimeApps = rec {
|
|
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
2023-09-13 17:43:20 +01:00
|
|
|
"image/jpeg" = [ "swayimg.desktop" ];
|
|
|
|
"image/png" = [ "swayimg.desktop" ];
|
2023-09-14 05:57:45 +01:00
|
|
|
"video/mp4" = [ "mpv.desktop" ];
|
2023-10-11 16:09:34 +01:00
|
|
|
"application/pdf" = [ "zathura.desktop" ];
|
|
|
|
"application/json" = [ "emacs.desktop" ];
|
2023-09-13 19:57:39 +01:00
|
|
|
"application/x-yaml" = [ "emacs.desktop" ];
|
2023-10-11 16:09:34 +01:00
|
|
|
"text/csv" = [ "calc.desktop" ];
|
2023-11-03 06:55:45 +00:00
|
|
|
"x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ];
|
2023-09-13 17:43:20 +01:00
|
|
|
};
|
2023-10-20 10:24:28 +01:00
|
|
|
associations.added = defaultApplications;
|
2023-09-13 17:43:20 +01:00
|
|
|
};
|
2023-08-21 11:01:19 +01:00
|
|
|
};
|
2023-07-11 09:11:48 +01:00
|
|
|
}
|