dotfiles

My PC Dotfiles & Website
commit 44acd5b0ce7d123a3446d328a5012fe2664dd61e
parent 3d908333fdfda9d8b41a79ac9059148bfe63b7dd
Author: maydayv7 <maydayv7@gmail.com>
Date:   Mon, 18 Nov 2024 19:46:50 +0530

fix: Multiple Fixes

Diffstat:

9 files changed, 63 insertions(+), 18 deletions(-)

diff --git a/README.md b/README.md @@ -4,7 +4,7 @@ <img alt="Logo" src="files/images/logo/dark.png"> </picture> -![Version](https://img.shields.io/github/v/release/maydayv7/dotfiles?include_prereleases&label=version&style=flat-square&logo=github) ![License](https://img.shields.io/github/license/maydayv7/dotfiles?color=dgreen&style=flat-square) ![Size](https://img.shields.io/github/repo-size/maydayv7/dotfiles?color=red&label=size&style=flat-square) [![NixOS](https://img.shields.io/badge/NixOS-23.11-9cf.svg?style=flat-square&logo=NixOS&logoColor=white)](https://nixos.org) +![Version](https://img.shields.io/github/v/release/maydayv7/dotfiles?include_prereleases&label=version&style=flat-square&logo=github) ![License](https://img.shields.io/github/license/maydayv7/dotfiles?color=dgreen&style=flat-square) ![Size](https://img.shields.io/github/repo-size/maydayv7/dotfiles?color=red&label=size&style=flat-square) [![NixOS](https://img.shields.io/badge/NixOS-24.05-9cf.svg?style=flat-square&logo=NixOS&logoColor=white)](https://nixos.org) This [repository](https://github.com/maydayv7/dotfiles) contains the configuration and `dotfiles` for my continuously evolving multi-PC setup (using [Nix](https://nixos.org/)). All the devices I own, controlled by code. It also builds and deploys my website to [maydayv7.my.to](https://maydayv7.my.to). You can follow along with my [NixOS Desktop](https://maydayv7.my.to/series/nixos-desktop/) Series @@ -32,6 +32,10 @@ This [repository](https://github.com/maydayv7/dotfiles) contains the configurati <details> <summary><i>Older...</i></summary> +| ![GNOME 45](./files/images/desktop/old/gnome_45.png) | +| :--------------------------------------------------: | +| _GNOME 45_ | + | ![GNOME 44](./files/images/desktop/old/gnome_44.png) | | :--------------------------------------------------: | | _GNOME 44_ | @@ -503,7 +507,7 @@ You can navigate to the `README`s present in the various directories to know mor <details> <summary><b>Changelog</b></summary> -### v24.1 +### v24.5 - GNOME Improvements - Use [PaperWM](https://github.com/paperwm/PaperWM) and [Pano](https://github.com/oae/gnome-shell-pano) @@ -784,7 +788,7 @@ You can navigate to the `README`s present in the various directories to know mor </details> -> Last Updated: **October** 2024 +> Last Updated: **November** 2024 If you like this project, consider leaving a [star](https://github.com/maydayv7/dotfiles) diff --git a/devices/valkyrie/drivers.nix b/devices/valkyrie/drivers.nix @@ -10,8 +10,13 @@ in { services.fwupd.enable = true; # Discrete GPU - boot.kernelParams = ["nvidia_drm.fbdev=1"]; services.xserver.videoDrivers = mkForce ["nvidia"]; + boot.kernelParams = [ + "nvidia_drm.fbdev=1" # Wayland Support + "NVreg_UsePageAttributeTable=1" # PAT Support + "NVreg_RegistryDwords=RMUseSwI2c=0x01;RMI2cSpeed=100" # DDC/CI Support + ]; + hardware = { vm.passthrough = ["10de:28e0" "10de:22be"]; nvidia = { diff --git a/files/gnome/menu.json b/files/gnome/menu.json @@ -14,13 +14,13 @@ "title": "Test Sound", "command": "find /run/current-system/sw/share/sounds/alsa/ -name '*_*' -exec aplay {} \\;", "instancing": "singleInstance", - "icon": "test-symbolic", + "icon": "sound-symbolic", "killOnDisable": false }, { "type": "command", "title": "Microphone Boost", - "command": "sh -c 'VALUE=$(zenity --scale --text=\"Select Microphone Boost value\" --value=0 --min-value=0 --max-value=100 -–step=5); amixer -c 1 sset 'Mic Boost' $VALUE; amixer -c 1 sset 'Internal Mic Boost' $VALUE'", + "command": "sh -c \"VALUE=$(zenity --scale --text='Select Microphone Boost value' --value=0 --min-value=0 --max-value=100 --step=5); amixer -c 1 sset 'Mic Boost' $VALUE; amixer -c 1 sset 'Internal Mic Boost' $VALUE\"", "instancing": "singleInstance", "icon": "microphone-symbolic", "killOnDisable": false @@ -29,15 +29,23 @@ }, { "type": "submenu", - "title": "File Management", - "icon": "fileopen", + "title": "Phone", + "icon": "smartphone-symbolic", "items": [ { "type": "command", - "title": "iPhone", + "title": "iPhone File Transfer", "command": "systemctl restart usbmuxd.service", "instancing": "singleInstance", - "icon": "smartphone-symbolic", + "icon": "fileopen", + "killOnDisable": false + }, + { + "type": "command", + "title": "ADB Screen Mirror", + "command": "scrcpy --video-codec=h265 --keyboard=uhid --stay-awake --turn-screen-off --power-off-on-close --shortcut-mod=rctrl", + "instancing": "singleInstance", + "icon": "display-projector-symbolic", "killOnDisable": false } ] diff --git a/files/hyprland/clipse/config.json b/files/hyprland/clipse/config.json @@ -1,6 +1,35 @@ { + "themeFile": "theme.json", + "tempDir": "$XDG_DATA_HOME/clipboard/temp", + "logFile": "$XDG_DATA_HOME/clipboard/clipse.log", "historyFile": "$XDG_DATA_HOME/clipboard/history.json", "maxHistory": 150, - "themeFile": "theme.json", - "tempDir": "$XDG_DATA_HOME/clipboard/temp" + "imageDisplay": { + "type": "kitty", + "scaleX": 9, + "scaleY": 9, + "heightCut": 2 + }, + "allowDuplicates": false, + "keyBindings": { + "choose": "enter", + "clearSelected": "S", + "down": "down", + "end": "end", + "filter": "/", + "home": "home", + "more": "?", + "nextPage": "right", + "prevPage": "left", + "preview": "t", + "quit": "q", + "remove": "x", + "selectDown": "ctrl+down", + "selectSingle": "s", + "selectUp": "ctrl+up", + "togglePin": "p", + "togglePinned": "tab", + "up": "up", + "yankFilter": "ctrl+s" + } } diff --git a/files/images/desktop/gnome.png b/files/images/desktop/gnome.png Binary files differ. diff --git a/files/images/desktop/gnome.png b/files/images/desktop/old/gnome_45.png Binary files differ. diff --git a/flake.nix b/flake.nix @@ -23,7 +23,7 @@ # Author -> V 7 <maydayv7@gmail.com> # # License -> MIT # # URL -> github:maydayv7/dotfiles # -# Version -> v24.1 # +# Version -> v24.5 # # --------------------------------------- # # Welcome to Ground Zero! # # The Very Heart of my 'dotfiles' # diff --git a/modules/gui/default.nix b/modules/gui/default.nix @@ -41,6 +41,7 @@ in { # Utilities programs.seahorse.enable = true; + user.homeConfig.services.mpris-proxy.enable = true; services = { gvfs.enable = true; gnome.gnome-keyring.enable = true; diff --git a/modules/hardware/mobile.nix b/modules/hardware/mobile.nix @@ -8,15 +8,13 @@ in { ## Device Firmware ## config = lib.mkIf enable { - ## Android Compatibilty - # Android Device Bridge + # Android Compatibilty user.groups = ["adbusers"]; programs.adb.enable = true; - ## iOS Compatibility - # File Transfer + # iOS Compatibility services.usbmuxd.enable = true; - environment.systemPackages = [pkgs.libimobiledevice]; + environment.systemPackages = with pkgs; [libimobiledevice scrcpy]; #!# Run 'systemctl restart usbmuxd.service' if it doesn't work };