more vscode, plasma stuff, add switch to justfile
This commit is contained in:
parent
ff7354c661
commit
9dad1e07cb
6 changed files with 51 additions and 5 deletions
29
flake.lock
generated
29
flake.lock
generated
|
@ -1285,7 +1285,8 @@
|
||||||
"plasma-manager": "plasma-manager",
|
"plasma-manager": "plasma-manager",
|
||||||
"rust-overlay": "rust-overlay",
|
"rust-overlay": "rust-overlay",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"treefmt": "treefmt"
|
"treefmt": "treefmt",
|
||||||
|
"vscode-extensions": "vscode-extensions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
|
@ -1395,6 +1396,32 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vscode-extensions": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": [
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
|
"flake-utils": [
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1739152168,
|
||||||
|
"narHash": "sha256-Zv6eGe+c5f9Chyw6O3ePJ4hbscetuzZxYShwjn3ACEs=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-vscode-extensions",
|
||||||
|
"rev": "bd6b70f681b2561f53c9522be64330c7ff9d08d8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-vscode-extensions",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"xwayland-satellite-stable": {
|
"xwayland-satellite-stable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
@ -84,6 +84,12 @@
|
||||||
inputs.rust-overlay.follows = "rust-overlay";
|
inputs.rust-overlay.follows = "rust-overlay";
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
inputs.flake-utils.follows = "flake-utils";
|
||||||
};
|
};
|
||||||
|
vscode-extensions = {
|
||||||
|
url = "github:nix-community/nix-vscode-extensions";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.flake-utils.follows = "flake-utils";
|
||||||
|
inputs.flake-compat.follows = "flake-compat";
|
||||||
|
};
|
||||||
|
|
||||||
nvim-github-theme = {
|
nvim-github-theme = {
|
||||||
url = "github:projekt0n/github-nvim-theme";
|
url = "github:projekt0n/github-nvim-theme";
|
||||||
|
@ -163,6 +169,7 @@
|
||||||
overlays = [
|
overlays = [
|
||||||
inputs.niri.overlays.niri
|
inputs.niri.overlays.niri
|
||||||
inputs.rust-overlay.overlays.default
|
inputs.rust-overlay.overlays.default
|
||||||
|
inputs.vscode-extensions.overlays.default
|
||||||
] ++ (import ./overlay { inherit inputs; });
|
] ++ (import ./overlay { inherit inputs; });
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -6,13 +6,16 @@
|
||||||
enableUpdateCheck = false;
|
enableUpdateCheck = false;
|
||||||
enableExtensionUpdateCheck = false;
|
enableExtensionUpdateCheck = false;
|
||||||
mutableExtensionsDir = false;
|
mutableExtensionsDir = false;
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = (with pkgs.open-vsx; [
|
||||||
vscodevim.vim
|
vscodevim.vim
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
editorconfig.editorconfig
|
editorconfig.editorconfig
|
||||||
github.github-vscode-theme
|
github.github-vscode-theme
|
||||||
rust-lang.rust-analyzer
|
rust-lang.rust-analyzer
|
||||||
];
|
]) ++
|
||||||
|
(with pkgs.vscode-marketplace; [
|
||||||
|
github.codespaces
|
||||||
|
]);
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"workbench.colorTheme" = "GitHub Dark Default";
|
"workbench.colorTheme" = "GitHub Dark Default";
|
||||||
"files.autoSave" = "afterDelay";
|
"files.autoSave" = "afterDelay";
|
||||||
|
|
|
@ -35,7 +35,12 @@
|
||||||
"launch-browser" = {
|
"launch-browser" = {
|
||||||
name = "launch browser";
|
name = "launch browser";
|
||||||
key = "Meta+B";
|
key = "Meta+B";
|
||||||
command = "librewolf";
|
command = "chromium";
|
||||||
|
};
|
||||||
|
"launch-fuzzel" = {
|
||||||
|
name = "launch-fuzzel";
|
||||||
|
key = "Meta+d";
|
||||||
|
command = "fuzzel";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
5
justfile
5
justfile
|
@ -15,3 +15,8 @@ upgrade:
|
||||||
git switch main
|
git switch main
|
||||||
git merge update
|
git merge update
|
||||||
git branch -d update
|
git branch -d update
|
||||||
|
|
||||||
|
switch:
|
||||||
|
sudo nixos-rebuild switch -L --flake . --use-substitutes
|
||||||
|
nixos-rebuild switch -L --flake .#chunk --target-host root@2a0f:85c1:840:2bfb::1 --use-substitutes
|
||||||
|
home-manager -L switch --flake .
|
||||||
|
|
|
@ -3,7 +3,6 @@ let
|
||||||
overlays = [
|
overlays = [
|
||||||
./conduwuit
|
./conduwuit
|
||||||
./attic
|
./attic
|
||||||
./vscode.nix
|
|
||||||
];
|
];
|
||||||
importedOverlays = map (m: import m) overlays;
|
importedOverlays = map (m: import m) overlays;
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Reference in a new issue