Compare commits

...

2 commits

Author SHA1 Message Date
0875697997
setup scanning 2025-12-05 22:27:20 +01:00
119abb0377
helix: use clippy for rust-analyzer diagnostics 2025-12-03 20:14:38 +01:00
4 changed files with 95 additions and 9 deletions

77
flake.lock generated
View file

@ -387,6 +387,24 @@
}
},
"flake-utils_5": {
"inputs": {
"systems": "systems_5"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_6": {
"inputs": {
"systems": [
"starship-jj",
@ -713,6 +731,22 @@
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1764915887,
"narHash": "sha256-CeBCJ9BMsuzVgn8GVfuSRZ6xeau7szzG0Xn6O/OxP9M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "42e29df35be6ef54091d3a3b4e97056ce0a98ce8",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1755186698,
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
@ -900,6 +934,7 @@
"optnix": "optnix",
"other-transcode": "other-transcode",
"river-shifttags": "river-shifttags",
"scansnapit": "scansnapit",
"starship-jj": "starship-jj",
"stylix": "stylix"
}
@ -943,12 +978,31 @@
"type": "github"
}
},
"scansnapit": {
"inputs": {
"flake-utils": "flake-utils_5",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1764969464,
"narHash": "sha256-vG2vlM9FLxtj4rphizrXrC2FuIPfc4HMUsWEYU20yJk=",
"ref": "refs/heads/master",
"rev": "763d2110c84041dc733f3bfb692e91cb8ccff9e9",
"revCount": 1,
"type": "git",
"url": "ssh://forgejo@forgejo.005540.xyz/logistic-bot/scansnapit"
},
"original": {
"type": "git",
"url": "ssh://forgejo@forgejo.005540.xyz/logistic-bot/scansnapit"
}
},
"starship-jj": {
"inputs": {
"fenix": "fenix",
"flake-utils": "flake-utils_5",
"nixpkgs": "nixpkgs_6",
"systems": "systems_5"
"flake-utils": "flake-utils_6",
"nixpkgs": "nixpkgs_7",
"systems": "systems_6"
},
"locked": {
"lastModified": 1757479801,
@ -977,7 +1031,7 @@
"nixpkgs"
],
"nur": "nur",
"systems": "systems_6",
"systems": "systems_7",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
@ -1089,6 +1143,21 @@
"type": "github"
}
},
"systems_7": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {

View file

@ -47,6 +47,8 @@
optnix.url = "github:water-sucks/optnix";
starship-jj.url = "gitlab:lanastara_foss/starship-jj";
scansnapit.url = "git+ssh://forgejo@forgejo.005540.xyz/logistic-bot/scansnapit";
};
outputs = {
nixpkgs,
@ -62,6 +64,7 @@
copyparty,
optnix,
starship-jj,
scansnapit,
...
}: let
system = "x86_64-linux";
@ -75,6 +78,7 @@
cassowary = cassowary.packages.${system}.default;
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
starship-jj = starship-jj.packages.${system}.default;
scansnapit = scansnapit.packages.${system}.default;
};
in {
nixosConfigurations.void = nixpkgs.lib.nixosSystem {
@ -96,9 +100,9 @@
./stylix.nix
copyparty.nixosModules.default
({ ... }: {
({...}: {
# add the copyparty overlay to expose the package to the module
nixpkgs.overlays = [ copyparty.overlays.default ];
nixpkgs.overlays = [copyparty.overlays.default];
})
];
specialArgs = {

View file

@ -9,6 +9,7 @@
nix-doom-emacs-unstraightened,
cassowary,
starship-jj,
scansnapit,
...
}: let
username = "khais";
@ -124,6 +125,9 @@ in {
nil
# used for jujutsu watch
watchman
# scanning
scansnapit
naps2
];
file = {
@ -483,9 +487,16 @@ in {
};
};
languages = {
language-server.ucm = {
command = "nc";
args = ["localhost" "5757"];
language-server = {
ucm = {
command = "nc";
args = ["localhost" "5757"];
};
rust-analyzer = {
config = {
check.command = "clippy";
};
};
};
language = [
{

View file

@ -38,6 +38,8 @@ in {
"Control+Alt+Shift L" = "spawn '${lock-command} & systemctl suspend'";
# terminal
"Super Return" = "spawn kitty";
# scansnapit!
"Super Space" = "spawn scansnapit";
# frequent programs
"Super Q" = "spawn firefox";
"Super A" = "spawn emacs";