Add more hyprland configs and weechat / matrix support

This commit is contained in:
iFargle 2023-08-16 12:57:53 +09:00
parent 7727f4a3bb
commit c9c0a376db
5 changed files with 71 additions and 55 deletions

View file

@ -1,15 +1,15 @@
# NixOS Configuration Repository
## NOTE: These configs expect this repo to be cloned to /etc/nixos/git/
Repo for nix configuration files
## Gruv all the things
---
# To Do List
* [x] tmux config / theming
* Not using tmux
* [ ] regreet config / theming - Icons still broken for some reason
* Possibly switch to tuigreet and gruv it
* [ ] mako config / theming
* [ ] waybar config / theming
* [ ] hyprland config / theming
* Try `libinput-gestores` for gesture control of Hyprland - [Link](https://github.com/bulletmark/libinput-gestures)
* [x] powerline config / theming
* [x] neofetch config / theming
* [x] kitty config / theming
@ -18,15 +18,15 @@ Repo for nix configuration files
* [x] nvidia drivers
* [ ] WINE configurations
* [x] btop config / theming
* [ ] other things I'm probably forgetting
* [ ] See if it's possible to configure the fingerprint reader
* [ ] swaylock config / theming
* [ ] vscodium and user-config.js file?
* [ ] Get function keys working (sound, brightness, etc)
* [ ] rofi - bitwarden-cli / bitwarden-menu ([Link](https://search.nixos.org/packages?channel=23.05&show=bitwarden-menu&from=0&size=50&sort=relevance&type=packages&query=bitwarden))
* [ ] Try and submit this as a nixpkg - [Link](https://github.com/SylEleuth/gruvbox-plus-icon-pack)
* [x] Possibly move away from powerline-go - I want something simpler
* Staying with powerline-go, just editing the config in `home-manager/bash.nix`
* [ ] Set up the fingerprint reader - [Link](https://www.makeuseof.com/set-up-fingerprint-scanner-with-pam-on-linux/)
* [ ] sublime music config / theming / integration - [Link](https://docs.sublimemusic.app/)
---

View file

@ -13,5 +13,6 @@
imports = [
# Software configurations
../software/firefox.nix
../software/weechat.nix
];
}

View file

@ -2,52 +2,53 @@
services.xserver.videoDrivers = ["nvidia"];
# Greeter, for when you start the computer
# programs.regreet = {
# enable = true;
# # https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml
# settings = {
# background = {
# path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg";
# fit = "Cover";
# };
# GTK = {
# application_prefer_dark_theme = true;
# cursor_theme_name = "Adwaita";
# font_name = "Cantarell 16";
# icon_theme_name = "Papirus-Dark";
# theme_name = "Gruvbox-Dark-BL";
# };
# commands = {
# reboot = [ "systemctl" "reboot" ];
# poweroff = [ "systemctl" "poweroff" ];
# };
# };
# extraCss = ''
# #background {
# filter: blur(20px);
# blur: 20px;
# }
# #user_toggle {
# visibility: none;
# }
# #sess_toggle {
# visibility: none;
# }
# '';
# };
# tuigreet
services.greetd = {
programs.regreet = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
user = "greeter";
# https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml
settings = {
background = {
path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg";
fit = "Cover";
};
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = "Adwaita";
font_name = "Cantarell 16";
icon_theme_name = "Papirus-Dark";
theme_name = "Gruvbox-Dark-BL";
};
commands = {
reboot = [ "systemctl" "reboot" ];
poweroff = [ "systemctl" "poweroff" ];
};
};
extraCss = ''
#background {
filter: blur(20px);
blur: 20px;
}
#user_toggle {
visibility: none;
}
#sess_toggle {
visibility: none;
}
'';
};
# tuigreet
# services.greetd = {
# enable = true;
# settings = {
# default_session = {
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
# user = "greeter";
# };
# };
# };
# Brightness and volume control
# https://haikarainen.github.io/light/
programs.light.enable = true;
# Enabling hyprlnd on NixOS

View file

@ -130,16 +130,11 @@
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
# Custom keybinds
bind = $mainMod, S, exec, rofi -show drun -show-icons
bind = $mainMod, SPACE, exec, rofi -show drun -show-icons
bind =,Print,exec,grim
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# bind = $mainMod, left, movefocus, l
# bind = $mainMod, right, movefocus, r
# bind = $mainMod, up, movefocus, u
# bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
@ -172,6 +167,19 @@
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Testing... Move without holding the mainMod button?
#############################################################################
# Custom keybinds
# Show Rofi on SUPER-S
bind = $mainMod, S, exec, rofi -show drun -show-icons
# Show Rofi on SUPER-SPACE
bind = $mainMod SPACE, , exec, rofi -show drun -show-icons
# Take a screenshot with the Print key
bind =,Print,exec,grim
# Move to the previous / next workspace with SUPER-LEFT and SUPER-RIGHT
bind = $mainMod, right workspace, e+1
bind = $mainMod, left, workspace, e-1
# Start the config:
exec-once=bash ~/.config/hypr/start.sh
@ -183,7 +191,7 @@
executable = true;
text = ''
#!/usr/bin/env bash
swwww init &
swww init &
swww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg &
nm-applet --indicator &
waybar &

6
software/weechat.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, pkgs, ... }: {
environment.systemPackages = with pkgs; [
weechat
weechatScripts.weechat-matrix
];
}