feat: partially configure VSCodium

This commit is contained in:
Jo 2024-11-14 22:47:48 +01:00
parent bd4dcd5b28
commit a45e263617
5 changed files with 60 additions and 29 deletions

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"catppuccin": { "catppuccin": {
"locked": { "locked": {
"lastModified": 1730036420, "lastModified": 1731232837,
"narHash": "sha256-rv2bz7J6Wo7AenPiu4+ptCB1AFyaMcS77y89zbRAtI8=", "narHash": "sha256-0aIwr/RC/oe7rYkfJb47xjdEQDSNcqpFGsEa+EPlDEs=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "0b7bf04628414a402d255924f65e9a0d1a53d92b", "rev": "32359bf226fe874d3b7a0a5753d291a4da9616fe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -70,11 +70,11 @@
}, },
"hardware": { "hardware": {
"locked": { "locked": {
"lastModified": 1730068391, "lastModified": 1731403644,
"narHash": "sha256-jlAGtfMuI8pUUoUmNkm2P/38pOtHZdcAf3Az8XQLAf4=", "narHash": "sha256-T9V7CTucjRZ4Qc6pUEV/kpgNGzQbHWfGcfK6JJLfUeI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "6906ac67a1078cf950b8527341e229eeecb5bc30", "rev": "f6581f1c3b137086e42a08a906bdada63045f991",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -91,11 +91,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730016908, "lastModified": 1731235328,
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=", "narHash": "sha256-NjavpgE9/bMe/ABvZpyHIUeYF1mqR5lhaep3wB79ucs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e83414058edd339148dc142a8437edb9450574c8", "rev": "60bb110917844d354f3c18e05450606a435d2d10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -122,27 +122,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1729880355, "lastModified": 1731245184,
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=", "narHash": "sha256-vmLS8+x+gHRv1yzj3n+GTAEObwmhxmkkukB2DwtJRdU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a", "rev": "aebe249544837ce42588aa4b2e7972222ba12e8f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1729973466, "lastModified": 1730602179,
"narHash": "sha256-knnVBGfTCZlQgxY1SgH0vn2OyehH9ykfF8geZgS95bk=", "narHash": "sha256-efgLzQAWSzJuCLiCaQUCDu4NudNlHdg2NzGLX5GYaEY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cd3e8833d70618c4eea8df06f95b364b016d4950", "rev": "3c2f1c4ca372622cb2f9de8016c9a0b1cbd0f37c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -193,11 +193,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1729999681, "lastModified": 1731364708,
"narHash": "sha256-qm0uCtM9bg97LeJTKQ8dqV/FvqRN+ompyW4GIJruLuw=", "narHash": "sha256-HC0anOL+KmUQ2hdRl0AtunbAckasxrkn4VLmxbW/WaA=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "1666d16426abe79af5c47b7c0efa82fd31bf4c56", "rev": "4c91d52db103e757fc25b58998b0576ae702d659",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -3,7 +3,7 @@
inputs = { inputs = {
# Nixpkgs instance. # Nixpkgs instance.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
# Snowfall lib imposes an opinionated file-structure, which makes things a little easier sometimes. # Snowfall lib imposes an opinionated file-structure, which makes things a little easier sometimes.
snowfall-lib = { snowfall-lib = {
@ -24,13 +24,19 @@
}; };
# Hardware specific tweaks and performance optimizations. # Hardware specific tweaks and performance optimizations.
hardware.url = "github:NixOS/nixos-hardware/master"; hardware = {
url = "github:NixOS/nixos-hardware/master";
};
# Catppuccin theme nix configuration. # Catppuccin theme nix configuration.
catppuccin.url = "github:catppuccin/nix"; catppuccin = {
url = "github:catppuccin/nix";
};
# Declarative management of Flatpak packages. # Declarative management of Flatpak packages.
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1"; nix-flatpak = {
url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
};
}; };
outputs = inputs: outputs = inputs:

View file

@ -0,0 +1,24 @@
{
lib,
pkgs,
inputs,
config,
...
}: {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
wakatime.vscode-wakatime # Wakatime for coding statistics
vue.volar # Vue support
svelte.svelte-vscode # Svelte support
pkief.material-icon-theme # Material icons
prisma.prisma
ms-python.vscode-pylance # Python support
ms-dotnettools.csharp # CSharp support
mikestead.dotenv # Improved dotenv support
catppuccin.catppuccin-vsc # Catppuccin theme
jnoortheen.nix-ide # Nix language support
];
};
}

View file

@ -22,10 +22,10 @@
{ {
imports = [ imports = [
./apps/gnome.nix ./apps/gnome.nix
./apps/vscodium.nix
]; ];
themes.catppuccin.gtk.enable = true; themes.catppuccin.gtk.enable = true;
apps.zed-editor.enable = true;
# Flatpak configuration. # Flatpak configuration.
services.flatpak = { services.flatpak = {
@ -33,9 +33,7 @@
update.auto.enable = true; update.auto.enable = true;
uninstallUnmanaged = true; uninstallUnmanaged = true;
packages = [ packages = [];
"com.jeffser.Alpaca"
];
}; };
# Declare user packages. # Declare user packages.
@ -47,18 +45,18 @@
lunar-client lunar-client
steam steam
g4music g4music
blanket
bitwarden-desktop bitwarden-desktop
kitty
### Development ### Development
avra avra
avrdude avrdude
jetbrains.phpstorm jetbrains.phpstorm
jetbrains.pycharm-community
git git
nodejs_22 nodejs_22
bun bun
devenv devenv
python39
### Rust development specific ### Rust development specific
rustup rustup

View file

@ -79,6 +79,9 @@
## Security ## Security
pinentry-tty pinentry-tty
gnupg gnupg
## Development
arduino-ide
]; ];
system.stateVersion = "23.05"; system.stateVersion = "23.05";