mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-26 22:18:20 -04:00
257 current 2024-09-17 21:56:50 24.11.20240916.99dc878 6.11.0 *
This commit is contained in:
parent
fc395fd6a7
commit
288306a9a1
5 changed files with 47 additions and 24 deletions
|
@ -1,10 +1,23 @@
|
|||
# https://lazamar.co.uk/nix-versions/
|
||||
{}:
|
||||
let
|
||||
# 1.89.1
|
||||
vsc_pkgs = import (builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/0c19708cf035f50d28eb4b2b8e7a79d4dc52f6bb.tar.gz";
|
||||
}) {};
|
||||
in {
|
||||
vscode = vsc_pkgs.vscode;
|
||||
{ pkgs, config }:
|
||||
let
|
||||
# 1.89.1
|
||||
vsc_pkgs = import
|
||||
(builtins.fetchGit {
|
||||
# Descriptive name to make the store path easier to identify
|
||||
name = "my-old-revision";
|
||||
url = "https://github.com/NixOS/nixpkgs/";
|
||||
ref = "refs/heads/nixpkgs-unstable";
|
||||
rev = "0c19708cf035f50d28eb4b2b8e7a79d4dc52f6bb";
|
||||
})
|
||||
{
|
||||
system = pkgs.system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
a = vsc_pkgs.vscode;
|
||||
in
|
||||
{
|
||||
vscode = a;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, config }:
|
||||
let
|
||||
cpkg = import ../customPackages { inherit pkgs; };
|
||||
pinned = import ./pinned {};
|
||||
pinned = import ./pinned.nix { inherit pkgs config; };
|
||||
in
|
||||
{
|
||||
dev = with pkgs;[
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, pkgs }:
|
||||
let
|
||||
|
||||
_ = [
|
||||
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
||||
"source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
"[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh"
|
||||
"setopt globstarshort"
|
||||
];
|
||||
zshInitArgs = lib.concatMapStrings (x: x + "\n") _;
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
oh-my-zsh.enable = true;
|
||||
initExtra = zshInitArgs;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue