moved some stuff
This commit is contained in:
parent
019f5fd1bf
commit
275586f9c2
4 changed files with 38 additions and 13 deletions
|
|
@ -5,4 +5,15 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
allowed-users = [ "@wheel" ];
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,15 @@
|
||||||
claude-code
|
claude-code
|
||||||
gnome-extension-manager
|
gnome-extension-manager
|
||||||
lmstudio
|
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 = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
];
|
];
|
||||||
boot.initrd.checkJournalingFS = false;
|
boot.initrd.checkJournalingFS = false;
|
||||||
|
|
||||||
|
|
||||||
boot.plymouth = {
|
boot.plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "bgrt";
|
theme = "bgrt";
|
||||||
|
|
@ -88,27 +87,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
|
||||||
settings = {
|
|
||||||
auto-optimise-store = true;
|
|
||||||
experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
htop
|
htop
|
||||||
dnsmasq
|
dnsmasq
|
||||||
|
sccache
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables.NIX_AUTO_RUN = "1";
|
environment.variables = {
|
||||||
|
RUSTC_WRAPPER = "sccache";
|
||||||
|
NIX_AUTO_RUN = "1";
|
||||||
|
};
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
|
|
@ -121,6 +114,20 @@
|
||||||
networking.firewall.allowedUDPPorts = [ 8080 ];
|
networking.firewall.allowedUDPPorts = [ 8080 ];
|
||||||
networking.firewall.trustedInterfaces = [ "virbr0" "docker0" ];
|
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
|
system.stateVersion = "26.05"; # yes
|
||||||
|
|
||||||
# services.qemuGuest.enable = false;
|
# services.qemuGuest.enable = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue