update helix to 24.3

This commit is contained in:
Schrottkatze 2024-04-03 18:37:15 +02:00
parent c5f02511eb
commit c1d4aba9c3
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
3 changed files with 28 additions and 4 deletions

View file

@ -358,6 +358,21 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs-unstable-small": {
"locked": {
"lastModified": 1712132741,
"narHash": "sha256-44ZLixE1FGUmz01/G/1ZMfJG8P+i8y2SkOVRia0xRkk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7781caa09d74b971a059a0240a03c5dd68acf3e5",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable-small",
"type": "indirect"
}
},
"nixpkgs_10": { "nixpkgs_10": {
"locked": { "locked": {
"lastModified": 1675614288, "lastModified": 1675614288,
@ -505,6 +520,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_8", "nixpkgs": "nixpkgs_8",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-unstable-small": "nixpkgs-unstable-small",
"wordsofgod": "wordsofgod" "wordsofgod": "wordsofgod"
} }
}, },

View file

@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "nixpkgs/nixos-23.11"; nixpkgs-stable.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable-small.url = "nixpkgs/nixos-unstable-small";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -26,12 +27,14 @@
self, self,
nixpkgs, nixpkgs,
nixpkgs-stable, nixpkgs-stable,
nixpkgs-unstable-small,
home-manager, home-manager,
nixos-hardware, nixos-hardware,
mac-brcm-fw, mac-brcm-fw,
... ...
} @ inputs: let } @ inputs: let
pkgs = nixpkgs.legacyPackages."x86_64-linux"; pkgs = nixpkgs.legacyPackages."x86_64-linux";
pkgs-unstable-small = nixpkgs-unstable-small.legacyPackages."x86_64-linux";
in { in {
devShells."x86_64-linux".default = pkgs.mkShell { devShells."x86_64-linux".default = pkgs.mkShell {
buildInputs = [ buildInputs = [
@ -49,7 +52,7 @@
nixosConfigurations = { nixosConfigurations = {
monosodium-glutamate-g = nixpkgs.lib.nixosSystem { monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs pkgs-unstable-small;
}; };
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
@ -71,7 +74,7 @@
}; };
catbook-j = nixpkgs.lib.nixosSystem { catbook-j = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs pkgs-unstable-small;
}; };
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
@ -93,7 +96,7 @@
}; };
potatobook-g = nixpkgs.lib.nixosSystem { potatobook-g = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs pkgs-unstable-small;
}; };
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [

View file

@ -1,4 +1,8 @@
{config, ...}: { {
config,
pkgs-unstable-small,
...
}: {
home-manager.users.jade = {pkgs, ...}: let home-manager.users.jade = {pkgs, ...}: let
typstGrammar = pkgs.fetchFromGitHub { typstGrammar = pkgs.fetchFromGitHub {
owner = "uben0"; owner = "uben0";
@ -24,6 +28,7 @@
}; };
programs.helix = { programs.helix = {
enable = true; enable = true;
package = pkgs-unstable-small.helix;
settings = { settings = {
theme = "gruvbox"; theme = "gruvbox";
editor = { editor = {