From 5f645596767b81cb090e3489165ea97bbc2eca06 Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 25 Apr 2025 00:14:11 +0200 Subject: [PATCH] set rofi theme by default and add wireshark to laptop config --- Makefile | 2 +- homeConfigs/home.nix | 4 +++- homeConfigs/hosts/laptop.nix | 1 + osConfigs/global.nix | 4 ++-- osConfigs/hosts/laptop.nix | 3 +++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 245a96f..49c53f4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ HOST ?= $(file < /etc/nixosFlakeName) THREADS ?= $(shell nproc) FLAKE ?= . -MODE = boot +MODE = switch FLAGS = --impure --cores $(THREADS) -j $(THREADS) diff --git a/homeConfigs/home.nix b/homeConfigs/home.nix index 4c731ba..1abb99f 100644 --- a/homeConfigs/home.nix +++ b/homeConfigs/home.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# # -# Updated: 2025/03/19 15:45:13 by tomoron ### ########.fr # +# Updated: 2025/04/25 00:08:54 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -64,9 +64,11 @@ home.sessionPath = [ "~/.local/bin" ]; + home.file = { #should be able to make most of these in nix configs ".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png; ".config/pc.jpg".source = lib.mkDefault utils/pc.jpg; + ".config/rofi/config.rasi".text = "@theme \"rounded-nord-dark.rasi\""; ".local/share/rofi/themes".source = "${builtins.fetchGit { url = "https://github.com/newmanls/rofi-themes-collection"; diff --git a/homeConfigs/hosts/laptop.nix b/homeConfigs/hosts/laptop.nix index fd5cbf1..9e9b789 100644 --- a/homeConfigs/hosts/laptop.nix +++ b/homeConfigs/hosts/laptop.nix @@ -39,6 +39,7 @@ home.packages = with pkgs; [ stremio blender + wireshark ]; #mods.sync.syncedAdditions = ["VirtualBox VMs"]; diff --git a/osConfigs/global.nix b/osConfigs/global.nix index 49965d6..dc20f76 100644 --- a/osConfigs/global.nix +++ b/osConfigs/global.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2025/02/09 01:43:46 by tomoron #+# #+# # -# Updated: 2025/04/03 13:24:06 by tomoron ### ########.fr # +# Updated: 2025/04/23 20:31:46 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -46,7 +46,7 @@ users.users.tom = { isNormalUser = true; - extraGroups = [ "wheel" "docker" "libvirtd" "dialout"]; + extraGroups = [ "wheel" "docker" "libvirtd" "dialout" "wireshark"]; initialPassword = "password"; }; diff --git a/osConfigs/hosts/laptop.nix b/osConfigs/hosts/laptop.nix index 608d25b..2b9d206 100644 --- a/osConfigs/hosts/laptop.nix +++ b/osConfigs/hosts/laptop.nix @@ -53,6 +53,9 @@ services.udev.packages = [ pkgs.yubikey-personalization ]; + programs.wireshark.enable = true; + programs.wireshark.usbmon.enable = true; + # boot.plymouth = { # enable = true; # theme = "ycontre-glow";