Add social

This commit is contained in:
muon 2024-06-07 00:05:58 +00:00
parent 9cdce8f2fa
commit 7da8f05b24
8 changed files with 68 additions and 9 deletions

View file

@ -4,6 +4,7 @@ let
in {
imports = [
./hyprland.nix
./social.nix
];
config = lib.mkIf cfg.wayland.enable {

View file

@ -3,20 +3,26 @@
config = lib.mkIf config.mods.hyprland.enable {
programs.waybar.enable = true;
programs.fuzzel.enable = true;
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
# systemd.enable = true;
systemd.enable = true;
settings = {
exec-once = "${lib.getExe pkgs.waybar}";
input = {
accel_profile = "flat";
kb_options = "caps:escape";
};
"$mod" = "SUPER";
bind = [
"$mod, F, exec, qutebrowser"
"$mod, Return, exec, alacritty"
"$mod, D, exec, fuzzel"
"$mod, F, exec, qutebrowser"
"$mod SHIFT, Q, killactive,"
"$mod SHIFT, X, exit,"

View file

@ -0,0 +1,16 @@
{ pkgs, lib, config, ... }: {
options.mods.social.enable =
lib.mkEnableOption "enables social media clients";
config = lib.mkIf config.mods.social.enable {
home.packages = with pkgs; lib.mkAfter [
# Communication
kotatogram-desktop
signal-desktop
vesktop
# Video
freetube
];
};
}

View file

@ -9,6 +9,7 @@
# file managing
fd
ripgrep
zoxide
trash-cli
# programs

View file

@ -3,5 +3,6 @@
./boot.nix
./network.nix
./user.nix
./nix.nix
];
}

View file

@ -0,0 +1,16 @@
{ pkgs, lib, ... }: {
nix.settings = {
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://nixpkgs-unfree.cachix.org"
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
}

View file

@ -18,5 +18,29 @@ in {
config = lib.mkIf cfg.enable {
stylix.base16Scheme = cfg.scheme;
stylix.image = cfg.wallpaper;
stylix.fonts = {
monospace = {
package = pkgs.mononoki;
name = "Mononoki Nerd Font";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "OpenMoji Color";
};
};
# fonts = with pkgs; [
# openmoji-color
# mononoki
# (nerdfonts.override { fonts = [ "Mononoki" ]; })
# ];
# fontconfig = {
# hinting.autohint = true;
# defaultFonts = {
# emoji = [ "OpenMoji Color" ];
# };
# };
};
}