added way edges properly plus screenshots

This commit is contained in:
voidarclabs
2025-12-20 22:56:35 +00:00
parent f9a8681f52
commit 70a636c513
3 changed files with 284 additions and 225 deletions

View File

@@ -1,265 +1,266 @@
{ config, lib, pkgs, inputs, ... }: { config, lib, pkgs, inputs, ... }:
{ {
imports = imports =
[ [
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
inputs.walker.nixosModules.default inputs.walker.nixosModules.default
]; ];
# Allow Nix command and flakes (ofc) # Allow Nix command and flakes (ofc)
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Allow unfree packages # Allow unfree packages
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;
packageOverrides = pkgs: { packageOverrides = pkgs: {
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {}; unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {};
}; };
}; };
}; };
# Boot # Boot
boot = { boot = {
loader = { loader = {
timeout = 2; timeout = 2;
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
}; };
grub = { grub = {
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
theme = pkgs.catppuccin-grub; theme = pkgs.catppuccin-grub;
}; };
}; };
plymouth = { plymouth = {
enable = true; enable = true;
theme = "catppuccin-mocha"; theme = "catppuccin-mocha";
themePackages = with pkgs; [ themePackages = with pkgs; [
# By default we would install all themes # By default we would install all themes
(catppuccin-plymouth.override { (catppuccin-plymouth.override {
variant = "mocha"; variant = "mocha";
}) })
]; ];
}; };
}; };
# Use latest kernel. # Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# Networking settings # Networking settings
networking.hostName = "mobile02"; # Define your hostname. networking.hostName = "mobile02"; # Define your hostname.
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
# Enable bluetooth # Enable bluetooth
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
# Opengl and vulkan # Opengl and vulkan
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-vaapi-driver intel-vaapi-driver
libva-vdpau-driver libva-vdpau-driver
]; ];
}; };
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
# Locale # Locale
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";
i18n.extraLocaleSettings = { i18n.extraLocaleSettings = {
LC_ADDRESS = "en_GB.UTF-8"; LC_ADDRESS = "en_GB.UTF-8";
LC_IDENTIFICATION = "en_GB.UTF-8"; LC_IDENTIFICATION = "en_GB.UTF-8";
LC_MEASUREMENT = "en_GB.UTF-8"; LC_MEASUREMENT = "en_GB.UTF-8";
LC_MONETARY = "en_GB.UTF-8"; LC_MONETARY = "en_GB.UTF-8";
LC_NAME = "en_GB.UTF-8"; LC_NAME = "en_GB.UTF-8";
LC_NUMERIC = "en_GB.UTF-8"; LC_NUMERIC = "en_GB.UTF-8";
LC_PAPER = "en_GB.UTF-8"; LC_PAPER = "en_GB.UTF-8";
LC_TELEPHONE = "en_GB.UTF-8"; LC_TELEPHONE = "en_GB.UTF-8";
LC_TIME = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8";
}; };
# Windowing Systems # Windowing Systems
services.xserver.enable = true; services.xserver.enable = true;
services.displayManager.sddm = { services.displayManager.sddm = {
enable = true; enable = true;
theme = "catppuccin-mocha-mauve"; theme = "catppuccin-mocha-mauve";
package = pkgs.kdePackages.sddm; package = pkgs.kdePackages.sddm;
}; };
programs.hyprland.enable = true; programs.hyprland.enable = true;
security.polkit.enable = true; security.polkit.enable = true;
# Keymap # Keymap
services.xserver.xkb = { services.xserver.xkb = {
layout = "gb"; layout = "gb";
variant = ""; variant = "";
}; };
console.keyMap = "uk"; console.keyMap = "uk";
# Pipewire # Pipewire
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
}; };
# Local User # Local User
users.users.user01 = { users.users.user01 = {
isNormalUser = true; isNormalUser = true;
shell = pkgs.zsh; shell = pkgs.zsh;
description = "user01"; description = "user01";
extraGroups = [ "input" "bluetooth" "networkmanager" "docker" "wheel" ]; extraGroups = [ "input" "bluetooth" "networkmanager" "docker" "wheel" ];
packages = with pkgs; [ packages = with pkgs; [
# Ricing # Ricing
bibata-cursors bibata-cursors
catppuccin-gtk catppuccin-gtk
(builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default inputs.way-edges.packages.${pkgs.system}.way-edges
waybar waybar
hyprlock hyprlock
swaynotificationcenter swaynotificationcenter
inputs.chataigne.packages.${pkgs.system}.chataigne inputs.chataigne.packages.${pkgs.system}.chataigne
wlogout wlogout
wpaperd wpaperd
kando kando
oh-my-posh oh-my-posh
grimblast
# Terminal # Terminal
carapace carapace
kitty kitty
github-cli github-cli
light light
bluetuith bluetuith
wget wget
playerctl playerctl
git git
fastfetch fastfetch
lsd lsd
juce juce
stow stow
fzf fzf
ripgrep ripgrep
zsh-autocomplete zsh-autocomplete
nodejs nodejs
lazygit lazygit
tailscale tailscale
# Thunar stuff # Thunar stuff
xfce.thunar xfce.thunar
xfce.thunar-volman xfce.thunar-volman
xfce.thunar-vcs-plugin xfce.thunar-vcs-plugin
xfce.thunar-archive-plugin xfce.thunar-archive-plugin
# Apps # Apps
pavucontrol pavucontrol
firefox firefox
tor-browser tor-browser
gotify-desktop gotify-desktop
techmino techmino
mpv mpv
prismlauncher prismlauncher
delfin delfin
libreoffice-qt6 libreoffice-qt6
syncthing syncthing
xremap xremap
blueman blueman
]; ];
}; };
# Zsh # Zsh
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
enableBashCompletion = true; enableBashCompletion = true;
autosuggestions.enable = true; autosuggestions.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
histSize = 10000; histSize = 10000;
ohMyZsh = { ohMyZsh = {
enable = true; enable = true;
plugins = [ "git" "dirhistory" "history" ]; plugins = [ "git" "dirhistory" "history" ];
}; };
}; };
# User programs # User programs
programs.steam.enable = true; programs.steam.enable = true;
programs.walker.enable = true; programs.walker.enable = true;
# User Services # User Services
services.gvfs.enable = true; services.gvfs.enable = true;
services.tailscale.enable = true; services.tailscale.enable = true;
services.printing.enable = true; services.printing.enable = true;
services.upower.enable = true; services.upower.enable = true;
services.openssh.enable = true; services.openssh.enable = true;
services.elephant.enable = true; services.elephant.enable = true;
# Fonts # Fonts
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
nerd-fonts.fira-mono nerd-fonts.fira-mono
]; ];
fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ]; fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Catppuccin sddm theme # Catppuccin sddm theme
(pkgs.catppuccin-sddm.override { (pkgs.catppuccin-sddm.override {
flavor = "mocha"; flavor = "mocha";
font = "Fira Mono Nerd Font"; font = "Fira Mono Nerd Font";
fontSize = "11"; fontSize = "11";
background = null; background = null;
}) })
# Terminal things # Terminal things
(pkgs.symlinkJoin { (pkgs.symlinkJoin {
name = "nvim-with-lsp"; name = "nvim-with-lsp";
paths = [ pkgs.neovim ]; paths = [ pkgs.neovim ];
buildInputs = [ pkgs.makeWrapper ]; buildInputs = [ pkgs.makeWrapper ];
postBuild = '' postBuild = ''
wrapProgram $out/bin/nvim \ wrapProgram $out/bin/nvim \
--prefix PATH : ${pkgs.lib.makeBinPath [ --prefix PATH : ${pkgs.lib.makeBinPath [
pkgs.lua-language-server pkgs.lua-language-server
pkgs.vscode-langservers-extracted pkgs.vscode-langservers-extracted
pkgs.emmet-ls pkgs.emmet-ls
pkgs.ripgrep pkgs.ripgrep
pkgs.nil pkgs.nil
pkgs.nixd pkgs.nixd
pkgs.typescript-language-server pkgs.typescript-language-server
pkgs.tailwindcss-language-server pkgs.tailwindcss-language-server
pkgs.stylua pkgs.stylua
]} ]}
''; '';
}) })
vim vim
unzip unzip
python310 # Its python like come on python310 # Its python like come on
# Graphics Drivers # Graphics Drivers
mesa mesa
vulkan-tools vulkan-tools
# FileSystem Dependancies # FileSystem Dependancies
gvfs gvfs
# C copmpiler # C copmpiler
clang clang
# XDG Desktop Portal Etc # XDG Desktop Portal Etc
xdg-desktop-portal xdg-desktop-portal
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
# Other things (from gnome) # Other things (from gnome)
glib glib
gnutls gnutls
appimage-run appimage-run
libnotify libnotify
gsettings-desktop-schemas gsettings-desktop-schemas
]; ];
# The comment # The comment
system.stateVersion = "25.05"; # Did you read the comment? system.stateVersion = "25.05"; # Did you read the comment?
} }

