Add more hyprland configs and weechat / matrix support
This commit is contained in:
parent
7727f4a3bb
commit
c9c0a376db
5 changed files with 71 additions and 55 deletions
10
README.md
10
README.md
|
@ -1,15 +1,15 @@
|
||||||
# NixOS Configuration Repository
|
# NixOS Configuration Repository
|
||||||
|
## NOTE: These configs expect this repo to be cloned to /etc/nixos/git/
|
||||||
Repo for nix configuration files
|
Repo for nix configuration files
|
||||||
## Gruv all the things
|
|
||||||
---
|
---
|
||||||
# To Do List
|
# To Do List
|
||||||
* [x] tmux config / theming
|
|
||||||
* Not using tmux
|
|
||||||
* [ ] regreet config / theming - Icons still broken for some reason
|
* [ ] regreet config / theming - Icons still broken for some reason
|
||||||
* Possibly switch to tuigreet and gruv it
|
* Possibly switch to tuigreet and gruv it
|
||||||
* [ ] mako config / theming
|
* [ ] mako config / theming
|
||||||
* [ ] waybar config / theming
|
* [ ] waybar config / theming
|
||||||
* [ ] hyprland 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] powerline config / theming
|
||||||
* [x] neofetch config / theming
|
* [x] neofetch config / theming
|
||||||
* [x] kitty config / theming
|
* [x] kitty config / theming
|
||||||
|
@ -18,15 +18,15 @@ Repo for nix configuration files
|
||||||
* [x] nvidia drivers
|
* [x] nvidia drivers
|
||||||
* [ ] WINE configurations
|
* [ ] WINE configurations
|
||||||
* [x] btop config / theming
|
* [x] btop config / theming
|
||||||
* [ ] other things I'm probably forgetting
|
|
||||||
* [ ] See if it's possible to configure the fingerprint reader
|
|
||||||
* [ ] swaylock config / theming
|
* [ ] swaylock config / theming
|
||||||
|
* [ ] vscodium and user-config.js file?
|
||||||
* [ ] Get function keys working (sound, brightness, etc)
|
* [ ] 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))
|
* [ ] 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)
|
* [ ] 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
|
* [x] Possibly move away from powerline-go - I want something simpler
|
||||||
* Staying with powerline-go, just editing the config in `home-manager/bash.nix`
|
* 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/)
|
* [ ] 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/)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
# Software configurations
|
# Software configurations
|
||||||
../software/firefox.nix
|
../software/firefox.nix
|
||||||
|
../software/weechat.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -2,52 +2,53 @@
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
# Greeter, for when you start the computer
|
# Greeter, for when you start the computer
|
||||||
# programs.regreet = {
|
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 = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
# https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml
|
||||||
default_session = {
|
settings = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
|
background = {
|
||||||
user = "greeter";
|
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
|
# Brightness and volume control
|
||||||
|
# https://haikarainen.github.io/light/
|
||||||
programs.light.enable = true;
|
programs.light.enable = true;
|
||||||
|
|
||||||
# Enabling hyprlnd on NixOS
|
# Enabling hyprlnd on NixOS
|
||||||
|
|
|
@ -130,16 +130,11 @@
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # 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
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
# bind = $mainMod, left, movefocus, l
|
||||||
bind = $mainMod, right, movefocus, r
|
# bind = $mainMod, right, movefocus, r
|
||||||
bind = $mainMod, up, movefocus, u
|
# bind = $mainMod, up, movefocus, u
|
||||||
bind = $mainMod, down, movefocus, d
|
# bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
|
@ -172,6 +167,19 @@
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
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:
|
# Start the config:
|
||||||
exec-once=bash ~/.config/hypr/start.sh
|
exec-once=bash ~/.config/hypr/start.sh
|
||||||
|
@ -183,7 +191,7 @@
|
||||||
executable = true;
|
executable = true;
|
||||||
text = ''
|
text = ''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
swwww init &
|
swww init &
|
||||||
swww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg &
|
swww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg &
|
||||||
nm-applet --indicator &
|
nm-applet --indicator &
|
||||||
waybar &
|
waybar &
|
||||||
|
|
6
software/weechat.nix
Normal file
6
software/weechat.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
weechat
|
||||||
|
weechatScripts.weechat-matrix
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue