1
0
Fork 0

Switch to helix nightly

This commit is contained in:
Ethan Reece 2025-07-17 17:26:33 -05:00
parent bbb3f94de6
commit 0fcb819528
Signed by: me
GPG key ID: DD8CE04D5D8FF832
3 changed files with 48 additions and 35 deletions

View file

@ -4,12 +4,19 @@
{ inputs, withSystem, ... }: { inputs, withSystem, ... }:
{ {
flake.homeConfigurations = { flake.homeConfigurations =
asahi = withSystem "aarch64-linux" ( let
system = "aarch64-linux";
in
{
asahi = withSystem system (
{ pkgs, ... }: { pkgs, ... }:
inputs.home-manager.lib.homeManagerConfiguration { inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
extraSpecialArgs = { inherit inputs pkgs; }; extraSpecialArgs = {
inherit inputs pkgs;
system = system;
};
modules = [ modules = [
{ nixpkgs.overlays = [ inputs.nur.overlays.default ]; } { nixpkgs.overlays = [ inputs.nur.overlays.default ]; }
inputs.lix-module.nixosModules.default inputs.lix-module.nixosModules.default

View file

@ -7,6 +7,7 @@
inputs, inputs,
lib, lib,
pkgs, pkgs,
system,
... ...
}: }:
@ -128,6 +129,7 @@ in
}; };
helix = { helix = {
enable = true; enable = true;
package = inputs.helix.packages.${system}.helix;
defaultEditor = true; defaultEditor = true;
settings = { settings = {
editor.soft-wrap = { editor.soft-wrap = {

View file

@ -4,12 +4,16 @@
{ inputs, withSystem, ... }: { inputs, withSystem, ... }:
{ {
flake.homeConfigurations = { flake.homeConfigurations =
raspi = withSystem "aarch64-linux" ( let
system = "aarch64-linux";
in
{
raspi = withSystem system (
{ pkgs, ... }: { pkgs, ... }:
inputs.home-manager.lib.homeManagerConfiguration { inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
extraSpecialArgs = { inherit inputs pkgs; }; extraSpecialArgs = { inherit inputs pkgs system; };
modules = [ modules = [
inputs.lix-module.nixosModules.default inputs.lix-module.nixosModules.default
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops