❄️ My personnal NixOS configuration
nix-flake nixos-configuration linux dotfiles flake nix nix-config nixos nixos-flake linux-desktop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

「✨」 feat(Hyprlock): Lockscreen ricing :tada:

adjoly 7ebe2296 9937aace

+147 -10
+2 -1
flake.nix
··· 51 51 52 52 catppuccin.nixosModules.catppuccin 53 53 54 - nixos-hardware.nixosModules.dell-precision-5530 54 + /home/adjoly/workspace/nixos-hardware/dell/precision/5530/default.nix 55 + #nixos-hardware.nixosModules.dell-precision-5530 55 56 ]; 56 57 }; 57 58 };
+2 -1
home/adjoly/home.nix
··· 67 67 ripgrep 68 68 molotov 69 69 discord 70 - obsidian 70 + obsidian 71 71 playerctl 72 72 hyprpaper 73 73 parsec-bin 74 74 libreoffice 75 75 tradingview 76 + qbittorrent 76 77 prismlauncher 77 78 nextcloud-client 78 79 unstable.vivaldi
+3 -2
home/adjoly/wm/hyprland.nix
··· 5 5 ./tofi.nix 6 6 ./dunst.nix 7 7 ./waybar.nix 8 - ./swaylock.nix 8 + #./swaylock.nix 9 + ./hyprlock.nix 9 10 ./hyprpaper.nix 10 11 # ./xdg.nix 11 12 ]; ··· 37 38 "CONTROLALT, delete, exec, hyprctl dispatch exit" 38 39 "$mod, return, exec, kitty" 39 40 "$mod, Q, killactive" 40 - "$win, L, exec, swaylock" 41 + "$win, L, exec, hyprlock" 41 42 "$win + SHIFT, S, exec, grimblast --notify copysave area \"$HOME/Nextcloud/Images/Captures d’écran/Capture d’écran $(date +%F-%H%M%S).png\"" 42 43 "CTRL_SHIFT, K, sendshortcut, CTRL, K, ^(Beeper)$" 43 44 ]
+107
home/adjoly/wm/hyprlock.nix
··· 1 + { pkgs, ... }: 2 + 3 + let 4 + source = pkgs.fetchurl { 5 + url = "https://drive.keyzox.me/s/Ednt9KMCy83rMnp/download/hyprlock.png"; 6 + sha256 = "mRpFtFyEbZjH3y501UrA/O+jhBNvtlD/6VwkCwYlITQ="; 7 + }; 8 + bsky-profile = pkgs.fetchurl { 9 + url = "https://cdn.bsky.app/img/avatar/plain/did:plc:7g74v3wiannux6tuc5t74gln/bafkreigdabcv3w3qmabjtkwxb6rnvtgnk3megwdcclni6bkv4frbcqf4ma@jpeg"; 10 + sha256 = "jKqJ+6PEO37NpY0FakGAwrRKzY1N6A6mYeUxhaL+jAA="; 11 + }; 12 + in 13 + { 14 + programs.hyprlock = { 15 + enable = true; 16 + catppuccin.enable = false; 17 + settings = { 18 + general = { 19 + disable_loading_bar = true; 20 + no_fade_in = true; 21 + ignore_empty_input = true; 22 + grace = 0; 23 + }; 24 + input-field = { 25 + monitor = ""; 26 + size = "200, 50"; 27 + position = "0, 150"; 28 + outer_color = "rgba(0, 0, 0, 0)"; 29 + fail_color = "rgba(231, 130, 132, 0.90)"; 30 + fail_text = "Wrong password"; 31 + check_color = "rgba(225, 200, 145, 0.90)"; 32 + rounding = 10; 33 + font_color = "rgba(198, 208, 245, 1.0)"; 34 + font_size = 3; 35 + dot_spacing = 0.3; 36 + dot_size = 1.0; 37 + inner_color = "rgba(48, 52, 70, 0.7)"; 38 + placeholder_text = "Enter password"; 39 + hide_input = false; 40 + fade_on_empty = false; 41 + halign = "center"; 42 + valign = "bottom"; 43 + font_family = "Noto Sans Regular"; 44 + outline_thickness = 2; 45 + }; 46 + background = { 47 + blur_passes = 1; 48 + blur_size = 1; 49 + monitor = ""; 50 + path = "${source}"; 51 + }; 52 + label = [ 53 + { 54 + monitor = ""; 55 + font_size = 120; 56 + position = "0, 250"; 57 + text = "cmd[update:1000] echo \"<span>\$(date +\"\%H:\%M\")</span>\""; 58 + halign = "center"; 59 + valign = "center"; 60 + font_family = "Noto Sans Medium"; 61 + color = "rgba(216, 222, 233, 0.90)"; 62 + } 63 + { 64 + text = "cmd[update:1000] echo -e \"$(date +\"%A, %B %d\")\""; 65 + monitor = ""; 66 + position = "0, 350"; 67 + halign = "center"; 68 + valign = "center"; 69 + font_family = "Noto Sans Medium"; 70 + color = "rgba(216, 222, 233, 0.90)"; 71 + } 72 + { 73 + text = "adjoly's computer"; 74 + position = "0, 225"; 75 + font_size = 15; 76 + font_family = "Noto Sans Medium"; 77 + color = "rgba(216, 222, 233, 0.95)"; 78 + halign = "center"; 79 + valign = "botton"; 80 + } 81 + ]; 82 + shape = [ 83 + { 84 + monitor = ""; 85 + size = "300, 350"; 86 + position = "0, 100"; 87 + halign = "center"; 88 + valign = "botton"; 89 + color = "rgba(81, 87, 109, 0.5)"; 90 + rounding = 10; 91 + } 92 + ]; 93 + image = [ 94 + { 95 + monitor = ""; 96 + path = "${bsky-profile}"; 97 + border_size = 0; 98 + position = "0, 270"; 99 + size = 130; 100 + rounding = -1; 101 + halign = "center"; 102 + valign = "botton"; 103 + } 104 + ]; 105 + }; 106 + }; 107 + }
+3 -1
home/adjoly/wm/waybar.nix
··· 52 52 clock = { 53 53 format = "{:%a %d %b | %H : %M}"; 54 54 tooltip = false; 55 - on-click = "zenity --calendar"; 55 + on-click = "GSK_RENDERER=gl zenity --calendar"; 56 56 }; 57 57 58 58 # --------------------------------------------------------- ··· 113 113 warning = 30; 114 114 critical = 15; 115 115 }; 116 + on-click-right = "hyprlock & systemctl suspend"; 117 + on-click-middle = "hyprlock & systemctl hibernate"; 116 118 }; 117 119 118 120 };
+4
hosts/LAPTOP-5530-ADAM/default.nix
··· 6 6 ./env.nix 7 7 ./boot.nix 8 8 ./fonts.nix 9 + ./wireguard.nix 9 10 ./virtualbox.nix 10 11 ./services/sddm.nix 11 12 ./services/sound.nix ··· 27 28 enable = true; 28 29 platformTheme = "qt5ct"; 29 30 }; 31 + 32 + security.pam.services.hyprlock = {}; 30 33 31 34 programs.dconf.enable = true; 32 35 ··· 80 83 btop 81 84 unzip 82 85 bluetuith 86 + cifs-utils 83 87 xfce.thunar 84 88 wl-clipboard 85 89 brightnessctl
+3 -5
hosts/LAPTOP-5530-ADAM/fonts.nix
··· 7 7 (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) 8 8 9 9 jetbrains-mono 10 - noto-fonts-emoji 11 - vistafonts 12 - corefonts 10 + noto-fonts 13 11 ]; 14 12 fontconfig = { 15 13 enable = true; 16 14 defaultFonts = { 17 15 serif = [ 18 - "Noto Serif" 16 + "Noto Sans Mono" 19 17 "Noto Color Emoji" 20 18 ]; 21 19 sansSerif = [ 22 - "Noto Sans" 20 + "JetBrains Mono" 23 21 "Noto Color Emoji" 24 22 ]; 25 23 monospace = [
+23
hosts/LAPTOP-5530-ADAM/wireguard.nix
··· 1 + { ... }: 2 + 3 + { 4 + networking.wg-quick.interfaces = { 5 + wg0 = { 6 + address = [ "100.117.135.231/32" ]; 7 + dns = [ "10.255.255.1" ]; 8 + privateKeyFile = "/home/adjoly/workspace/wg-windscribe/privKey"; 9 + peers = [ 10 + { 11 + allowedIPs = [ 12 + "0.0.0.0/0" 13 + "::/0" 14 + ]; 15 + endpoint = "bru-99-wg.whiskergalaxy.com:443"; 16 + publicKey = "TA+nBx5qMBdyIiug4SHgbw30/GXrRZ2aUAH7MQHJwzc="; 17 + presharedKeyFile = "/home/adjoly/workspace/wg-windscribe/preSharedKey"; 18 + } 19 + ]; 20 + autostart = false; 21 + }; 22 + }; 23 + }