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-*
|
result-*
|
||||||
|
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
.direnv
|
||||||
|
.envrc
|
||||||
|
14
flake.nix
14
flake.nix
@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
|
@ -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
|
||||||
@ -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 = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,6 @@ let
|
|||||||
customZshPlugins = {
|
customZshPlugins = {
|
||||||
zsh-completions = zshCompletionPlugin;
|
zsh-completions = zshCompletionPlugin;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
11
treefmt.nix
11
treefmt.nix
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user