Compare commits
4 Commits
a4132eec74
...
a057d9bcc7
Author | SHA1 | Date | |
---|---|---|---|
a057d9bcc7 | |||
9dbe1605e0 | |||
ae454228f6 | |||
fcafe07084 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,3 +3,6 @@ result
|
||||
result-*
|
||||
|
||||
*.sw?
|
||||
|
||||
.direnv
|
||||
.envrc
|
||||
|
14
flake.nix
14
flake.nix
@ -1,5 +1,4 @@
|
||||
{
|
||||
|
||||
description = "Configuration v1";
|
||||
|
||||
inputs = {
|
||||
@ -53,7 +52,6 @@
|
||||
url = "git+ssh://git@gitea.deepak.science:2222/deepak/claude_mcp_bundle.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs =
|
||||
@ -95,5 +93,17 @@
|
||||
formatting = treefmtEval.${pkgs.system}.config.build.check self;
|
||||
});
|
||||
|
||||
devShells = eachSystem (pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
kubernetes-helm
|
||||
kubectl
|
||||
jq
|
||||
stern
|
||||
nixfmt-rfc-style
|
||||
alejandra
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
let
|
||||
custom-fonts = pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "input";
|
||||
|
@ -10,7 +10,6 @@ let
|
||||
in
|
||||
# default_python = pkgs-unstable.python313;
|
||||
{
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
home.packages =
|
||||
[
|
||||
@ -51,7 +50,6 @@ in
|
||||
pkgs.custom-servers.arxiv-mcp-server
|
||||
pkgs.custom-servers.basic-memory-server
|
||||
pkgs.custom-servers.mcp-text-editor
|
||||
|
||||
]
|
||||
++ pkgs.lib.optionals specialArgs.withGUI [
|
||||
pkgs.discord
|
||||
@ -236,8 +234,8 @@ in
|
||||
pkgs.customZshPlugins.zsh-completions
|
||||
];
|
||||
initExtra = ''
|
||||
eval "$(${pkgs.direnv}/bin/direnv hook zsh)"
|
||||
'';
|
||||
eval "$(${pkgs.direnv}/bin/direnv hook zsh)"
|
||||
'';
|
||||
};
|
||||
|
||||
programs.tmux = {
|
||||
@ -255,6 +253,7 @@ in
|
||||
pkgs.tmuxPlugins.power-theme
|
||||
];
|
||||
extraConfig = ''
|
||||
set-option -g status-position top
|
||||
'';
|
||||
};
|
||||
|
||||
@ -272,5 +271,4 @@ in
|
||||
newkey = { };
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -7,14 +7,12 @@
|
||||
hostname,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
custom-fonts = import ../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
|
||||
];
|
||||
|
||||
wsl = {
|
||||
@ -31,7 +29,6 @@ in
|
||||
# nativeSystemd = true;
|
||||
|
||||
wslConf.interop.appendWindowsPath = false;
|
||||
|
||||
};
|
||||
|
||||
networking.hostName = hostname; # Define your hostname.
|
||||
@ -116,5 +113,4 @@ in
|
||||
source = "${pkgs.rootlesskit}/bin/rootlesskit";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -72,7 +72,6 @@ in
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
inputs.NixOS-WSL-2411.nixosModules.wsl
|
||||
|
@ -1,9 +1,11 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ pkgs, customPackageOverlay, ... }:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
customPackageOverlay,
|
||||
...
|
||||
}:
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
in
|
||||
@ -161,5 +163,4 @@ in
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "20.09"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
@ -7,7 +7,6 @@
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
|
@ -4,14 +4,12 @@
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
|
||||
];
|
||||
|
||||
wsl = {
|
||||
@ -28,7 +26,6 @@ in
|
||||
nativeSystemd = true;
|
||||
|
||||
wslConf.interop.appendWindowsPath = false;
|
||||
|
||||
};
|
||||
|
||||
networking.hostName = "nixosEggYoke"; # Define your hostname.
|
||||
@ -90,5 +87,4 @@ in
|
||||
|
||||
# Optional (default: 41641):
|
||||
services.tailscale.port = 62532;
|
||||
|
||||
}
|
||||
|
@ -4,14 +4,12 @@
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
|
||||
];
|
||||
|
||||
wsl = {
|
||||
@ -28,7 +26,6 @@ in
|
||||
nativeSystemd = true;
|
||||
|
||||
wslConf.interop.appendWindowsPath = false;
|
||||
|
||||
};
|
||||
|
||||
networking.hostName = "nixosWSL"; # Define your hostname.
|
||||
@ -90,5 +87,4 @@ in
|
||||
|
||||
# Optional (default: 41641):
|
||||
services.tailscale.port = 62532;
|
||||
|
||||
}
|
||||
|
@ -49,7 +49,6 @@ let
|
||||
customZshPlugins = {
|
||||
zsh-completions = zshCompletionPlugin;
|
||||
};
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
|
11
treefmt.nix
11
treefmt.nix
@ -6,15 +6,26 @@
|
||||
"*.toml"
|
||||
"*.ttf"
|
||||
"*.txt"
|
||||
"*.otf"
|
||||
"Jenkinsfile"
|
||||
"fonts/out/*"
|
||||
];
|
||||
|
||||
programs.deadnix.enable = true;
|
||||
|
||||
programs.mdsh.enable = true;
|
||||
|
||||
programs.nixfmt.enable = true;
|
||||
|
||||
programs.shellcheck.enable = true;
|
||||
|
||||
programs.shfmt.enable = true;
|
||||
settings.formatter.shfmt.indent_size = 0;
|
||||
|
||||
programs.yamlfmt.enable = true;
|
||||
|
||||
programs.just.enable = true;
|
||||
|
||||
programs.stylua.enable = true;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user