feat: add nix infect script

This commit is contained in:
Thiago Sposito 2025-10-15 20:45:30 -03:00
parent 6f7b69d96d
commit 23a802067a
2 changed files with 432 additions and 5 deletions

View file

@ -1,11 +1,12 @@
{
config,
pkgs,
lib,
...
}:
{
imports = [
# ./backup.nix
# ./backup.nix
./custom.nix
./gnome
./icons.nix
@ -29,6 +30,7 @@
packages = with pkgs; [
code-cursor
direnv
distrobox
fira-code
firefox
hwinfo
@ -46,6 +48,7 @@
nordic
obsidian
pinentry-curses
podman
python3
ripgrep
statix
@ -53,8 +56,13 @@
unzip
waydroid
wl-clipboard
xorg.xhost
zed-editor
];
sessionVariables = {
XDG_RUNTIME_DIR = "/run/user/${toString config.home.uid}";
DBUS_SESSION_BUS_ADDRESS = "unix:path=${config.home.homeDirectory}/.dbus-session-bus";
};
username = "thiago";
};
@ -118,6 +126,15 @@
};
};
podman = {
enable = true;
dockerCompat = true; # optional: use docker commands
extraPackages = with pkgs; [
fuse-overlayfs
slirp4netns
];
};
vscode = {
enable = true;
};
@ -133,8 +150,8 @@
home.stateVersion = "25.11";
# sops configuration
# sops = {
# age.keyFile = "/home/thiago/.config/sops/age/keys.txt";
# gnupg.home = "/home/thiago/.gnupg";
# };
# sops = {
# age.keyFile = "/home/thiago/.config/sops/age/keys.txt";
# gnupg.home = "/home/thiago/.gnupg";
# };
}