This commit is contained in:
vanten-s 2025-08-23 12:21:51 +02:00
parent 2306007e5c
commit f601e5854f
Signed by: vanten-s
GPG key ID: DE3060396884D3F2
10 changed files with 61 additions and 31 deletions

View file

@ -13,6 +13,8 @@ in {
./dotfiles/local/local-nixos.nix ./dotfiles/local/local-nixos.nix
]; ];
boot.kernel.sysctl = { "net.ipv6.conf.all.disable_ipv6" = true; "net.ipv6.conf.default.disable_ipv6" = true;};
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@ -29,6 +31,7 @@ in {
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.resolved.enable = true;
services.printing.enable = true; services.printing.enable = true;
services.avahi = { services.avahi = {
@ -70,8 +73,9 @@ in {
programs.hyprland.enable = true; programs.hyprland.enable = true;
services.xserver.enable = true; services.xserver.enable = true;
# You may need to comment out "services.displayManager.gdm.enable = true;" # You may need to comment out "services.displayManager.gdm.enable = true;"
services.displayManager.sddm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.desktopManager.plasma6.enable = true; # services.desktopManager.plasma6.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Configure console keymap # Configure console keymap
console.keyMap = "sv-latin1"; console.keyMap = "sv-latin1";
@ -137,9 +141,10 @@ in {
waybar waybar
glib glib
links2 links2
dolphin picoscope
kdePackages.dolphin
pkg-config pkg-config
gnome.nautilus nautilus
kitty kitty
librewolf librewolf
fuzzel fuzzel
@ -151,7 +156,7 @@ in {
git git
gnupg gnupg
dmenu dmenu
gnome.adwaita-icon-theme adwaita-icon-theme
wtype wtype
cifs-utils cifs-utils
ffmpeg ffmpeg
@ -206,6 +211,7 @@ in {
zlib zlib
fuse3 fuse3
icu icu
libmpc
zlib zlib
nss nss
openssl openssl
@ -258,7 +264,6 @@ in {
enable = true; enable = true;
package = pkgs.mlocate; package = pkgs.mlocate;
interval = "hourly"; interval = "hourly";
localuser = null;
}; };
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
@ -276,7 +281,10 @@ in {
services.xserver.xkb.variant = ""; services.xserver.xkb.variant = "";
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" "RobotoMono" "JetBrainsMono" ]; }) pkgs.nerd-fonts.fira-code
pkgs.nerd-fonts.comic-shanns-mono
pkgs.nerd-fonts.roboto-mono
pkgs.nerd-fonts.jetbrains-mono
comic-mono comic-mono
]; ];

View file

@ -5,7 +5,9 @@ xwayland {
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
source=~/.config/local/display.conf source=~/.config/local/display.conf
exec-once = waybar & waypaper --restore exec-once = waybar
# exec-once = mpvpaper -o "--speed=1 --video-zoom=0.2 --loop" eDP-1 .wallpapers/black-cat-sakura-bridge-pixel-moewalls-com.mp4
exec-once = mpvpaper -o "--speed=1 --video-zoom=0.2 --loop" eDP-1 .wallpapers/pixel-lofi-city-moewalls-com.mp4
exec-once = mako exec-once = mako
exec-once = xhost +local: exec-once = xhost +local:
@ -28,8 +30,8 @@ input {
general { general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 0 gaps_in = 5
gaps_out = 0 gaps_out = 10
border_size = 2 border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa) col.inactive_border = rgba(595959aa)
@ -43,7 +45,7 @@ general {
decoration { decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 0 rounding = 5
blur { blur {
enabled = true enabled = true
@ -52,10 +54,12 @@ decoration {
special = true special = true
} }
drop_shadow = no shadow {
shadow_range = 10 enabled = true
shadow_render_power = 3 range = 10
col.shadow = rgba(1a1a1aee) render_power = 3
color = rgba(1a1a1aee)
}
} }
animations { animations {
@ -120,9 +124,9 @@ bind = $mainMod SHIFT, D, exec, ~/scripts/down.sh
bind = $mainMod, U, exec, ~/scripts/up.sh bind = $mainMod, U, exec, ~/scripts/up.sh
bind = $mainMod SHIFT, L, exec, hyprlock bind = $mainMod SHIFT, L, exec, hyprlock
bind = $mainMod SHIFT, S, exec, grimblast save area ss.png && wl-copy < ss.png bind = $mainMod SHIFT, S, exec, grimblast save area ss.png && wl-copy < ss.png
bind = $mainMod, N, exec, vimb http://networkcheck.kde.org
bind = $mainMod SHIFT, R, forcerendererreload bind = $mainMod SHIFT, R, forcerendererreload
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, F, fakefullscreen
bind = $mainMod SHIFT, F, fullscreen, 0 bind = $mainMod SHIFT, F, fullscreen, 0
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
@ -143,6 +147,17 @@ bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10
workspace = 1, monitor:HDMI-A-1
workspace = 2, monitor:eDP-1
workspace = 3, monitor:eDP-1
workspace = 4, monitor:HDMI-A-1
workspace = 5, monitor:eDP-1
workspace = 6, monitor:HDMI-A-1
workspace = 7, monitor:eDP-1
workspace = 8, monitor:eDP-1
workspace = 9, monitor:eDP-1
workspace = 10, monitor:eDP-1
# Move active window to a workspace with mainMod + SHIFT + [0-9] # Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2

View file

@ -1,3 +1,3 @@
font_family RobotoMono Nerd Font font_family ComicShannsMono Nerd Font
background_opacity 1 background_opacity 1
include mocha.conf include mocha.conf

Binary file not shown.

Binary file not shown.

View file

@ -26,11 +26,11 @@
// Modules configuration // Modules configuration
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"all-outputs": false, "all-outputs": true,
"warp-on-scroll": false, "warp-on-scroll": false,
"active-only": false, "active-only": false,
"format": "{icon}", "format": "{icon}",
"persistent-workspaces": {"*": 9}, "persistent-workspaces": {},
"format-icons": { "format-icons": {
"1": "", "1": "",
"2": "", "2": "",

View file

@ -7,31 +7,32 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1710062421, "lastModified": 1739757849,
"narHash": "sha256-FiCNRfyUgJOLYIokLiFsfI7B+Zn9HDnOzFR3uVr5qsQ=", "narHash": "sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "36f873dfc8e2b6b89936ff3e2b74803d50447e0a", "rev": "9d3d080aec2a35e05a15cedd281c2384767c2cfe",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1709961763, "lastModified": 1739758141,
"narHash": "sha256-6H95HGJHhEZtyYA3rIQpvamMKAGoa8Yh2rFV29QnuGw=", "narHash": "sha256-uq6A2L7o1/tR6VfmYhZWoVAwb3gTy7j4Jx30MIrH0rE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3030f185ba6a4bf4f18b87f345f104e6a6961f34", "rev": "c618e28f70257593de75a7044438efc1c1fc0791",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -3,9 +3,9 @@
inputs = { inputs = {
# Specify the source of Home Manager and Nixpkgs. # Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };

View file

@ -19,15 +19,24 @@
mako mako
kdePackages.kalgebra kdePackages.kalgebra
libreoffice libreoffice
spotify
hexchat
weechat
mpv
slack
mpvpaper
htop htop
vimb
vlc vlc
paprefs paprefs
ripgrep ripgrep
chromium chromium
xwaylandvideobridge xwaylandvideobridge
element-desktop
qtpass qtpass
pipewire pipewire
jdk21 jdk21
eww
wireplumber wireplumber
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
qt6.qtwayland qt6.qtwayland
@ -36,13 +45,10 @@
clang clang
obs-studio obs-studio
prismlauncher prismlauncher
prusa-slicer
freecad freecad
direnv direnv
easyeffects easyeffects
tmux tmux
kicad
spotify
arduino-ide arduino-ide
gimp gimp
feh feh