mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 19:55:08 +01:00
home manager for laptop
This commit is contained in:
parent
d0d9400502
commit
31b5f8b4f2
6 changed files with 99 additions and 41 deletions
26
home-manager/common.nix
Normal file
26
home-manager/common.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ inputs
|
||||
, lib
|
||||
, config
|
||||
, pkgs
|
||||
, ...
|
||||
}: {
|
||||
programs.neovim.enable = true;
|
||||
|
||||
home.file.".cargo/config.toml" = {
|
||||
text = ''
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "${pkgs.llvmPackages_16.clang}/bin/clang"
|
||||
rustflags = ["-Clink-arg=-fuse-ld=${pkgs.mold}/bin/mold", "-Ctarget-cpu=native"]
|
||||
'';
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "22.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue