Format everything with alejandra
This commit is contained in:
parent
82bbd7ce87
commit
7888103b1e
100 changed files with 2827 additions and 2756 deletions
|
|
@ -1,15 +1,17 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./virtualbox.nix
|
||||
./idea.nix
|
||||
./vscode.nix
|
||||
./helix.nix
|
||||
./unity.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
dia
|
||||
];
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./virtualbox.nix
|
||||
./idea.nix
|
||||
./vscode.nix
|
||||
./helix.nix
|
||||
./unity.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
dia
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
home-manager.users.toast = {
|
||||
programs.helix = {
|
||||
extraPackages = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -1,33 +1,35 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
{
|
||||
environment.systemPackages = with jetbrains; [
|
||||
idea-ultimate
|
||||
];
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with pkgs; {
|
||||
environment.systemPackages = with jetbrains; [
|
||||
idea-ultimate
|
||||
];
|
||||
|
||||
home-manager.users.toast = {
|
||||
# Install plugins
|
||||
home.file = {
|
||||
".local/share/JetBrains/IntelliJIdea2023.3/catppuccin.jar".source = fetchurl {
|
||||
url = "https://github.com/catppuccin/jetbrains/releases/download/v3.2.3/Catppuccin.Theme-3.2.3.jar";
|
||||
hash = "sha256-v5BZ2UKEBA/0DHKGwmprmuu0RcJCDsxzWmCdnX9aXpE=";
|
||||
};
|
||||
".local/share/JetBrains/IntelliJIdea2023.3/rainbow-brackets".source = fetchzip {
|
||||
url = "https://github.com/izhangzhihao/intellij-rainbow-brackets/releases/download/latest/intellij-rainbow-brackets-2023.3.9-233.zip";
|
||||
hash = "sha256-faMDP6kU21WOHVjY5Aj4/Glqymo1iUCTuUJdHsq1N/s=";
|
||||
};
|
||||
".local/share/JetBrains/IntelliJIdea2023.3/catppuccin-icons.jar".source = fetchurl {
|
||||
url = "https://github.com/catppuccin/jetbrains-icons/releases/download/v1.1.1/Catppuccin.Icons-1.1.1.jar";
|
||||
hash = "sha256-Bn0Yn0RlNmJQCSC0MJQrKjeERzfHhupWnyYm0YjXFwY=";
|
||||
};
|
||||
};
|
||||
home-manager.users.toast = {
|
||||
# Install plugins
|
||||
home.file = {
|
||||
".local/share/JetBrains/IntelliJIdea2023.3/catppuccin.jar".source = fetchurl {
|
||||
url = "https://github.com/catppuccin/jetbrains/releases/download/v3.2.3/Catppuccin.Theme-3.2.3.jar";
|
||||
hash = "sha256-v5BZ2UKEBA/0DHKGwmprmuu0RcJCDsxzWmCdnX9aXpE=";
|
||||
};
|
||||
".local/share/JetBrains/IntelliJIdea2023.3/rainbow-brackets".source = fetchzip {
|
||||
url = "https://github.com/izhangzhihao/intellij-rainbow-brackets/releases/download/latest/intellij-rainbow-brackets-2023.3.9-233.zip";
|
||||
hash = "sha256-faMDP6kU21WOHVjY5Aj4/Glqymo1iUCTuUJdHsq1N/s=";
|
||||
};
|
||||
".local/share/JetBrains/IntelliJIdea2023.3/catppuccin-icons.jar".source = fetchurl {
|
||||
url = "https://github.com/catppuccin/jetbrains-icons/releases/download/v1.1.1/Catppuccin.Icons-1.1.1.jar";
|
||||
hash = "sha256-Bn0Yn0RlNmJQCSC0MJQrKjeERzfHhupWnyYm0YjXFwY=";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
If you use programs.java.enable intellij picks up the jdk package directly, which is not ideal
|
||||
This adds the jdks I want to use to a directory intellij expects jdks to be
|
||||
*/
|
||||
home.file.".jdks/jdk8".source = "${pkgs.jdk8}/lib/openjdk";
|
||||
home.file.".jdks/jdk17".source = "${pkgs.jdk17}/lib/openjdk";
|
||||
};
|
||||
/*
|
||||
If you use programs.java.enable intellij picks up the jdk package directly, which is not ideal
|
||||
This adds the jdks I want to use to a directory intellij expects jdks to be
|
||||
*/
|
||||
home.file.".jdks/jdk8".source = "${pkgs.jdk8}/lib/openjdk";
|
||||
home.file.".jdks/jdk17".source = "${pkgs.jdk17}/lib/openjdk";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
home-manager.users.toast = {
|
||||
home.packages = [(
|
||||
pkgs.unityhub
|
||||
)];
|
||||
home.packages = [
|
||||
(
|
||||
pkgs.unityhub
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
# Need to use visual studio 2019 :(
|
||||
virtualisation.virtualbox.host = {
|
||||
enable = true;
|
||||
};
|
||||
home-manager.sharedModules = [{
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"d '/%h/VirtualBox VMs'"
|
||||
"h '/%h/VirtualBox VMs' - - - - C "
|
||||
];
|
||||
}];
|
||||
users.users.toast.extraGroups = [ "vboxusers" ];
|
||||
{config, ...}: {
|
||||
# Need to use visual studio 2019 :(
|
||||
virtualisation.virtualbox.host = {
|
||||
enable = true;
|
||||
};
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"d '/%h/VirtualBox VMs'"
|
||||
"h '/%h/VirtualBox VMs' - - - - C "
|
||||
];
|
||||
}
|
||||
];
|
||||
users.users.toast.extraGroups = ["vboxusers"];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,18 +1,24 @@
|
|||
{ config, pkgs, lib, flakeSelf, ... }:
|
||||
let inputs = flakeSelf.inputs; in
|
||||
{
|
||||
home-manager.users.toast.programs.vscode = {
|
||||
# The redhat xml extension needs an fhs environment
|
||||
package = lib.mkForce pkgs.vscodium-fhs;
|
||||
extensions = with inputs.vscode-extensions.extensions.x86_64-linux; [
|
||||
open-vsx.redhat.vscode-xml
|
||||
open-vsx.tomoki1207.pdf
|
||||
open-vsx.ms-vscode.live-server
|
||||
open-vsx.ecmel.vscode-html-css
|
||||
open-vsx.angular.ng-template
|
||||
];
|
||||
userSettings = {
|
||||
redhat.telemetry.enabled = false;
|
||||
};
|
||||
};
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
flakeSelf,
|
||||
...
|
||||
}: let
|
||||
inputs = flakeSelf.inputs;
|
||||
in {
|
||||
home-manager.users.toast.programs.vscode = {
|
||||
# The redhat xml extension needs an fhs environment
|
||||
package = lib.mkForce pkgs.vscodium-fhs;
|
||||
extensions = with inputs.vscode-extensions.extensions.x86_64-linux; [
|
||||
open-vsx.redhat.vscode-xml
|
||||
open-vsx.tomoki1207.pdf
|
||||
open-vsx.ms-vscode.live-server
|
||||
open-vsx.ecmel.vscode-html-css
|
||||
open-vsx.angular.ng-template
|
||||
];
|
||||
userSettings = {
|
||||
redhat.telemetry.enabled = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue