mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 20:51:53 -05:00
Aly Raffauf
b1a2051921
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* flake.lock: Update Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10) → 'github:nix-community/disko/5fd852c4155a689098095406500d0ae3d04654a8?narHash=sha256-c9I3i1CwZ10SoM5npQQVnfwgvB86jAS3lT4ZqkRoSOI%3D' (2024-11-14) • Updated input 'home-manager': 'github:nix-community/home-manager/60bb110917844d354f3c18e05450606a435d2d10?narHash=sha256-NjavpgE9/bMe/ABvZpyHIUeYF1mqR5lhaep3wB79ucs%3D' (2024-11-10) → 'github:nix-community/home-manager/35b055009afd0107b69c286fca34d2ad98940d57?narHash=sha256-2EckCJn4wxran/TsRiCOFcmVpep2m9EBKl99NBh2GnM%3D' (2024-11-13) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/e9adb42d82ec425ff6218b6e45feb6a1a8eaddb0?narHash=sha256-O2piDr6aQmJd7USZkehOKTZale6jlG%2BDkoxEVRiu8Iw%3D' (2024-11-12) → 'github:fufexan/nix-gaming/5b3cac90d7c3ceddbe6f2cfc5c6d0b66780d2ea3?narHash=sha256-wKfZUafXB/Wc%2Bf9JlDyAY20OFDUd4CZ3LF4Li%2BPpAX0%3D' (2024-11-14) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2?narHash=sha256-IigrKK3vYRpUu%2BHEjPL/phrfh7Ox881er1UEsZvw9Q4%3D' (2024-11-09) → 'github:nixos/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c?narHash=sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY%2B/Z96ZcLpooIbuEI%3D' (2024-11-11) • Updated input 'nur': 'github:nix-community/NUR/4b0e599bebf4bdf6725cdf8036a335096bf13097?narHash=sha256-gFzX%2Be1ATJmhjOMvbBmqf1v4WgMz770dZhtGN4dZtng%3D' (2024-11-13) → 'github:nix-community/NUR/0b52d5e4307c0b9bed8c438a2a0300356cede857?narHash=sha256-xZrqREw7Fc%2BlgIMcMvyKiepSPBBy%2BHkopHvrkL1H/DI%3D' (2024-11-14) • Updated input 'stylix': 'github:danth/stylix/6863412636c8f2cb3b7360f747fbd020fbfddf68?narHash=sha256-ti3gXhgVpIUL/7w6zDJuH%2BhOnyTZqxrIX/yYqALmiEI%3D' (2024-11-08) → 'github:danth/stylix/e0a278871b63b1800ccdda568861b5324dd93797?narHash=sha256-ohxX2gG7zDWIA3slEbiSyAVSiO98clCoL%2BCmiEiYwVU%3D' (2024-11-14) * hpylrand: migrate settings to 0.45 * flake: lock stylix to rev with hyprland 0.45 fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
106 lines
3.1 KiB
Nix
106 lines
3.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [./laptop.nix];
|
|
|
|
programs.waybar.settings.mainBar."bluetooth" = {
|
|
"on-click" = lib.mkForce "${lib.getExe pkgs.rofi-bluetooth} -i";
|
|
};
|
|
|
|
wayland.windowManager = {
|
|
sway.config = {
|
|
floating.criteria = [{app_id = "Bitwarden";} {app_id = "org.keepassxc.KeePassXC";}];
|
|
|
|
gaps = {
|
|
smartBorders = "on";
|
|
smartGaps = true;
|
|
};
|
|
|
|
input."type:keyboard".xkb_options = "caps:ctrl_modifier";
|
|
|
|
keybindings = {
|
|
"${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}";
|
|
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
|
|
};
|
|
|
|
startup = [
|
|
{command = lib.getExe config.ar.home.defaultApps.editor;}
|
|
{command = lib.getExe config.ar.home.defaultApps.webBrowser;}
|
|
{command = lib.getExe pkgs.fractal;}
|
|
{command = lib.getExe config.programs.thunderbird.package;}
|
|
{command = lib.getExe' pkgs.obsidian "obsidian";}
|
|
];
|
|
|
|
output = {
|
|
"Guangxi Century Innovation Display Electronics Co., Ltd 27C1U-D 0000000000001" = {
|
|
scale = "1.5";
|
|
pos = "-2560 0";
|
|
};
|
|
|
|
"HP Inc. HP 24mh 3CM037248S " = {
|
|
scale = "1.0";
|
|
pos = "-1920 0";
|
|
};
|
|
};
|
|
|
|
window.commands = [
|
|
{
|
|
command = "resize set 80ppt 80ppt; move position center;";
|
|
criteria = {app_id = "Bitwarden";};
|
|
}
|
|
{
|
|
command = "resize set 80ppt 80ppt; move position center; sticky toggle;";
|
|
criteria = {app_id = "org.keepassxc.KeePassXC";};
|
|
}
|
|
{
|
|
command = "move to scratchpad";
|
|
criteria = {app_id = "org.gnome.Fractal";};
|
|
}
|
|
{
|
|
command = "move to scratchpad";
|
|
criteria = {app_id = "vesktop";};
|
|
}
|
|
];
|
|
};
|
|
|
|
hyprland.settings = {
|
|
bind = [
|
|
"SUPER,N,exec,${lib.getExe' pkgs.obsidian "obsidian"}"
|
|
"SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
|
|
];
|
|
|
|
input.kb_options = "ctrl:nocaps";
|
|
|
|
windowrulev2 = [
|
|
"bordersize 0,floating:0,onworkspace:f[1]"
|
|
"bordersize 0,floating:0,onworkspace:w[tv1]"
|
|
"center(1),class:(Bitwarden)"
|
|
"center(1),class:(org.keepassxc.KeePassXC)"
|
|
"float,class:(Bitwarden)"
|
|
"float,class:(org.keepassxc.KeePassXC)"
|
|
"rounding 0,floating:0,onworkspace:f[1]"
|
|
"rounding 0,floating:0,onworkspace:w[tv1]"
|
|
"size 80% 80%,class:(Bitwarden)"
|
|
"size 80% 80%,class:(org.keepassxc.KeePassXC)"
|
|
"workspace special:magic,class:(org.gnome.Fractal)"
|
|
"workspace special:magic,class:(vesktop)"
|
|
];
|
|
|
|
workspace = [
|
|
"f[1],gapsout:0,gapsin:0"
|
|
"special:magic,on-created-empty:${lib.getExe pkgs.fractal}"
|
|
"w[tv1],gapsout:0,gapsin:0"
|
|
];
|
|
};
|
|
};
|
|
|
|
ar.home.desktop.hyprland.monitors = [
|
|
"desc:Guangxi Century Innovation Display Electronics Co. Ltd 27C1U-D 0000000000001,preferred,-2400x0,1.6"
|
|
"desc:HP Inc. HP 24mh 3CM037248S,preferred,-1920x0,auto"
|
|
"desc:LG Electronics LG IPS QHD 109NTWG4Y865,preferred,-2560x0,auto"
|
|
];
|
|
}
|