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-* result-*
*.sw? *.sw?
.direnv
.envrc

View File

@ -1,5 +1,4 @@
{ {
description = "Configuration v1"; description = "Configuration v1";
inputs = { inputs = {
@ -53,7 +52,6 @@
url = "git+ssh://git@gitea.deepak.science:2222/deepak/claude_mcp_bundle.git"; url = "git+ssh://git@gitea.deepak.science:2222/deepak/claude_mcp_bundle.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = outputs =
@ -95,5 +93,17 @@
formatting = treefmtEval.${pkgs.system}.config.build.check self; 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> { }, pkgs ? import <nixpkgs> { },
}: }:
let let
custom-fonts = pkgs.stdenvNoCC.mkDerivation { custom-fonts = pkgs.stdenvNoCC.mkDerivation {
pname = "input"; pname = "input";

View File

@ -10,7 +10,6 @@ let
in in
# default_python = pkgs-unstable.python313; # default_python = pkgs-unstable.python313;
{ {
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = home.packages =
[ [
@ -51,7 +50,6 @@ in
pkgs.custom-servers.arxiv-mcp-server pkgs.custom-servers.arxiv-mcp-server
pkgs.custom-servers.basic-memory-server pkgs.custom-servers.basic-memory-server
pkgs.custom-servers.mcp-text-editor pkgs.custom-servers.mcp-text-editor
] ]
++ pkgs.lib.optionals specialArgs.withGUI [ ++ pkgs.lib.optionals specialArgs.withGUI [
pkgs.discord pkgs.discord
@ -236,8 +234,8 @@ in
pkgs.customZshPlugins.zsh-completions pkgs.customZshPlugins.zsh-completions
]; ];
initExtra = '' initExtra = ''
eval "$(${pkgs.direnv}/bin/direnv hook zsh)" eval "$(${pkgs.direnv}/bin/direnv hook zsh)"
''; '';
}; };
programs.tmux = { programs.tmux = {
@ -255,6 +253,7 @@ in
pkgs.tmuxPlugins.power-theme pkgs.tmuxPlugins.power-theme
]; ];
extraConfig = '' extraConfig = ''
set-option -g status-position top
''; '';
}; };
@ -272,5 +271,4 @@ in
newkey = { }; newkey = { };
}; };
}; };
} }

View File

@ -7,14 +7,12 @@
hostname, hostname,
... ...
}: }:
let let
custom-fonts = import ../fonts { inherit pkgs; }; custom-fonts = import ../fonts { inherit pkgs; };
in in
{ {
imports = [ imports = [
"${modulesPath}/profiles/minimal.nix" "${modulesPath}/profiles/minimal.nix"
]; ];
wsl = { wsl = {
@ -31,7 +29,6 @@ in
# nativeSystemd = true; # nativeSystemd = true;
wslConf.interop.appendWindowsPath = false; wslConf.interop.appendWindowsPath = false;
}; };
networking.hostName = hostname; # Define your hostname. networking.hostName = hostname; # Define your hostname.
@ -116,5 +113,4 @@ in
source = "${pkgs.rootlesskit}/bin/rootlesskit"; source = "${pkgs.rootlesskit}/bin/rootlesskit";
}; };
}; };
} }

View File

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

View File

@ -1,9 +1,11 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{
{ pkgs, customPackageOverlay, ... }: pkgs,
customPackageOverlay,
...
}:
let let
custom-fonts = import ../../fonts { inherit pkgs; }; custom-fonts = import ../../fonts { inherit pkgs; };
in in
@ -161,5 +163,4 @@ in
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.09"; # Did you read the comment? system.stateVersion = "20.09"; # Did you read the comment?
} }

View File

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

View File

@ -4,14 +4,12 @@
modulesPath, modulesPath,
... ...
}: }:
let let
custom-fonts = import ../../fonts { inherit pkgs; }; custom-fonts = import ../../fonts { inherit pkgs; };
in in
{ {
imports = [ imports = [
"${modulesPath}/profiles/minimal.nix" "${modulesPath}/profiles/minimal.nix"
]; ];
wsl = { wsl = {
@ -28,7 +26,6 @@ in
nativeSystemd = true; nativeSystemd = true;
wslConf.interop.appendWindowsPath = false; wslConf.interop.appendWindowsPath = false;
}; };
networking.hostName = "nixosEggYoke"; # Define your hostname. networking.hostName = "nixosEggYoke"; # Define your hostname.
@ -90,5 +87,4 @@ in
# Optional (default: 41641): # Optional (default: 41641):
services.tailscale.port = 62532; services.tailscale.port = 62532;
} }

View File

@ -4,14 +4,12 @@
modulesPath, modulesPath,
... ...
}: }:
let let
custom-fonts = import ../../fonts { inherit pkgs; }; custom-fonts = import ../../fonts { inherit pkgs; };
in in
{ {
imports = [ imports = [
"${modulesPath}/profiles/minimal.nix" "${modulesPath}/profiles/minimal.nix"
]; ];
wsl = { wsl = {
@ -28,7 +26,6 @@ in
nativeSystemd = true; nativeSystemd = true;
wslConf.interop.appendWindowsPath = false; wslConf.interop.appendWindowsPath = false;
}; };
networking.hostName = "nixosWSL"; # Define your hostname. networking.hostName = "nixosWSL"; # Define your hostname.
@ -90,5 +87,4 @@ in
# Optional (default: 41641): # Optional (default: 41641):
services.tailscale.port = 62532; services.tailscale.port = 62532;
} }

View File

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

View File

@ -6,15 +6,26 @@
"*.toml" "*.toml"
"*.ttf" "*.ttf"
"*.txt" "*.txt"
"*.otf"
"Jenkinsfile"
"fonts/out/*"
]; ];
programs.deadnix.enable = true; programs.deadnix.enable = true;
programs.mdsh.enable = true; programs.mdsh.enable = true;
programs.nixfmt.enable = true; programs.nixfmt.enable = true;
programs.shellcheck.enable = true; programs.shellcheck.enable = true;
programs.shfmt.enable = true; programs.shfmt.enable = true;
settings.formatter.shfmt.indent_size = 0;
programs.yamlfmt.enable = true; programs.yamlfmt.enable = true;
programs.just.enable = true; programs.just.enable = true;
programs.stylua.enable = true; programs.stylua.enable = true;
} }