Compare commits

..

12 Commits

13 changed files with 60 additions and 47 deletions

View File

@ -30,11 +30,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764173295, "lastModified": 1769774308,
"narHash": "sha256-Jh4VtPcK2Ov+RTcV9FtyQRsxiJmXFQGfqX6jjM7/mgc=", "narHash": "sha256-8Ve6VdUpcYbl8bS5oyDwVnnNobyPxdPmUHGgSDyOazQ=",
"owner": "aylur", "owner": "aylur",
"repo": "astal", "repo": "astal",
"rev": "7d1fac8a4b2a14954843a978d2ddde86168c75ef", "rev": "eb235f8813bdea2a4a38ac228f2efc4e2a8a90af",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -132,11 +132,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767930051, "lastModified": 1773093840,
"narHash": "sha256-YXtqo8h5bAbqC64XAPMMsZdYk8XkwkyNj/7XOsIyVf8=", "narHash": "sha256-u/96NoAyN8BSRuM3ZimGf7vyYgXa3pLx4MYWjokuoH4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "297a08510894822ddd93ee2cfc66d6ac65a3cebb", "rev": "bb014746edb2a98d975abde4dd40fa240de4cf86",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -184,11 +184,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1767767207, "lastModified": 1772963539,
"narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5912c1772a44e31bf1c63c0390b90501e5026886", "rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -200,11 +200,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1767767207, "lastModified": 1772963539,
"narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5912c1772a44e31bf1c63c0390b90501e5026886", "rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -216,11 +216,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1762111121, "lastModified": 1772542754,
"narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=", "narHash": "sha256-WGV2hy+VIeQsYXpsLjdr4GvHv5eECMISX1zKLTedhdg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4", "rev": "8c809a146a140c5c8806f13399592dbcb1bb5dc4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -252,11 +252,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1767950946, "lastModified": 1773125003,
"narHash": "sha256-1uAvkp3rbtF4fdjiiXfGydNOLFcG6J0/LXbHFgQLxKY=", "narHash": "sha256-EF89LT3zxm8dM2pgoAohUcdQoTVVv1v02Jq+z6j8u+0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "3fabc71263f7765c342740db5360a2308ece715d", "rev": "eb59c1e77102b9f836cdea9f12568f191a9aff57",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -299,11 +299,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1767893586, "lastModified": 1773099334,
"narHash": "sha256-fOMYp8L0k1e/lS9+wii6t52VU1EHGLfHZ2yN4VgfUwQ=", "narHash": "sha256-ciiNQFZ2m2JOEDDg9ZZxOuxykl4Aw/2C1EQsOcq+F+E=",
"owner": "vicinaehq", "owner": "vicinaehq",
"repo": "vicinae", "repo": "vicinae",
"rev": "a11af8cf1a4bd15692852e1abc1ecc0d62c4d50e", "rev": "2a427670116461a4ce0207db2c089aee9f40428e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -41,7 +41,7 @@
]; } ]; }
{ {
networking.hostName = host; networking.hostName = host;
time.timeZone = "Europe/Brussels"; time.timeZone = "Asia/Bangkok";
nix.settings = { nix.settings = {
substituters = [ substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"

View File

@ -19,10 +19,10 @@ in
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Aloria/id_ed25519"; programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Aloria/id_ed25519";
home.packages = with pkgs; [ home.packages = with pkgs; [
# jetbrains.pycharm-professional jetbrains.pycharm
rclone rclone
opencode opencode
zed-editor # zed-editor
google-cloud-sdk google-cloud-sdk
distrobox distrobox
gnome-disk-utility gnome-disk-utility
@ -32,6 +32,7 @@ in
gnome-power-manager gnome-power-manager
discord discord
smile smile
podman-compose
]; ];
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {

View File

@ -5,8 +5,8 @@
pname = "Helium"; pname = "Helium";
version = "0.4.7.1"; version = "0.4.7.1";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/0.5.8.1/helium-0.5.8.1-x86_64.AppImage"; url = "https://github.com/imputnet/helium-linux/releases/download/0.8.5.1/helium-0.8.5.1-x86_64.AppImage";
sha256 = "sha256-d8kwLEU6qgEgp7nlEwdfRevB1JrbEKHRe8+GhGpGUig="; sha256 = "sha256-jFSLLDsHB/NiJqFmn8S+JpdM8iCy3Zgyq+8l4RkBecM=";
}; };
}) })
]; ];

View File

