Compare commits
No commits in common. "f64b634dd8fbb2c8a2898c3b9d0acc9452e4d966" and "20914d33c71464f8a263ccdc7555a4407097503f" have entirely different histories.
f64b634dd8
...
20914d33c7
|
|
@ -1,48 +0,0 @@
|
||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"home-manager": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1756991914,
|
|
||||||
"narHash": "sha256-4ve/3ah5H/SpL2m3qmZ9GU+VinQYp2MN1G7GamimTds=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "b08f8737776f10920c330657bee8b95834b7a70f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1756787288,
|
|
||||||
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"home-manager": "home-manager",
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
{
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
||||||
home-manager = {
|
|
||||||
url = "github:nix-community/home-manager";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
nixgl.url = "github:nix-community/nixGL";
|
|
||||||
};
|
|
||||||
outputs = { nixpkgs, home-manager, nixgl, ... }:
|
|
||||||
let
|
|
||||||
lib = nixpkgs.lib;
|
|
||||||
system = "x86_64-linux";
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
overlays = [ nixgl.overlay ];
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
homeConfigurations = {
|
|
||||||
work = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
|
||||||
extraSpecialArgs = {
|
|
||||||
inherit nixgl;
|
|
||||||
};
|
|
||||||
modules = [ ./hosts/work ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
{ pkgs, config, nixgl, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
nixGL = {
|
|
||||||
packages = nixgl.packages;
|
|
||||||
defaultWrapper = "mesa";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.username = "hektor";
|
|
||||||
home.homeDirectory = "/home/hektor";
|
|
||||||
home.stateVersion = "25.05";
|
|
||||||
|
|
||||||
home.packages = import ./packages.nix {
|
|
||||||
inherit pkgs;
|
|
||||||
inherit config;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{ pkgs, config, ... }:
|
|
||||||
|
|
||||||
with pkgs; [ ]
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
experimental-features = nix-command flakes
|
|
||||||
|
|
@ -3,9 +3,6 @@ vim.filetype.add({
|
||||||
[".lintstagedrc"] = "json",
|
[".lintstagedrc"] = "json",
|
||||||
},
|
},
|
||||||
pattern = {
|
pattern = {
|
||||||
["tsconfig.*.json"] = "jsonc",
|
|
||||||
[".*/%.vscode/.*%.json"] = "jsonc",
|
|
||||||
[".*/%.ssh/config%.d/.*"] = "sshconfig",
|
[".*/%.ssh/config%.d/.*"] = "sshconfig",
|
||||||
["%.env.*"] = "dotenv",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
abbrevCommit = true
|
abbrevCommit = true
|
||||||
|
|
||||||
[credential "https://github.com"]
|
[credential "https://github.com"]
|
||||||
helper = !gh auth git-credential
|
helper = !/usr/bin/gh auth git-credential
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
tool = nvimdiff
|
tool = nvimdiff
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,20 @@
|
||||||
" Plug setup {{{
|
" Plug setup {{{
|
||||||
|
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'machakann/vim-sandwich'
|
Plug 'machakann/vim-sandwich'
|
||||||
Plug 'Shougo/context_filetype.vim'
|
Plug 'Shougo/context_filetype.vim'
|
||||||
Plug 'editorconfig/editorconfig-vim'
|
Plug 'editorconfig/editorconfig-vim'
|
||||||
Plug 'honza/vim-snippets'
|
Plug 'honza/vim-snippets'
|
||||||
Plug 'chrisbra/unicode.vim'
|
Plug 'chrisbra/unicode.vim'
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'ap/vim-css-color'
|
||||||
|
" JS and TypeScript
|
||||||
|
Plug 'pangloss/vim-javascript', { 'for': ['javascript', 'javascript.jsx'] }
|
||||||
|
Plug 'leafgarland/typescript-vim', { 'for': ['typescript', 'typescript.tsx'] }
|
||||||
|
Plug 'peitalin/vim-jsx-typescript', { 'for': ['typescript.tsx'] }
|
||||||
|
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
||||||
|
" JSON with comments
|
||||||
|
Plug 'neoclide/jsonc.vim'
|
||||||
" Jupyter
|
" Jupyter
|
||||||
Plug 'quarto-dev/quarto-vim'
|
Plug 'quarto-dev/quarto-vim'
|
||||||
" LaTeX
|
" LaTeX
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
" JSONC (see https://github.com/neoclide/jsonc.vim/pull/9")
|
||||||
|
au BufNewFile,BufRead */.vscode/*.json setlocal filetype=jsonc
|
||||||
|
|
||||||
Loading…
Reference in New Issue