From 6bc29c58bd2d1df05b7aba61489558d02ea6e62c Mon Sep 17 00:00:00 2001 From: voidarclabs Date: Mon, 3 Nov 2025 12:56:15 +0000 Subject: [PATCH] fixed wallpapers and added nix config --- .config/dconf/user | Bin 5861 -> 5861 bytes .config/hypr/startup.conf | 2 +- .config/wpaperd/config.toml | 2 +- configuration.nix => .nixos/configuration.nix | 95 +++++++----------- .nixos/flake.nix | 16 +++ 5 files changed, 56 insertions(+), 59 deletions(-) rename configuration.nix => .nixos/configuration.nix (60%) create mode 100644 .nixos/flake.nix diff --git a/.config/dconf/user b/.config/dconf/user index b0d5f64c3c145fb3e75f6fbcab50eb55cafbf64b..5cf43482ec8efcd9f9c7d5ad622eaca0a935c441 100644 GIT binary patch delta 145 zcmaE=`&4&B38$*D-J?kg3=9k+Vhjud3}p-&Kw2A!*E0*K>jA|||@ftNcb_aYH>LO9NvgGqcU|LSLB` oiZk-db&E5rQgxH_b4qjbfaWqVG9;B0CFT|9B$lL3HWAwh0FaU-!2kdN delta 144 zcmaE=`&4&B38(6MW&w3Q1_lNZF$M-shB5{PAgv6<#&(Y;DFDSmY=O-)Ijvb3LpNXL z&1Yl`+3d=HnvvJQ*wWC@SkK(h!ob3KvYe3IWNX2z{Du~0Mi!Q)Kw%RzV^fRG@L%ysl;-9!Og0hQ2mnuiB#Zz6 diff --git a/.config/hypr/startup.conf b/.config/hypr/startup.conf index 9275243f..edb141bd 100644 --- a/.config/hypr/startup.conf +++ b/.config/hypr/startup.conf @@ -7,7 +7,7 @@ exec-once = way-edges # Screen Edge Shell exec-once = waybar # System bar exec-once = swaync # Notifications exec-once = xremap ~/.config/xremap/config.yml --device /dev/input/event0 # Remap Caps to esc so i can use nvim without losing it -exec-once = swww-daemon # Wallpaper +exec-once = wpaperd -d # Wallpaper exec-once = ~/.config/scripts/.venv/bin/python ~/.config/scripts/notify.py # Android notification forwarding exec-once = wayvnc 0.0.0.0 --output=DP-1 # runs vnc server on all interfaces exec-once = syncthing -home=/home/user01/.config/syncthing -no-browser # starts syncthing in background diff --git a/.config/wpaperd/config.toml b/.config/wpaperd/config.toml index c7d0b83c..6bc5147c 100644 --- a/.config/wpaperd/config.toml +++ b/.config/wpaperd/config.toml @@ -1,2 +1,2 @@ [any] -path = "/home/user01/Documents/projects/stow/.config/wallpapers" +path = "/home/user01/.config/wallpapers" diff --git a/configuration.nix b/.nixos/configuration.nix similarity index 60% rename from configuration.nix rename to .nixos/configuration.nix index a214b08f..50d3ec18 100644 --- a/configuration.nix +++ b/.nixos/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { imports = @@ -6,14 +6,14 @@ ./hardware-configuration.nix ]; # Allow Nix command and flakes (ofc) - nix.settings.experimental-features = [ "nix-command" "flakes" ]; // you want this + nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Allow unfree packages nixpkgs = { config = { allowUnfree = true; packageOverrides = pkgs: { - unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {}; #to install packages from unstable, put "unstable." before the package + unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {}; }; }; }; @@ -23,17 +23,17 @@ loader = { timeout = 2; efi = { - canTouchEfiVariables = true; # allows dual booting windows i think + canTouchEfiVariables = true; }; grub = { efiSupport = true; device = "nodev"; - theme = pkgs.catppuccin-grub; #nice grub theme + theme = pkgs.catppuccin-grub; }; }; plymouth = { enable = true; - theme = "catppuccin-mocha"; # nice plymouth theme + theme = "catppuccin-mocha"; themePackages = with pkgs; [ # By default we would install all themes (catppuccin-plymouth.override { @@ -47,8 +47,8 @@ boot.kernelPackages = pkgs.linuxPackages_latest; # Networking settings - networking.hostName = "mobile02"; # Define your hostname. #change this to whatever u want ur hostname to be (will kick you off wifi) - networking.networkmanager.enable = true; #nmtui the goat + networking.hostName = "mobile02"; # Define your hostname. + networking.networkmanager.enable = true; # Enable bluetooth hardware.bluetooth.enable = true; @@ -56,14 +56,14 @@ # Opengl and vulkan hardware.graphics = { enable = true; - extraPackages = with pkgs; [ # change if not intel graphics + extraPackages = with pkgs; [ vaapiIntel vaapiVdpau ]; }; # Set your time zone. - time.timeZone = "Europe/London"; # obvious + time.timeZone = "Europe/London"; # Locale i18n.defaultLocale = "en_GB.UTF-8"; @@ -83,10 +83,10 @@ services.xserver.enable = true; services.displayManager.sddm = { enable = true; - theme = "catppuccin-mocha"; # login theme + theme = "catppuccin-mocha"; package = pkgs.kdePackages.sddm; }; - programs.hyprland.enable = true; # hyprland and io management + programs.hyprland.enable = true; security.polkit.enable = true; # Keymap @@ -96,12 +96,10 @@ }; console.keyMap = "uk"; - # Enable CUPS to print documents. (idk why this is here) - # Pipewire - services.pulseaudio.enable = false; # fuck pulseaudio + services.pulseaudio.enable = false; security.rtkit.enable = true; - services.pipewire = { # my goat pipewire + services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; @@ -109,39 +107,39 @@ }; # Local User - users.users.user01 = { # change user01 to what u want ur username to be + users.users.user01 = { isNormalUser = true; - shell = pkgs.zsh; # best shell ovs - description = "user01"; # useless lol - extraGroups = [ "input" "networkmanager" "docker" "wheel" ]; # docker not needed, but incase u want to install - packages = with pkgs; [ # packages that are installed only for ur user (if you switch user then these wont be available) + shell = pkgs.zsh; + description = "user01"; + extraGroups = [ "input" "networkmanager" "docker" "wheel" ]; + packages = with pkgs; [ # Ricing bibata-cursors catppuccin-gtk - # (builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default (ignore this) + (builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default waybar swaynotificationcenter fuzzel - swww # to set wallpapers, "swww img (path to img) - oh-my-posh # terminal shell + wpaperd + oh-my-posh # Terminal - carapace # better autocomplete + carapace kitty github-cli light - bluetuith # bluetooth tui if u want it + bluetuith wget playerctl git fastfetch - lsd # better ls - # juce (ignore) - stow # for config management + lsd + juce + stow fzf - ripgrep # nvim stuff + ripgrep zsh-autocomplete - # (if u want) nodejs + nodejs lazygit tailscale @@ -154,8 +152,8 @@ # Apps pavucontrol firefox - # tor-browser (if u want) - # gotify-desktop (ignore this, it's useless) + tor-browser + gotify-desktop techmino mpv prismlauncher @@ -168,7 +166,7 @@ }; # Zsh - programs.zsh = { # terminal config + programs.zsh = { enable = true; enableCompletion = true; enableBashCompletion = true; @@ -181,27 +179,10 @@ }; }; - # Ntfy Notifcations (doesnt work, feel free to delete) - systemd.user.services.ntfy-listener = { - description = "NTFY listener for Hyprland notifications"; - after = [ "network-online.target" ]; - wants = [ "network-online.target" ]; - - serviceConfig = { - ExecStart = "/home/user01/.config/scripts/.venv/bin/python /home/user01/.config/scripts/notify.py"; - Restart = "always"; - RestartSec = 5; - Environment = "DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/%U PATH=/run/current-system/sw/bin"; - WorkingDirectory = "/home/user01"; # optional, but can help - }; - - wantedBy = [ "default.target" ]; - }; - # User programs programs.steam.enable = true; -# User Services (disable some of these idk) +# User Services services.gvfs.enable = true; services.tailscale.enable = true; services.printing.enable = true; @@ -210,11 +191,11 @@ # Fonts fonts.packages = with pkgs; [ - nerd-fonts.fira-mono # best terminal font + nerd-fonts.fira-mono ]; fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ]; - environment.systemPackages = with pkgs; [ # packages that are installed systemwide (dw u can still use user packages with sudo) + environment.systemPackages = with pkgs; [ # Catppuccin sddm theme (pkgs.catppuccin-sddm.override { @@ -230,7 +211,7 @@ buildInputs = [ pkgs.makeWrapper ]; postBuild = '' wrapProgram $out/bin/nvim \ - --prefix PATH : ${pkgs.lib.makeBinPath [ # put lsps and stuff in this list, won't be accessible to anything but nvim (need to precede with pkgs.) + --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.lua-language-server pkgs.vscode-langservers-extracted pkgs.emmet-ls @@ -241,7 +222,7 @@ ]} ''; }) - vim # dont remove or u die (nano is always installed just in case) + vim unzip python310 # Its python like come on @@ -267,7 +248,7 @@ gsettings-desktop-schemas ]; - # The comment (don't ever change this number, its important) + # The comment system.stateVersion = "25.05"; # Did you read the comment? } diff --git a/.nixos/flake.nix b/.nixos/flake.nix new file mode 100644 index 00000000..eb492a7f --- /dev/null +++ b/.nixos/flake.nix @@ -0,0 +1,16 @@ +{ + description = "My NixOS system configuration"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + + outputs = { self, nixpkgs, ... }@inputs: + { + nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./configuration.nix + ]; + }; + }; +} +