chore: regular adds removes fixes
This commit is contained in:
@ -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
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
# Package management
|
||||
pipx
|
||||
devbox
|
||||
|
||||
# Development SDKs/Toolkits
|
||||
gcc
|
||||
pkg-config
|
||||
gnumake
|
||||
stdenv.cc
|
||||
go
|
||||
rustc
|
||||
cargo
|
||||
cargo-edit
|
||||
|
20
config/home-manager/packages/go.nix
Normal file
20
config/home-manager/packages/go.nix
Normal 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";
|
||||
};
|
||||
}
|
58
config/home-manager/packages/vscode.nix
Normal file
58
config/home-manager/packages/vscode.nix
Normal 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";
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
}
|
@ -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";
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
};
|
||||
}
|
@ -7,6 +7,7 @@
|
||||
./virtualization.nix
|
||||
./users.nix
|
||||
./flatpak.nix
|
||||
./hosts.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
11
config/nixos/hosts.nix
Normal file
11
config/nixos/hosts.nix
Normal 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
|
||||
'';
|
||||
}
|
@ -4,6 +4,10 @@
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
daemon.settings = {
|
||||
"live-restore" = false;
|
||||
};
|
||||
};
|
||||
|
||||
libvirtd = {
|
||||
|
Reference in New Issue
Block a user