mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-07 10:59:55 +01:00
chore: clean up
This commit is contained in:
parent
e190c5cbaa
commit
cd8c34f8da
18 changed files with 399 additions and 301 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, options, ... }: let
|
||||
{ lib, ... }: let
|
||||
inherit (lib) mkOption;
|
||||
in {
|
||||
options.dnsServers = mkOption {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, pkgs, config, ... }: let
|
||||
inherit (lib) optionalAttrs getExe;
|
||||
{ lib, pkgs, ... }: let
|
||||
inherit (lib) getExe;
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnupg
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ...}: let
|
||||
{ config, pkgs, ...}: let
|
||||
subs = [
|
||||
"https://cache.thegeneralist01.com/"
|
||||
"https://cache.garnix.io/"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, wrapper-manager, ... }: let
|
||||
{ config, pkgs, lib, ... }: let
|
||||
inherit (lib) readFile getExe mkIf optionalAttrs;
|
||||
in {
|
||||
# TODO: starship + change the zoxide src
|
||||
|
|
|
|||
31
modules/common/rust.nix
Normal file
31
modules/common/rust.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ pkgs, ... }: {
|
||||
# TODO: install nil (nix language server)
|
||||
# TODO: check these out: https://github.com/RGBCube/ncc/blob/86212e148b2642a51814e873a81be73fbc494e86/modules/common/rust.nix#L15-L24
|
||||
environment.systemPackages = with pkgs; [
|
||||
(fenix.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
rust-analyzer-nightly
|
||||
|
||||
# for nil
|
||||
nil
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
|
||||
# home-manager.sharedModules = [{
|
||||
# extraWrapperArgs = [
|
||||
# "--suffix"
|
||||
# "LIBRARY_PATH"
|
||||
# ":"
|
||||
# "${lib.makeLibraryPath [ pkgs.stdenv.cc.cc pkgs.zlib ]}"
|
||||
# "--suffix"
|
||||
# "PKG_CONFIG_PATH"
|
||||
# ":"
|
||||
# "${lib.makeSearchPathOutput "dev" "lib/pkgconfig" [ pkgs.stdenv.cc.cc pkgs.zlib ]}"
|
||||
# ];
|
||||
# }];
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }: {
|
||||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue