home: add basic vscodium config
This commit is contained in:
parent
d25971bc1c
commit
6e7132aad4
3 changed files with 21 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
nix-crx.url = "git+https://git.privatevoid.net/max/nix-crx";
|
nix-crx.url = "git+https://git.privatevoid.net/max/nix-crx";
|
||||||
nix-crx.inputs.nixpkgs.follows = "nixpkgs";
|
nix-crx.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
nix-vsx.url = "git+https://git.privatevoid.net/max/nix-vsx";
|
||||||
|
nix-vsx.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
deploy-rs.url = "github:serokell/deploy-rs";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
deploy-rs.inputs.naersk.follows = "naersk";
|
deploy-rs.inputs.naersk.follows = "naersk";
|
||||||
|
|
|
@ -14,6 +14,11 @@ let
|
||||||
isNixos = args ? isNixos;
|
isNixos = args ? isNixos;
|
||||||
|
|
||||||
optionalDesktopModule = lib.optional (systemProfile == "desktop") {
|
optionalDesktopModule = lib.optional (systemProfile == "desktop") {
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./home/codium.nix
|
||||||
|
];
|
||||||
|
|
||||||
# other files
|
# other files
|
||||||
home.file.templates-directory = import ./home/templates.nix meta;
|
home.file.templates-directory = import ./home/templates.nix meta;
|
||||||
home.file.steam-skins = {
|
home.file.steam-skins = {
|
||||||
|
|
13
users/max/home/codium.nix
Normal file
13
users/max/home/codium.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscodium;
|
||||||
|
extensions = with inputs.nix-vsx.packages.x86_64-linux; [
|
||||||
|
arrterian_nix-env-selector
|
||||||
|
jnoortheen_nix-ide
|
||||||
|
rafaelmardojai_vscode-gnome-theme
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue