chore: regular adds removes fixes

This commit is contained in:
2024-10-31 18:22:49 +01:00
parent 4125562f7a
commit 71d6a1dc81
28 changed files with 390318 additions and 390276 deletions

View File

@ -1,8 +1,9 @@
{ config, pkgs, ... }: {
imports = [
./vscode.nix
./packages/vscode.nix
./packages/go.nix
./packages/kitty.nix
./fonts.nix
./kitty.nix
./dconf.nix
./keyboard-shortcuts.nix
./virtualization.nix

View File

@ -10,13 +10,13 @@
# Package management
pipx
devbox
# Development SDKs/Toolkits
gcc
pkg-config
gnumake
stdenv.cc
go
rustc
cargo
cargo-edit

View File

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
let
pinnedPkgs = import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/d4f247e89f6e10120f911e2e2d2254a050d0f732.tar.gz";
# Update this SHA256 when a new version is required ^^^
# You can find them here: https://www.nixhub.io/packages/vscode
}) { };
in
{
# Use the pinned Go for the programs configuration
programs.go = {
enable = true;
package = pinnedPkgs.go;
};
home.sessionVariables = {
GOPATH = "${config.home.homeDirectory}/go";
GOBIN = "${config.home.homeDirectory}/go/bin";
};
}

View File

@ -0,0 +1,58 @@
{ pkgs, ... }:
let
pinnedPkgs = import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/d4f247e89f6e10120f911e2e2d2254a050d0f732.tar.gz";
# Update this SHA256 when a new version is required ^^^
# You can find them here: https://www.nixhub.io/packages/vscode
}) { };
in
{
# Use the pinned VSCode for the programs.vscode configuration
programs.vscode = {
enable = true;
package = pinnedPkgs.vscode;
mutableExtensionsDir = true;
extensions = with pkgs.vscode-extensions; [
ms-azuretools.vscode-docker
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.makefile-tools
ms-vsliveshare.vsliveshare
bbenoist.nix
aaron-bond.better-comments
alexisvt.flutter-snippets
bmewburn.vscode-intelephense-client
christian-kohler.path-intellisense
dart-code.dart-code
dart-code.flutter
esbenp.prettier-vscode
foxundermoon.shell-format
github.vscode-github-actions
github.vscode-pull-request-github
usernamehw.errorlens
vincaslt.highlight-matching-tag
vscode-icons-team.vscode-icons
golang.go
davidanson.vscode-markdownlint
bbenoist.nix
brettm12345.nixfmt-vscode
yzhang.markdown-all-in-one
xdebug.php-debug
github.copilot
github.copilot-chat
];
# ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "warpnet.salt-lint";
# publisher = "warpnet";
# version = "latest";
# }
# {
# name = "mguellsegarra.highlight-on-copy";
# publisher = "mguellsegarra";
# version = "latest";
# }
# ];
};
}

View File

@ -1,53 +0,0 @@
{ pkgs, ... }:
{
programs = {
home-manager.enable = true;
vscode = {
enable = true;
mutableExtensionsDir = true;
extensions = with pkgs.vscode-extensions; [
ms-azuretools.vscode-docker
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.makefile-tools
ms-vsliveshare.vsliveshare
bbenoist.nix
aaron-bond.better-comments
alexisvt.flutter-snippets
bmewburn.vscode-intelephense-client
christian-kohler.path-intellisense
dart-code.dart-code
dart-code.flutter
esbenp.prettier-vscode
foxundermoon.shell-format
github.vscode-github-actions
github.vscode-pull-request-github
usernamehw.errorlens
vincaslt.highlight-matching-tag
vscode-icons-team.vscode-icons
golang.go
davidanson.vscode-markdownlint
bbenoist.nix
brettm12345.nixfmt-vscode
yzhang.markdown-all-in-one
xdebug.php-debug
github.copilot
github.copilot-chat
];
# ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "warpnet.salt-lint";
# publisher = "warpnet";
# version = "latest";
# }
# {
# name = "mguellsegarra.highlight-on-copy";
# publisher = "mguellsegarra";
# version = "latest";
# }
# ];
};
};
}

View File

@ -7,6 +7,7 @@
./virtualization.nix
./users.nix
./flatpak.nix
./hosts.nix
];
# Bootloader.

11
config/nixos/hosts.nix Normal file
View File

@ -0,0 +1,11 @@
{ ... }:
{
networking.extraHosts = ''
127.0.0.1 subsites.local
127.0.0.1 discountoffice.nl.local
127.0.0.1 discountoffice.be.local
127.0.0.1 fr.discountoffice.be.local
127.0.0.1 api.local
127.0.0.1 mailpit.local
'';
}

View File

@ -4,6 +4,10 @@
virtualisation = {
docker = {
enable = true;
autoPrune.enable = true;
daemon.settings = {
"live-restore" = false;
};
};
libvirtd = {