Merge remote-tracking branch 'forge/main'

This commit is contained in:
do butterflies cry? 2026-01-20 09:26:04 +10:00
commit 8c0f6606fa
4 changed files with 47 additions and 5 deletions

View file

@ -142,6 +142,16 @@
formatter.command = "${pkgs.ormolu}/bin/ormolu"; formatter.command = "${pkgs.ormolu}/bin/ormolu";
language-servers = ["haskell-language-server"]; language-servers = ["haskell-language-server"];
} }
{
name = "rust";
indent = {
tab-width = 2;
unit = " ";
};
auto-format = true;
formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
language-servers = ["rust-analyzer"];
}
# { # {
# name = "c-sharp"; # name = "c-sharp";
# source = "source.cs"; # source = "source.cs";
@ -176,6 +186,10 @@
command = "${pkgs.haskell-language-server}/bin/haskell-language-server-wrapper"; command = "${pkgs.haskell-language-server}/bin/haskell-language-server-wrapper";
}; };
rust-analyzer = {
command = "${pkgs.rust-analyzer}/bin/rust-analyzer";
};
# C# language services # C# language services
OmniSharp = { OmniSharp = {
command = "${pkgs.omnisharp-roslyn}/bin/OmniSharp"; command = "${pkgs.omnisharp-roslyn}/bin/OmniSharp";

View file

@ -27,7 +27,7 @@
defaultBranch = "main"; defaultBranch = "main";
}; };
url = { url = {
"https://github.com/" = { "git@github.com:" = {
insteadOf = [ insteadOf = [
"gh:" "gh:"
"github:" "github:"
@ -39,6 +39,24 @@
"gitlab:" "gitlab:"
]; ];
}; };
"git@github.com:/Agribit/" = {
insteadOf = [
"agri:"
"Agri:"
"agribit:"
"Agribit:"
];
};
"ssh://forgejo@forge.imbored.dev:2222/" = {
insteadOf = [
"forge"
];
};
"ssh://forgejo@forge.imbored.dev:2222/emileclarkb/" = {
insteadOf = [
"cry"
];
};
}; };
}; };

View file

@ -8,7 +8,7 @@
}: let }: let
home-manager = builtins.fetchTarball { home-manager = builtins.fetchTarball {
url = "https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz"; url = "https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz";
sha256 = "1y919cqrlmq0k44rgnacaq4zq37jj4rdh6f2swp6y2jiz28xb0iq"; sha256 = "07pk5m6mxi666dclaxdwf7xrinifv01vvgxn49bjr8rsbh31syaq";
}; };
in { in {
imports = [ imports = [
@ -25,13 +25,14 @@ in {
../modules/obsidian.nix ../modules/obsidian.nix
../modules/angryoxide.nix ../modules/angryoxide.nix
../modules/flipperzero.nix # ../modules/flipperzero.nix
../modules/chameleonultragui.nix # ../modules/chameleonultragui.nix
]; ];
nix.settings.experimental-features = [ nix.settings.experimental-features = [
"nix-command" "nix-command"
"flakes" "flakes"
"pipe-operators"
]; ];
nixpkgs.config.allowUnfreePredicate = let nixpkgs.config.allowUnfreePredicate = let
@ -170,6 +171,7 @@ in {
# With backwards compatability for alsa/pulseaudio/jack # With backwards compatability for alsa/pulseaudio/jack
pipewire = { pipewire = {
enable = true; enable = true;
audio.enable = true;
wireplumber.enable = true; wireplumber.enable = true;
alsa.enable = true; alsa.enable = true;
@ -259,6 +261,8 @@ in {
ani-cli ani-cli
bluetui bluetui
wl-clipboard # clipboard for wayland wl-clipboard # clipboard for wayland
hyprpicker # color picker
hyprshot # screenshot utility
qbittorrent # torrenting qbittorrent # torrenting
signal-desktop signal-desktop
@ -269,6 +273,7 @@ in {
# Shell # Shell
bash bash
fish fish
elvish # reference for crysh development
shellcheck shellcheck
grc # colorise command outputs grc # colorise command outputs
moreutils moreutils
@ -296,6 +301,8 @@ in {
# Rust # Rust
cargo cargo
rustc rustc
rustfmt
rust-analyzer
# Go # Go
go go
# Nim # Nim
@ -314,6 +321,7 @@ in {
nixd # lsp for nix nixd # lsp for nix
nix-prefetch-git nix-prefetch-git
nix-index nix-index
deploy-rs
# Python # Python
python312 # I use 3.12 since it's in a pretty stable state now python312 # I use 3.12 since it's in a pretty stable state now
@ -380,6 +388,8 @@ in {
# Games # Games
prismlauncher # minecraft prismlauncher # minecraft
pkgs-unstable.olympus # celeste
discord
]; ];
programs = { programs = {

View file

@ -254,7 +254,7 @@ in {
ani-cli ani-cli
bluetui bluetui
wl-clipboard # clipboard for wayland wl-clipboard # clipboard for wayland
hyprpicker hyprpicker # color picker
hyprshot # screenshot utility hyprshot # screenshot utility
qbittorrent qbittorrent
signal-desktop signal-desktop