Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
fe4a2e8
fix(hosts/jetbundle): update dms & niri
tsandrini Jan 28, 2026
cd1f5ff
fix(modules/hm/graphical-dms-niri): patch the pywal sequences generation
tsandrini Jan 28, 2026
f37c7f3
feat(modules/hm/graphical-dms-niri): add toggle-edp script for laptops
tsandrini Jan 28, 2026
f98c034
feat(hosts): tweak cpuFreqGovernor
tsandrini Jan 28, 2026
5f32cfe
feat(hosts): update dms + niri related DE things
tsandrini Feb 5, 2026
2c6f43b
feat(hosts/jetbundle): tweak host & pywal settings
tsandrini Feb 5, 2026
1c40576
feat(modules/hm/niri-flake): init module and reformat old dms-niri
tsandrini Feb 5, 2026
68c3f64
refactor(hosts/flatbundle): clean up commented hardware code
tsandrini Feb 7, 2026
9fd50ed
refactor(hosts/spinorbundle): clean up options after plasma refactor
tsandrini Feb 7, 2026
eea0e44
refactor(modules/nixos/graphical-plasma6): tweak power related services
tsandrini Feb 7, 2026
4192d6a
feat(modules/nixos/subnets-firewall): add defaultSubnets + nixosPasst…
tsandrini Feb 10, 2026
94776f2
feat(modules/hm/dank-material-shell): init general dms module
tsandrini Feb 10, 2026
2fce67d
fix(modules/hm/niri-flake): permit using toggle-edp while locked
tsandrini Feb 10, 2026
6b1f0d0
refactor(modules/hm/graphical-dms-niri): switch to general dms module
tsandrini Feb 10, 2026
948956c
fix(modules/nixvim/treesitter): disable highlighting
tsandrini Feb 17, 2026
f2987f7
feat(modules/nixvim/lsp): set up properly vue lsp
tsandrini Feb 17, 2026
14598aa
feat(pkgs/cc-switcher): init
tsandrini Feb 18, 2026
bfe6fe1
feat(hosts/flatbundle): add cc-switcher
tsandrini Feb 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions flake-parts/hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ in
extraOverlays = sharedOverlays ++ [
inputs.emacs-overlay.overlays.default
inputs.nur.overlays.default
inputs.niri.overlays.niri
# neovim-nightly-overlay.overlays.default
# (final: _prev: { nur = import inputs.nur { pkgs = final; }; })
];
Expand All @@ -115,6 +116,7 @@ in
extraOverlays = sharedOverlays ++ [
inputs.emacs-overlay.overlays.default
inputs.nur.overlays.default
inputs.niri.overlays.niri
# neovim-nightly-overlay.overlays.default
# (final: _prev: { nur = import inputs.nur { pkgs = final; }; })
];
Expand Down
24 changes: 14 additions & 10 deletions flake-parts/hosts/flatbundle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,21 @@ in
# | ADDITIONAL SYSTEM PACKAGES |
# ------------------------------
environment.systemPackages = [
pkgs.libva-utils
pkgs.docker-compose
pkgs.wireguard-tools
pkgs.claude-code
pkgs.codex
pkgs.libva-utils # Collection of utilities and examples for VA-API
pkgs.docker-compose # Docker CLI plugin to define and run multi-container applications with Docker
pkgs.wireguard-tools # Tools for the WireGuard secure network tunnel
pkgs.claude-code # Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster
pkgs.codex # Lightweight coding agent that runs in your terminal
pkgs.bitwarden-desktop # Secure and free password manager for all of your devices
pkgs.bitwarden-cli # Secure and free password manager for all of your devices
];

