mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: tidying up some stuff
This commit is contained in:
parent
9526cf7ca4
commit
3c86475c02
13 changed files with 65 additions and 38 deletions
|
@ -37,6 +37,13 @@ in
|
|||
;
|
||||
};
|
||||
};
|
||||
laptop = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
apps
|
||||
;
|
||||
};
|
||||
};
|
||||
server = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
|
|
0
home/modules/cli/development/langauges/default.nix
Normal file → Executable file
0
home/modules/cli/development/langauges/default.nix
Normal file → Executable file
11
home/modules/cli/files/fileRoller/default.nix
Executable file
11
home/modules/cli/files/fileRoller/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
file-roller
|
||||
;
|
||||
};
|
||||
}
|
11
home/modules/cli/files/unzip/default.nix
Executable file
11
home/modules/cli/files/unzip/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
unzip
|
||||
;
|
||||
};
|
||||
}
|
|
@ -31,7 +31,12 @@ let
|
|||
;
|
||||
};
|
||||
gitPath = import (configPath + /git);
|
||||
miscPath = import (configPath + /misc) { inherit lib pkgs; };
|
||||
miscPath = import (configPath + /misc) {
|
||||
inherit
|
||||
lib
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
git = gitPath;
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
general = {
|
||||
lock_cmd = "pidof swaylock || swaylock";
|
||||
before_sleep_cmd = "loginctl lock-session";
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "swaylock";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 150;
|
||||
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -s set 0";
|
||||
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -r";
|
||||
timeout = 900;
|
||||
on-timeout = "swaylock";
|
||||
}
|
||||
{
|
||||
timeout = 150;
|
||||
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -sd rgb:kbd_backlight set 0";
|
||||
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -rd rgb:kbd_backlight";
|
||||
}
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "systemctl suspend";
|
||||
timeout = 1800;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ let
|
|||
in
|
||||
[
|
||||
"swaylock"
|
||||
"hypridle"
|
||||
"wl-clipboard"
|
||||
"wpaperd"
|
||||
"gammastep"
|
||||
|
@ -14,10 +15,11 @@ in
|
|||
"waybar"
|
||||
"nm-applet"
|
||||
"blueman-applet"
|
||||
"blueman-manager"
|
||||
"easyeffects -r"
|
||||
"emote"
|
||||
"flameshot"
|
||||
"pactl set-default-sink alsa_output.usb-Focusrite_Scarlett_2i2_USB_Y818KFJ0C671CE-00.HiFi__Line1__sink"
|
||||
"pactl set-default-sink bluez_output.00_16_94_35_0D_5F.1"
|
||||
"pactl set-default-source alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y818KFJ0C671CE-00.HiFi__Mic1__source"
|
||||
"gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
|
||||
"gsettings set org.gnome.desktop.interface cursor-size ${builtins.toString cursor.size}"
|
||||
|
|
|
@ -10,6 +10,7 @@ let
|
|||
in
|
||||
{
|
||||
font = font.name;
|
||||
font-size = font.size.desktop;
|
||||
indicator-idle-visible = true;
|
||||
indicator-radius = 100;
|
||||
indicator-thickness = 20;
|
||||
|
|
|
@ -29,7 +29,7 @@ in
|
|||
"memory"
|
||||
"disk"
|
||||
"pulseaudio"
|
||||
# "network"
|
||||
"network"
|
||||
"clock"
|
||||
];
|
||||
|
||||
|
@ -56,7 +56,7 @@ in
|
|||
"3" = "◉";
|
||||
"4" = "◉";
|
||||
urgent = "";
|
||||
default = "";
|
||||
default = "◉";
|
||||
sort-by-number = true;
|
||||
};
|
||||
persistent-workspaces = {
|
||||
|
@ -85,13 +85,13 @@ in
|
|||
interval = 60;
|
||||
};
|
||||
|
||||
# network = {
|
||||
# format-wifi = " {signalStrength}%";
|
||||
# format-ethernet = " ";
|
||||
# tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
|
||||
# format-linked = "{ifname} (No IP)";
|
||||
# format-disconnected = " ";
|
||||
# };
|
||||
network = {
|
||||
format-wifi = " {signalStrength}%";
|
||||
format-ethernet = " ";
|
||||
tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
|
||||
format-linked = "{ifname} (No IP)";
|
||||
format-disconnected = " ";
|
||||
};
|
||||
|
||||
tray = {
|
||||
icon-size = 12;
|
||||
|
@ -151,7 +151,7 @@ in
|
|||
};
|
||||
|
||||
"custom/weather" = {
|
||||
exec = "/home/${user0}/Files/Projects/dotfiles/home/modules/waybar/config/scripts/get_weather.sh Winnipeg";
|
||||
exec = "/home/${user0}/Files/Projects/dotfiles/home/modules/gui/desktop/waybar/config/scripts/get_weather.sh Winnipeg";
|
||||
return-type = "json";
|
||||
format = "{}";
|
||||
tooltip = true;
|
||||
|
|
|
@ -60,7 +60,7 @@ in
|
|||
inherit (modules)
|
||||
syncthing
|
||||
ollama
|
||||
hledger
|
||||
# hledger
|
||||
# plasma
|
||||
# sddm
|
||||
;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
"network"
|
||||
"hypridle"
|
||||
"hyprland"
|
||||
"hyprlock"
|
||||
"regreet"
|
||||
"swaylock"
|
||||
"thunar"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
package = flake.inputs.hyprlock.packages.${pkgs.system}.hyprlock;
|
||||
};
|
||||
}
|
|
@ -2,7 +2,8 @@
|
|||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
boot = {
|
||||
extraModulePackages = [
|
||||
config.boot.kernelPackages.v4l2loopback.out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue