mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add social
This commit is contained in:
parent
9cdce8f2fa
commit
7da8f05b24
8 changed files with 68 additions and 9 deletions
|
|
@ -28,17 +28,11 @@ in {
|
||||||
mods.desktop.wayland.enable = true;
|
mods.desktop.wayland.enable = true;
|
||||||
mods.theme.enable = true;
|
mods.theme.enable = true;
|
||||||
mods.theme.wallpaper = ./wallpaper.png;
|
mods.theme.wallpaper = ./wallpaper.png;
|
||||||
# programs.hyprland.enable = true;
|
|
||||||
|
|
||||||
mods.unfree.steam.enable = true;
|
mods.unfree.steam.enable = true;
|
||||||
mods.unfree.nvidia.enable = true;
|
mods.unfree.nvidia.enable = true;
|
||||||
|
|
||||||
|
# Backup environment
|
||||||
hardware = {
|
|
||||||
opengl.enable = true;
|
|
||||||
nvidia.modesetting.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.xserver.windowManager.qtile.enable = true;
|
services.xserver.windowManager.qtile.enable = true;
|
||||||
|
|
||||||
# Version of first install
|
# Version of first install
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ let
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
|
./social.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = lib.mkIf cfg.wayland.enable {
|
config = lib.mkIf cfg.wayland.enable {
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,26 @@
|
||||||
|
|
||||||
config = lib.mkIf config.mods.hyprland.enable {
|
config = lib.mkIf config.mods.hyprland.enable {
|
||||||
programs.waybar.enable = true;
|
programs.waybar.enable = true;
|
||||||
|
programs.fuzzel.enable = true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
# systemd.enable = true;
|
systemd.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
exec-once = "${lib.getExe pkgs.waybar}";
|
exec-once = "${lib.getExe pkgs.waybar}";
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
accel_profile = "flat";
|
||||||
|
|
||||||
kb_options = "caps:escape";
|
kb_options = "caps:escape";
|
||||||
};
|
};
|
||||||
|
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, F, exec, qutebrowser"
|
|
||||||
"$mod, Return, exec, alacritty"
|
"$mod, Return, exec, alacritty"
|
||||||
|
"$mod, D, exec, fuzzel"
|
||||||
|
"$mod, F, exec, qutebrowser"
|
||||||
|
|
||||||
"$mod SHIFT, Q, killactive,"
|
"$mod SHIFT, Q, killactive,"
|
||||||
"$mod SHIFT, X, exit,"
|
"$mod SHIFT, X, exit,"
|
||||||
|
|
|
||||||
16
modules/home/desktop/social.nix
Normal file
16
modules/home/desktop/social.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
# file managing
|
# file managing
|
||||||
fd
|
fd
|
||||||
ripgrep
|
ripgrep
|
||||||
|
zoxide
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
||||||
# programs
|
# programs
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,6 @@
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
./user.nix
|
./user.nix
|
||||||
|
./nix.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
16
modules/nixos/core/nix.nix
Normal file
16
modules/nixos/core/nix.nix
Normal 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="
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -18,5 +18,29 @@ in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
stylix.base16Scheme = cfg.scheme;
|
stylix.base16Scheme = cfg.scheme;
|
||||||
stylix.image = cfg.wallpaper;
|
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" ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue