Compare commits

...

4 Commits

Author SHA1 Message Date
a057d9bcc7
fmt: reformat
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
Test templates, puts into cache / nix (nix-runner) (push) Successful in 6m33s
2025-03-24 04:12:00 -05:00
9dbe1605e0
fmt: alejandra 2025-03-24 01:13:22 -05:00
ae454228f6
git: ignore direnv 2025-03-24 00:22:50 -05:00
fcafe07084
tmux status bar up top 2025-03-24 00:03:49 -05:00
13 changed files with 35 additions and 28 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@ result
result-*
*.sw?
.direnv
.envrc

View File

@ -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
];
};
});
};
}

View File

@ -1,7 +1,6 @@
{
pkgs ? import <nixpkgs> { },
}:
let
custom-fonts = pkgs.stdenvNoCC.mkDerivation {
pname = "input";

View File

@ -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 = { };
};
};
}

View File

@ -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";
};
};
}

View File

@ -72,7 +72,6 @@ in
home-manager.sharedModules = [
inputs.sops-nix.homeManagerModules.sops
];
}
inputs.NixOS-WSL-2411.nixosModules.wsl

View File

@ -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?
}

View File

@ -7,7 +7,6 @@
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")

View File

@ -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;
}

View File

@ -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;
}

View File

@ -49,7 +49,6 @@ let
customZshPlugins = {
zsh-completions = zshCompletionPlugin;
};
};
in
{

View File

@ -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;
}