59
flake.lock generated
View File

@@ -98,6 +98,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": {
"locked": {
"lastModified": 1761597516,
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "daf6dc47aa4b44791372d6139ab7b25269184d55",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"pinned-nixpkgs": { "pinned-nixpkgs": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -120,7 +136,29 @@
"chataigne": "chataigne", "chataigne": "chataigne",
"elephant": "elephant", "elephant": "elephant",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"walker": "walker" "walker": "walker",
"way-edges": "way-edges"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": [
"way-edges",
"nixpkgs"
]
},
"locked": {
"lastModified": 1761878277,
"narHash": "sha256-6fCtyVdTzoQejwoextAu7dCLoy5fyD3WVh+Qm7t2Nhg=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "6604534e44090c917db714faa58d47861657690c",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
} }
}, },
"systems": { "systems": {
@@ -174,6 +212,25 @@
"repo": "walker", "repo": "walker",
"type": "github" "type": "github"
} }
},
"way-edges": {
"inputs": {
"nixpkgs": "nixpkgs_5",
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1766153193,
"narHash": "sha256-E1kDfofMXNX5XjrJggSFDVid6/1ETmbp3qRXuuGd6zM=",
"owner": "way-edges",
"repo": "way-edges",
"rev": "03a9091642ad39345115223890000481eeac8333",
"type": "github"
},
"original": {
"owner": "way-edges",
"repo": "way-edges",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@@ -5,6 +5,7 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
elephant.url = "github:abenz1267/elephant"; elephant.url = "github:abenz1267/elephant";
chataigne.url = "./chataigne"; chataigne.url = "./chataigne";
way-edges.url = "github:way-edges/way-edges";
walker = { walker = {
url = "github:abenz1267/walker"; url = "github:abenz1267/walker";