# ---------------------
# | ADDITIONAL CONFIG |
# ---------------------
tensorfiles = {
profiles = {
graphical-plasma6.enable = true;
graphical-dms-niri.enable = true;

packages-base.enable = true;
packages-extra.enable = true;
Expand Down Expand Up @@ -89,6 +91,7 @@ in
# nix-mineral.enable = true;

programs.nh.flake = "/home/tsandrini/ProjectBundle/tsandrini/tensorfiles";
programs.nh.clean.enable = false; # NOTE We have enough space buddy

programs.fish.enable = true;
users.defaultUserShell = pkgs.bash;
Expand Down Expand Up @@ -127,7 +130,6 @@ in
};

services.tailscale.enable = true;

networking.wireguard.enable = true;
networking.firewall = {
allowedUDPPorts = [
Expand All @@ -152,11 +154,12 @@ in

home-manager.users."tsandrini" = {
tensorfiles.hm = {
profiles.graphical-plasma.enable = true;
profiles.graphical-dms-niri.enable = true;
programs.pywal.enable = true;
services.pywalfox-native.enable = true;

profiles.accounts.tsandrini.enable = true;
security.agenix.enable = true;

programs.pywal.enable = true;
programs.editors.emacs-doom.enable = true;
services.keepassxc.enable = true;
};
Expand All @@ -173,6 +176,7 @@ in
programs.git.signing.key = "3E83AD690FA4F657"; # pragma: allowlist secret

home.packages = [
inputs.self.packages.${system}.cc-switcher
pkgs-osu-lazer-bin.osu-lazer-bin
pkgs.olympus
];
Expand Down
15 changes: 13 additions & 2 deletions flake-parts/hosts/flatbundle/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];

environment.systemPackages = [ pkgs.libva-utils ];
environment.systemPackages = [
pkgs.libva-utils
];

networking.useDHCP = lib.mkDefault true;

Expand Down Expand Up @@ -66,12 +68,21 @@

powerManagement = {
enable = true;
cpuFreqGovernor = "performance";
# cpuFreqGovernor = "schedutil";
};

programs.gamemode.enable = true;
services.fwupd.enable = true;

services.fprintd = {
enable = true;
};

services.fstrim = {
enable = true;
interval = "weekly"; # the default
};

boot = {
loader = {
timeout = 1;
Expand Down
24 changes: 12 additions & 12 deletions flake-parts/hosts/jetbundle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ in
# | ADDITIONAL SYSTEM PACKAGES |
# ------------------------------
environment.systemPackages = [
pkgs.libva-utils
pkgs.docker-compose
pkgs.wireguard-tools
pkgs.claude-code
pkgs.codex
pkgs.libva-utils # Collection of utilities and examples for VA-API
pkgs.docker-compose # Docker CLI plugin to define and run multi-container applications with Docker
pkgs.wireguard-tools # Tools for the WireGuard secure network tunnel
pkgs.claude-code # Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster
pkgs.codex # Lightweight coding agent that runs in your terminal
pkgs.bitwarden-desktop # Secure and free password manager for all of your devices
pkgs.bitwarden-cli # Secure and free password manager for all of your devices
];

# ---------------------
Expand All @@ -61,12 +63,12 @@ in
tensorfiles = {
profiles = {
graphical-dms-niri.enable = true;

packages-base.enable = true;
packages-extra.enable = true;
packages-graphical-extra.enable = true;
};

services.networking.ssh.enable = true;
security.agenix.enable = true;

# Use the `nh` garbage collect to also collect .direnv and XDG profiles
Expand All @@ -93,10 +95,8 @@ in
};
# nix-mineral.enable = true;

# TODO maybe use github:tsandrini/tensorfiles instead?
programs.nh.flake = "/home/tsandrini/ProjectBundle/tsandrini/tensorfiles";

# programs.shadow-client.forceDriver = "iHD";
programs.fish.enable = true;
users.defaultUserShell = pkgs.bash;

Expand Down Expand Up @@ -128,13 +128,12 @@ in
secrets = [ "ipsec.d/ipsec.nm-l2tp.secrets" ];
};

services.pcscd.enable = true; # needed for gpg pinentry

virtualisation.docker = {
enable = true;
autoPrune.enable = true;
};

services.tailscale.enable = true;
networking.wireguard.enable = true;
networking.firewall = {
allowedUDPPorts = [
Expand All @@ -157,11 +156,12 @@ in
];
};

# Small QoL for Wayland apps (optional)

home-manager.users."tsandrini" = {
tensorfiles.hm = {
profiles.graphical-dms-niri.enable = true;
programs.pywal.enable = true;
services.pywalfox-native.enable = true;

profiles.accounts.tsandrini.enable = true;
security.agenix.enable = true;
services.keepassxc.enable = true;
Expand Down
6 changes: 5 additions & 1 deletion flake-parts/hosts/jetbundle/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@

powerManagement = {
enable = true;
cpuFreqGovernor = "performance";
# cpuFreqGovernor = "schedutil";
};

programs.gamemode.enable = true;
services.fwupd.enable = true;

services.fprintd = {
enable = true;
};

# Thinkpad x270 fingreprint reader
# Unfortunately the official services.fprintd option doesn't work and any
# custom tos drivers didn't work either. The only way to make it work was to
Expand Down
26 changes: 10 additions & 16 deletions flake-parts/hosts/spinorbundle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
inputs.nix-gaming.nixosModules.platformOptimizations
(inputs.nix-mineral + "/nix-mineral.nix")

# TODO fails with The option `programs.steam.extraCompatPackages' in
# `/nix/store/nra828scc8qs92b9pxra5csqzffb6hpl-source/nixos/modules/programs/steam.nix'
# is already declared in
# `/nix/store/cqapfi5bvhzvarrbi2h1qrf2dav5r1nd-source/flake.nix#nixosModules.steamCompat'.
# nix-gaming.nixosModules.steamCompat
./hardware-configuration.nix
./disko.nix
./nm-overrides.nix
Expand All @@ -43,7 +38,7 @@
# | ADDITIONAL SYSTEM PACKAGES |
# ------------------------------
environment.systemPackages = [
pkgs.networkmanagerapplet # need this to configure L2TP ipsec
pkgs.libva-utils # Collection of utilities and examples for VA-API
];

# ---------------------
Expand Down Expand Up @@ -110,22 +105,23 @@
];
};

# virtualisation.docker = {
# enable = true;
# autoPrune.enable = true;
# storageDriver = "btrfs";
# };

# NOTE for wireguard
# networking.wireguard.enable = true;
services.tailscale.enable = true;
networking.wireguard.enable = true;
networking.firewall = {
allowedUDPPorts = [
# WG
51820
51821
# Dev ports
8000
8080
5173
];
allowedTCPPorts = [
# WG
51820
51821
# Dev ports
8000
8080
5173
Expand All @@ -135,11 +131,9 @@
home-manager.users."tsandrini" = {
tensorfiles.hm = {
profiles.graphical-plasma.enable = true;
# profiles.accounts.tsandrini.enable = true;
security.agenix.enable = true;

programs.pywal.enable = true;
# programs.editors.emacs-doom.enable = true;
services.keepassxc.enable = true;
};

Expand Down
6 changes: 5 additions & 1 deletion flake-parts/modules/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ in
profiles_base = importApply ./profiles/base.nix { inherit localFlake; };
profiles_graphical-plasma = importApply ./profiles/graphical-plasma { inherit localFlake; };
profiles_graphical-dms-niri = importApply ./profiles/graphical-dms-niri.nix {
inherit localFlake inputs;
inherit localFlake;
};
profiles_graphical-xmonad = importApply ./profiles/graphical-xmonad.nix { inherit localFlake; };
profiles_headless = importApply ./profiles/headless.nix { inherit localFlake; };
Expand All @@ -66,9 +66,13 @@ in
programs_file-managers_lf = importApply ./programs/file-managers/lf { inherit localFlake; };
programs_file-managers_yazi = importApply ./programs/file-managers/yazi.nix { inherit localFlake; };
programs_git = importApply ./programs/git.nix { inherit localFlake; };
programs_dank-material-shell = importApply ./programs/dank-material-shell.nix {
inherit localFlake inputs;
};
programs_delta = importApply ./programs/delta.nix { inherit localFlake; };
programs_dsearch = importApply ./programs/dsearch.nix { inherit localFlake inputs; };
programs_gpg = importApply ./programs/gpg.nix { inherit localFlake; };
programs_niri-flake = importApply ./programs/niri-flake.nix { inherit localFlake; };
programs_newsboat = importApply ./programs/newsboat.nix { inherit localFlake; };
programs_pywal = importApply ./programs/pywal.nix { inherit localFlake; };
programs_shadow-nix = importApply ./programs/shadow-nix.nix { inherit localFlake inputs; };
Expand Down
Loading
Loading