@ -242,10 +242,10 @@ in {
"$mainMod, M, fullscreen, 1" "$mainMod, M, fullscreen, 1"
"$mainMod, F11, fullscreen" "$mainMod, F11, fullscreen"
"$mainMod, F, togglefloating," "$mainMod, F, togglefloating,"
"$mainMod, SPACE, togglesplit, # dwindle" "$mainMod, SPACE, layoutmsg, togglesplit"
"CONTROL_L ALT_L, L, exec, ${pkgs.hyprlock}/bin/hyprlock" "CONTROL_L ALT_L, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
"$mainMod, C, exec, vicinae vicinae://extensions/vicinae/clipboard/history" "$mainMod, C, exec, vicinae vicinae://extensions/vicinae/clipboard/history"
"$mainMod, W, exec, vicinae vicinae://extensions/vicinae/wm/switch-windows" "$mainMod, N, exec, vicinae vicinae://extensions/vicinae/wm/switch-windows"
"$mainMod, Escape, exec, vicinae open -q \"Power Management \"" "$mainMod, Escape, exec, vicinae open -q \"Power Management \""
",XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +10%" ",XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +10%"
",XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 10%-" ",XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 10%-"

View File

@ -7,7 +7,7 @@ cscale=ewa_lanczossharp
video-sync=display-resample video-sync=display-resample
interpolation interpolation
tscale=oversample tscale=oversample
vo=gpu-next vo=gpu
hwdec=auto hwdec=auto
force-window=yes force-window=yes
keep-open=yes keep-open=yes

View File

@ -9,9 +9,7 @@ return {
}, },
config = function() config = function()
local dap = require "dap" local dap = require "dap"
require('dap.ext.vscode').load_launchjs("launch.json")
-- dap.defaults.fallback.exception_breakpoints = {'raised'} -- dap.defaults.fallback.exception_breakpoints = {'raised'}
local ui = require "dapui" local ui = require "dapui"
require("dapui").setup({ require("dapui").setup({

View File

@ -44,12 +44,12 @@
"hyprland/window" = { max-length = 50; }; "hyprland/window" = { max-length = 50; };
tray = { spacing = 10; }; tray = { spacing = 10; };
"clock#clock2" = { "clock#clock2" = {
timezone = "Europe/Brussels"; timezone = "Asia/Bangkok";
format = "{:%H:%M:%S}"; format = "{:%H:%M:%S}";
interval = 1; interval = 1;
}; };
clock = { clock = {
timezone = "Europe/Brussels"; timezone = "Asia/Bangkok";
format = "{:%Y-%m-%d}"; format = "{:%Y-%m-%d}";
interval = 3600; interval = 3600;
}; };

View File

@ -4,6 +4,7 @@
programs.yazi = { programs.yazi = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
shellWrapperName = "y";
settings = { settings = {
mgr = { mgr = {
sort_by = "natural"; sort_by = "natural";

View File

@ -16,3 +16,5 @@ function run_waypipe() {
REMOTE_PATH=$(echo $(pwd) | sed "s|/home/[a-z]*|\$HOME|g") REMOTE_PATH=$(echo $(pwd) | sed "s|/home/[a-z]*|\$HOME|g")
SSH_SESSION_ID=$SSH_SESSION_ID waypipe -n ssh -t $1 env REMOTE_PATH=\"$REMOTE_PATH\" SSH_SESSION_ID=$SSH_SESSION_ID "zsh --login" SSH_SESSION_ID=$SSH_SESSION_ID waypipe -n ssh -t $1 env REMOTE_PATH=\"$REMOTE_PATH\" SSH_SESSION_ID=$SSH_SESSION_ID "zsh --login"
} }
alias s='run_waypipe'

View File

@ -54,6 +54,7 @@ in {
networking.hostId = "4e859062"; networking.hostId = "4e859062";
networking.interfaces.wlan0.useDHCP = lib.mkDefault true; networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
networking.enableIPv6 = false;
networking.wireless.iwd.enable = true; networking.wireless.iwd.enable = true;
networking.wireless.iwd.settings = { networking.wireless.iwd.settings = {
IPv6 = { IPv6 = {
@ -146,4 +147,11 @@ in {
serviceConfig = { Restart = "on-failure"; RestartSec = "2s"; }; serviceConfig = { Restart = "on-failure"; RestartSec = "2s"; };
unitConfig.StartLimitIntervalSec = 0; unitConfig.StartLimitIntervalSec = 0;
}; };
services.usbmuxd.enable = true;
environment.systemPackages = with pkgs; [
ifuse
libimobiledevice
scrcpy
v4l-utils
];
} }

View File

@ -10,11 +10,13 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" "v4l2loopback" ];
boot.extraModulePackages = [ config.boot.kernelPackages.tp_smapi ]; boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback tp_smapi ];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
options thinkpad_acpi fan_control=1 options thinkpad_acpi fan_control=1
options v4l2loopback exclusive_caps=1 card_label="Android Virtual Camera"
''; '';
boot.kernelParams = [ "ipv6.disable=1" ];
fileSystems."/" = fileSystems."/" =
{ device = "rpool/root"; { device = "rpool/root";
@ -48,9 +50,10 @@
hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint"; hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint";
hardware.ipu6.enable = true; hardware.ipu6.enable = true;
hardware.ipu6.platform = "ipu6ep"; hardware.ipu6.platform = "ipu6ep";
# nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
# zfs = pkgs.zfs_unstable; zfs = pkgs.zfs_unstable;
# }; };
# boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPackages = pkgs.linuxPackages_latest.extend ( self: super: { # boot.kernelPackages = pkgs.linuxPackages_latest.extend ( self: super: {
# ipu6-drivers = super.ipu6-drivers.overrideAttrs ( # ipu6-drivers = super.ipu6-drivers.overrideAttrs (
# final: previous: rec { # final: previous: rec {

View File

@ -35,13 +35,13 @@
expat expat
# Graphics / X11 / desktop # Graphics / X11 / desktop
xorg.libX11 libx11
xorg.libXext libxext
xorg.libXfixes libxfixes
xorg.libXdamage libxdamage
xorg.libXcomposite libxcomposite
xorg.libXrandr libxrandr
xorg.libxcb libxcb
libdrm libdrm
mesa mesa
libxkbcommon libxkbcommon
@ -136,7 +136,7 @@
services.resolved = { services.resolved = {
enable = pkgs.lib.mkDefault true; enable = pkgs.lib.mkDefault true;
fallbackDns = [ "1.1.1.1" "1.0.0.1" ]; settings.Resolve.FallbackDNS = [ "1.1.1.1" "1.0.0.1" ];
}; };
networking.nameservers = pkgs.lib.mkDefault ["1.1.1.1" "1.0.0.1"]; networking.nameservers = pkgs.lib.mkDefault ["1.1.1.1" "1.0.0.1"];
} }