mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
config I can work with
This commit is contained in:
parent
c59157a753
commit
b8efb1ffed
|
@ -6,7 +6,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/autorandr
|
#./modules/autorandr
|
||||||
./modules/networks
|
./modules/networks
|
||||||
#./modules/lightdm
|
#./modules/lightdm
|
||||||
#./modules/gdm
|
#./modules/gdm
|
||||||
|
@ -24,8 +24,9 @@
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
|
keyMap = "dvorak";
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
useXkbConfig = true; # use xkbOptions in tty.
|
#useXkbConfig = true; # use xkbOptions in tty.
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
font = {
|
font = {
|
||||||
size = 8;
|
size = 10;
|
||||||
};
|
};
|
||||||
shell.program = "${pkgs.zsh}/bin/zsh";
|
shell.program = "${pkgs.zsh}/bin/zsh";
|
||||||
window.opacity = 0.7;
|
window.opacity = 0.7;
|
||||||
|
|
|
@ -1,5 +1,21 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.enable = true;
|
wayland.windowManager.hyprland.enable = true;
|
||||||
xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf;
|
xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf;
|
||||||
|
# TODO integrate this to nix-colors
|
||||||
|
xdg.configFile."wofi".source = ./wofi-config;
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
wofi
|
||||||
|
#noto-fonts-emoji
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
#settings = {
|
||||||
|
#mainBar = {
|
||||||
|
#layer = "top";
|
||||||
|
#position = "top";
|
||||||
|
#};
|
||||||
|
#};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,10 @@
|
||||||
|
|
||||||
########################################################################################
|
|
||||||
AUTOGENERATED HYPR CONFIG.
|
|
||||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
|
||||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
|
||||||
########################################################################################
|
|
||||||
|
|
||||||
#
|
|
||||||
# Please note not all available settings / options are set here.
|
|
||||||
# For a full list, see the wiki
|
|
||||||
#
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=,preferred,auto,auto
|
monitor=eDP-1, 1920x1080, 0x0, 1
|
||||||
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
exec-once = waybar
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
@ -96,12 +83,6 @@ gestures {
|
||||||
workspace_swipe = off
|
workspace_swipe = off
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
|
||||||
device:epic mouse V1 {
|
|
||||||
sensitivity = -0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example windowrule v1
|
# Example windowrule v1
|
||||||
# windowrule = float, ^(kitty)$
|
# windowrule = float, ^(kitty)$
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
|
@ -113,19 +94,19 @@ device:epic mouse V1 {
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, O, exec, alacritty
|
bind = $mainMod, Return, exec, alacritty
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod SHIFT, Q, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, F, togglefloating,
|
||||||
bind = $mainMod, R, exec, wofi --show drun
|
bind = ALT, Space, exec, wofi --show drun
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, S, togglesplit, # dwindle
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, H, movefocus, l
|
||||||
bind = $mainMod, right, movefocus, r
|
bind = $mainMod, L, movefocus, r
|
||||||
bind = $mainMod, up, movefocus, u
|
bind = $mainMod, K, movefocus, u
|
||||||
bind = $mainMod, down, movefocus, d
|
bind = $mainMod, J, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
|
|
2
users/rouven/modules/hyprland/wofi-config/config
Normal file
2
users/rouven/modules/hyprland/wofi-config/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
allow_images = true
|
||||||
|
term = alacritty
|
46
users/rouven/modules/hyprland/wofi-config/style.css
Normal file
46
users/rouven/modules/hyprland/wofi-config/style.css
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
window {
|
||||||
|
margin: 0px;
|
||||||
|
border: 1px solid #bd93f9;
|
||||||
|
background-color: #282a36;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #f8f8f2;
|
||||||
|
background-color: #44475a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: #282a36;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: #282a36;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin: 0px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #44475a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:nth-child(even){
|
||||||
|
background-color: #404552;
|
||||||
|
}
|
||||||
|
#entry:nth-child(odd){
|
||||||
|
background-color: #404552;
|
||||||
|
}
|
|
@ -5,11 +5,9 @@
|
||||||
wpa_supplicant_gui
|
wpa_supplicant_gui
|
||||||
pcmanfm
|
pcmanfm
|
||||||
xsel
|
xsel
|
||||||
lightlocker
|
|
||||||
vlc
|
vlc
|
||||||
|
|
||||||
# graphics
|
# graphics
|
||||||
feh
|
|
||||||
okular
|
okular
|
||||||
gimp
|
gimp
|
||||||
|
|
||||||
|
@ -45,10 +43,10 @@
|
||||||
neofetch
|
neofetch
|
||||||
trash-cli
|
trash-cli
|
||||||
spotify
|
spotify
|
||||||
nixpkgs-fmt
|
|
||||||
virt-manager
|
virt-manager
|
||||||
powerline-fonts
|
powerline-fonts
|
||||||
ventoy-bin
|
ventoy-bin
|
||||||
|
mpd
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
libyubikey
|
libyubikey
|
||||||
|
|
Loading…
Reference in a new issue