mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
sync
This commit is contained in:
@@ -70,3 +70,15 @@ mr_sync:
|
|||||||
|
|
||||||
mr_add_all:
|
mr_add_all:
|
||||||
mr run git add --all
|
mr run git add --all
|
||||||
|
|
||||||
|
# Publish current directory to GitHub
|
||||||
|
[no-cd]
|
||||||
|
GH_publish:
|
||||||
|
echo "📦 Publishing to GitHub..."
|
||||||
|
test -d .git || git init
|
||||||
|
git add .
|
||||||
|
git commit -m "init" || true
|
||||||
|
gh repo create {{file_name(invocation_directory())}} --public --source=. --push --disable-wiki || true
|
||||||
|
git remote add origin git@github.com:$(gh api user -q .login)/{{file_name(invocation_directory())}}.git || true
|
||||||
|
git push -u origin $(git branch --show-current) || git push -u origin $(git branch --show-current) --force
|
||||||
|
echo "✅ Published to: https://github.com/$(gh api user -q .login)/{{file_name(invocation_directory())}}"
|
||||||
|
|||||||
63
flake.lock
generated
63
flake.lock
generated
@@ -177,6 +177,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"my-utils": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1763397360,
|
||||||
|
"narHash": "sha256-RkWXx0V5IqqymwTr5WuTg+WzD5jna6ShXohPfEKLOM0=",
|
||||||
|
"owner": "sstent",
|
||||||
|
"repo": "MyUtils",
|
||||||
|
"rev": "cabdc9b8ed731b77c6dfc63d433007ffd9cdecce",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "sstent",
|
||||||
|
"repo": "MyUtils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-ld-rs": {
|
"nix-ld-rs": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
@@ -201,7 +219,7 @@
|
|||||||
},
|
},
|
||||||
"nix-vscode-extensions": {
|
"nix-vscode-extensions": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763171608,
|
"lastModified": 1763171608,
|
||||||
@@ -235,7 +253,7 @@
|
|||||||
"nixos-wsl": {
|
"nixos-wsl": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762891505,
|
"lastModified": 1762891505,
|
||||||
@@ -254,17 +272,17 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759770925,
|
"lastModified": 1763283776,
|
||||||
"narHash": "sha256-CZwkCtzTNclqlhuwDsVtGoRumTpqCUK0xSnFIMgd8ls=",
|
"narHash": "sha256-Y7TDFPK4GlqrKrivOcsHG8xSGqQx3A6c+i7novT85Uk=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "674c2b09c59a220204350ced584cadaacee30038",
|
"rev": "50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "674c2b09c59a220204350ced584cadaacee30038",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -285,6 +303,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1759770925,
|
||||||
|
"narHash": "sha256-CZwkCtzTNclqlhuwDsVtGoRumTpqCUK0xSnFIMgd8ls=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "674c2b09c59a220204350ced584cadaacee30038",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "674c2b09c59a220204350ced584cadaacee30038",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761173472,
|
"lastModified": 1761173472,
|
||||||
"narHash": "sha256-m9W0dYXflzeGgKNravKJvTMR4Qqa2MVD11AwlGMufeE=",
|
"narHash": "sha256-m9W0dYXflzeGgKNravKJvTMR4Qqa2MVD11AwlGMufeE=",
|
||||||
@@ -300,7 +334,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763049705,
|
"lastModified": 1763049705,
|
||||||
"narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=",
|
"narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=",
|
||||||
@@ -316,7 +350,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762361079,
|
"lastModified": 1762361079,
|
||||||
"narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=",
|
"narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=",
|
||||||
@@ -332,7 +366,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1682134069,
|
"lastModified": 1682134069,
|
||||||
"narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=",
|
"narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=",
|
||||||
@@ -353,11 +387,12 @@
|
|||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"ignore": "ignore",
|
"ignore": "ignore",
|
||||||
"library": "library",
|
"library": "library",
|
||||||
|
"my-utils": "my-utils",
|
||||||
"nix-ld-rs": "nix-ld-rs",
|
"nix-ld-rs": "nix-ld-rs",
|
||||||
"nix-vscode-extensions": "nix-vscode-extensions",
|
"nix-vscode-extensions": "nix-vscode-extensions",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"utils": "utils",
|
"utils": "utils",
|
||||||
@@ -366,7 +401,7 @@
|
|||||||
},
|
},
|
||||||
"sops-nix": {
|
"sops-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763069729,
|
"lastModified": 1763069729,
|
||||||
@@ -463,7 +498,7 @@
|
|||||||
"vscode-server": {
|
"vscode-server": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_4",
|
"flake-utils": "flake-utils_4",
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753541826,
|
"lastModified": 1753541826,
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# TODO: Add any other flake you might need
|
|
||||||
# hardware.url = "github:nixos/nixos-hardware";
|
my-utils.url = "github:sstent/MyUtils";
|
||||||
|
|
||||||
#VSCode fix
|
#VSCode fix
|
||||||
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
vscode-server.url = "github:nix-community/nixos-vscode-server";
|
||||||
|
|||||||
@@ -5,7 +5,9 @@
|
|||||||
config,
|
config,
|
||||||
outputs,
|
outputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
my-utils = inputs.my-utils.packages.${pkgs.system}.default;
|
||||||
|
in {
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
# ./beets.nix
|
# ./beets.nix
|
||||||
@@ -60,6 +62,8 @@
|
|||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
gh.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,6 +63,7 @@
|
|||||||
gnumake
|
gnumake
|
||||||
unstable.keybase
|
unstable.keybase
|
||||||
# my.prometheus-api-client
|
# my.prometheus-api-client
|
||||||
|
my-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -88,8 +89,7 @@
|
|||||||
historyControl = ["ignorespace"];
|
historyControl = ["ignorespace"];
|
||||||
shellOptions = ["histappend"];
|
shellOptions = ["histappend"];
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
DOCKER_HOST = "tcp://192.168.1.223:2375";
|
NOMAD_ADDR = "http://192.168.4.250:4646";
|
||||||
NOMAD_ADDR = "http://192.168.1.250:4646";
|
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
ANSIBLE_HOST_KEY_CHECKING = "False";
|
ANSIBLE_HOST_KEY_CHECKING = "False";
|
||||||
HSTR_CONFIG = "hicolor";
|
HSTR_CONFIG = "hicolor";
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
)
|
)
|
||||||
];
|
];
|
||||||
keybase = final.unstable.keybase;
|
keybase = final.unstable.keybase;
|
||||||
|
my-utils = inputs.my-utils.packages.${final.system}.default;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Add VS Code extensions overlay
|
# Add VS Code extensions overlay
|
||||||
|
|||||||
Reference in New Issue
Block a user