moved some stuff

This commit is contained in:
strix 2026-08-26 02:18:16 +02:00
parent 019f5fd1bf
commit 275586f9c2
4 changed files with 38 additions and 13 deletions

View file

@ -5,4 +5,15 @@
];
programs.zsh.enable = true;
nix = {
settings = {
auto-optimise-store = true;
allowed-users = [ "@wheel" ];
experimental-features = [
"nix-command"
"flakes"
];
};
};
}

View file

@ -19,8 +19,15 @@
claude-code
gnome-extension-manager
lmstudio
sccache
];
home.file.".cargo/config.toml".text = ''
[target.'cfg(target_os = "linux")']
linker = "${pkgs.clang}/bin/clang"
rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold-wrapped}/bin/mold"]
'';
programs.zsh = {
enable = true;
oh-my-zsh = {

View file

@ -22,7 +22,7 @@
configurationLimit = 5;
};
# swap & hibernate
# swap & hibernate
boot.initrd.luks.devices."luks-d51bdb99-5966-40d3-a920-83ea78a73699" = {
device = "/dev/disk/by-uuid/d51bdb99-5966-40d3-a920-83ea78a73699";
crypttabExtraOpts = [ "tpm2-device=auto" ];

View file

@ -18,7 +18,6 @@
];
boot.initrd.checkJournalingFS = false;
boot.plymouth = {
enable = true;
theme = "bgrt";
@ -88,27 +87,21 @@
};
};
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
};
};
environment.systemPackages = with pkgs; [
neovim
htop
dnsmasq
sccache
];
environment.shellAliases = {
vim = "nvim";
};
environment.variables.NIX_AUTO_RUN = "1";
environment.variables = {
RUSTC_WRAPPER = "sccache";
NIX_AUTO_RUN = "1";
};
services.openssh.enable = true;
services.fprintd.enable = true;
@ -120,6 +113,20 @@
];
networking.firewall.allowedUDPPorts = [ 8080 ];
networking.firewall.trustedInterfaces = [ "virbr0" "docker0" ];
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
mesa
vulkan-loader
vulkan-validation-layers
];
extraPackages32 = with pkgs.pkgsi686Linux; [
mesa
vulkan-loader
];
};
system.stateVersion = "26.05"; # yes