mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-31 05:10:12 +00:00
Compare commits
No commits in common. "e28ccbd5ad02981cf0091f494119f17b0b60f34f" and "13c697b7909a063fa3b13f0d0a69a3df0c24bcb8" have entirely different histories.
e28ccbd5ad
...
13c697b790
@ -1,17 +1,8 @@
|
|||||||
{ pkgs, zen-browser, ... }:
|
{ zen-browser, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
home.packages = [
|
|
||||||
pkgs.adwaita-icon-theme
|
|
||||||
pkgs.brightnessctl
|
|
||||||
pkgs.pamixer
|
|
||||||
pkgs.rofi-wayland
|
|
||||||
pkgs.wtype
|
|
||||||
];
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
zen-browser.homeModules.beta
|
zen-browser.homeModules.beta
|
||||||
./hyprland
|
./hypr
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zen-browser = {
|
programs.zen-browser = {
|
||||||
|
@ -1,75 +1,24 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
home.packages = [
|
||||||
|
pkgs.wtype
|
||||||
|
pkgs.rofi-wayland
|
||||||
|
pkgs.brightnessctl
|
||||||
|
pkgs.pamixer
|
||||||
|
];
|
||||||
|
|
||||||
programs.kitty.enable = true;
|
programs.kitty.enable = true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
misc = {
|
monitor = [ ",preferred,auto,1.2" ];
|
||||||
disable_hyprland_logo = true;
|
|
||||||
background_color = "0x2E3440";
|
|
||||||
};
|
|
||||||
|
|
||||||
general = {
|
xwayland.force_zero_scaling = true;
|
||||||
border_size = 2;
|
|
||||||
"col.active_border" = "0xFF81A1C1";
|
|
||||||
"col.inactive_border" = "0xFF677691";
|
|
||||||
};
|
|
||||||
|
|
||||||
decoration = {
|
|
||||||
rounding = 15;
|
|
||||||
inactive_opacity = 0.75;
|
|
||||||
blur.enabled = false;
|
|
||||||
shadow.enabled = false;
|
|
||||||
border_part_of_window = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# The animations is taken from Omarchy, see:
|
|
||||||
# https://github.com/basecamp/omarchy/blob/master/default/hypr/looknfeel.conf
|
|
||||||
animations = {
|
|
||||||
enabled = true;
|
|
||||||
|
|
||||||
bezier = [
|
|
||||||
"easeOutQuint,0.23,1,0.32,1"
|
|
||||||
"easeInOutCubic,0.65,0.05,0.36,1"
|
|
||||||
"linear,0,0,1,1"
|
|
||||||
"almostLinear,0.5,0.5,0.75,1.0"
|
|
||||||
"quick,0.15,0,0.1,1"
|
|
||||||
];
|
|
||||||
|
|
||||||
animation = [
|
|
||||||
"global, 1, 10, default"
|
|
||||||
"border, 1, 5.39, easeOutQuint"
|
|
||||||
"windows, 1, 4.79, easeOutQuint"
|
|
||||||
"windowsIn, 1, 4.1, easeOutQuint, popin 87%"
|
|
||||||
"windowsOut, 1, 1.49, linear, popin 87%"
|
|
||||||
"fadeIn, 1, 1.73, almostLinear"
|
|
||||||
"fadeOut, 1, 1.46, almostLinear"
|
|
||||||
"fade, 1, 3.03, quick"
|
|
||||||
"layers, 1, 3.81, easeOutQuint"
|
|
||||||
"layersIn, 1, 4, easeOutQuint, fade"
|
|
||||||
"layersOut, 1, 1.5, linear, fade"
|
|
||||||
"fadeLayersIn, 1, 1.79, almostLinear"
|
|
||||||
"fadeLayersOut, 1, 1.39, almostLinear"
|
|
||||||
"workspaces, 0, 0, ease"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
monitor = [ ",preferred,auto,1" ];
|
|
||||||
|
|
||||||
gestures.workspace_swipe = true;
|
gestures.workspace_swipe = true;
|
||||||
|
|
||||||
cursor = {
|
|
||||||
enable_hyprcursor = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
env = [
|
|
||||||
"XCURSOR_THEME,Adwaita"
|
|
||||||
"XCURSOR_SIZE,24"
|
|
||||||
];
|
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
kb_options = "altwin:swap_alt_win";
|
kb_options = "altwin:swap_alt_win";
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
iosevka
|
iosevka
|
||||||
nerd-fonts.sauce-code-pro
|
|
||||||
source-sans
|
source-sans
|
||||||
|
source-code-pro
|
||||||
source-serif
|
source-serif
|
||||||
]
|
]
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
|
|
||||||
# Disable internal keyboard when external (Voyager) is connected
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
ACTION=="add", SUBSYSTEM=="input", KERNEL=="event*", ENV{DEVLINKS}=="*usb-ZSA_Technology_Labs_Voyager-event-kbd*", RUN+="${pkgs.kmod}/bin/modprobe -r atkbd"
|
|
||||||
ACTION=="remove", SUBSYSTEM=="input", KERNEL=="event*", ENV{DEVLINKS}=="*usb-ZSA_Technology_Labs_Voyager-event-kbd*", RUN+="${pkgs.kmod}/bin/modprobe atkbd"
|
|
||||||
'';
|
|
||||||
|
|
||||||
services.kanata = {
|
services.kanata = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyboards = {
|
keyboards = {
|
||||||
|
@ -1,17 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
fonts.packages = import ../../home/fonts { inherit pkgs; };
|
||||||
fonts = {
|
|
||||||
packages = import ../../home/fonts { inherit pkgs; };
|
|
||||||
fontconfig = {
|
|
||||||
enable = true;
|
|
||||||
defaultFonts = {
|
|
||||||
serif = [ "Source Serif 4" ];
|
|
||||||
sansSerif = [ "Source Sans 3" ];
|
|
||||||
monospace = [ "SauceCodePro Nerd Font" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
environment.shells = [ pkgs.fish ];
|
environment.shells = [ pkgs.fish ];
|
||||||
|
Loading…
Reference in New Issue
Block a user