Formatted

This commit is contained in:
2025-08-08 13:26:21 +03:00
parent 43e1f62a79
commit a98e77d41a
28 changed files with 381 additions and 325 deletions
Generated
+4 -4
View File
@@ -6,11 +6,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1754603518, "lastModified": 1754648724,
"narHash": "sha256-RXSbgFRmMqfjsCSxKI7nWJm+doxGckTQE8aaStHLy5I=", "narHash": "sha256-rkv5hNteekFonbSBkIlCoRZfOD3QzWkI6iBBstDI2eU=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "b0dc530c108e38980daea9e93764cc255d8c18fb", "rev": "0cdc3208f2aaa233c837c968583a79d45b968899",
"revCount": 56, "revCount": 57,
"type": "git", "type": "git",
"url": "file:./azos-core" "url": "file:./azos-core"
}, },
+2 -2
View File
@@ -11,7 +11,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
#Music production nix #Music production nix
musnix = { url = "github:musnix/musnix"; }; musnix = {url = "github:musnix/musnix";};
azos-core = { azos-core = {
url = "git+file:./azos-core"; url = "git+file:./azos-core";
@@ -62,6 +62,6 @@
}; };
#TODO this is probably unsupported #TODO this is probably unsupported
shells = forAllSystems (system: ((import ./shells) { pkgs= nixpkgs.legacyPackages.${system} // outputs.packages.${system} // outputs.azos-packages.${system};})); shells = forAllSystems (system: ((import ./shells) {pkgs = nixpkgs.legacyPackages.${system} // outputs.packages.${system} // outputs.azos-packages.${system};}));
}; };
} }
-15
View File
@@ -8,27 +8,12 @@
pkgs, pkgs,
... ...
}: { }: {
imports = [ imports = [
outputs.homeManagerModules outputs.homeManagerModules
outputs.azos-core.homeManagerModules outputs.azos-core.homeManagerModules
./lauretta-emacs.nix ./lauretta-emacs.nix
]; ];
# nixpkgs = {
# overlays = [
# inputs.azos-core.overlays.addpkgs
# outputs.overlays.additions
# outputs.overlays.modifications
# outputs.overlays.unstable-packages
# ];
# config = {
# allowUnfree = true;
# # Workaround for https://github.com/nix-community/home-manager/issues/2942
# allowUnfreePredicate = _: true;
# };
# };
programs.home-manager.enable = true; programs.home-manager.enable = true;
azos.suites.base.enable = true; azos.suites.base.enable = true;
+8 -5
View File
@@ -1,11 +1,14 @@
{ lib, config, pkgs, azos-utils, ... }:
let
localPkgName = "azos-emacs-lauretta";
in
{ {
lib,
config,
pkgs,
azos-utils,
...
}: let
localPkgName = "azos-emacs-lauretta";
in {
#Set config #Set config
config = { config = {
azos.emacs.enabledSuites = [localPkgName]; azos.emacs.enabledSuites = [localPkgName];
#Base emacs suite definition #Base emacs suite definition
+14 -10
View File
@@ -1,15 +1,19 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.home-audio.enable; config.azos.home-audio.enable;
in { in {
options.azos.home-audio.enable = lib.mkOption { options.azos.home-audio.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
# home.packages = with pkgs; [pavucontrol]; # home.packages = with pkgs; [pavucontrol];
}; };
} }
+16 -12
View File
@@ -1,17 +1,21 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.discord.enable; config.azos.discord.enable;
in { in {
options.azos.discord.enable = lib.mkOption { options.azos.discord.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.packages = with pkgs; [ home.packages = with pkgs; [
discord discord
]; ];
}; };
} }
+34 -30
View File
@@ -1,37 +1,41 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.encryption.enable; config.azos.encryption.enable;
in { in {
options.azos.encryption.enable = lib.mkOption { options.azos.encryption.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
};
config = lib.mkIf isEnabled {
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_KEY = "076AA297579A0064";
};
}; };
config = lib.mkIf isEnabled { home.packages = with pkgs; [
programs.password-store = { yubikey-personalization
enable = true; pinentry-gtk2
settings = { ];
PASSWORD_STORE_KEY = "076AA297579A0064"; programs.gpg = {
}; enable = true;
};
home.packages = with pkgs; [
yubikey-personalization
pinentry-gtk2
];
programs.gpg = {
enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryPackage = pkgs.pinentry-gtk2;
};
home.file.".ssh/config".source = ./ssh-config;
home.file.".ssh/gpg-as-ssh.pub".source = ./gpg-as-ssh.pub;
home.file.".gnupg/sshcontrol".source = ./sshcontrol;
}; };
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryPackage = pkgs.pinentry-gtk2;
};
home.file.".ssh/config".source = ./ssh-config;
home.file.".ssh/gpg-as-ssh.pub".source = ./gpg-as-ssh.pub;
home.file.".gnupg/sshcontrol".source = ./sshcontrol;
};
} }
+27 -25
View File
@@ -1,34 +1,36 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.git-config.enable; config.azos.git-config.enable;
in { in {
options.azos.git-config.enable = lib.mkOption { options.azos.git-config.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.packages = with pkgs; [pass-git-helper unzip];
home.packages = with pkgs; [ pass-git-helper unzip ]; programs.git = {
enable = true;
programs.git = { userName = "Aner Zakobar";
enable = true; userEmail = "aner@zakobar.com";
userName = "Aner Zakobar";
userEmail = "aner@zakobar.com";
signing = {
key = "6D17E295C70E2674";
signByDefault = true;
};
extraConfig = {
credential.helper = "!pass-git-helper $@";
};
signing = {
key = "6D17E295C70E2674";
signByDefault = true;
};
extraConfig = {
credential.helper = "!pass-git-helper $@";
}; };
home.file.".config/pass-git-helper/git-pass-mapping.ini".source =
./pass-git-mapping.ini;
}; };
home.file.".config/pass-git-helper/git-pass-mapping.ini".source =
./pass-git-mapping.ini;
};
} }
+18 -14
View File
@@ -1,19 +1,23 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.kubectl.enable; config.azos.kubectl.enable;
in { in {
options.azos.kubectl.enable = lib.mkOption { options.azos.kubectl.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.packages = with pkgs; [ home.packages = with pkgs; [
kubectl kubectl
kubernetes-helm kubernetes-helm
velero velero
]; ];
}; };
} }
+62 -47
View File
@@ -1,73 +1,87 @@
#https://xeiaso.net/talks/asg-2023-nixos/ example #https://xeiaso.net/talks/asg-2023-nixos/ example
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.mail.enable; config.azos.mail.enable;
default_account_params = { default_account_params = {
realName = "Aner Zakobar"; realName = "Aner Zakobar";
notmuch.enable = true; notmuch.enable = true;
mbsync = { mbsync = {
enable = true; enable = true;
create = "maildir"; create = "maildir";
}; };
}; };
default_gmail_params = default_account_params // { default_gmail_params =
# lieer.enable = true; default_account_params
# lieer.sync.enable = true; // {
flavor = "gmail.com"; # lieer.enable = true;
# imap = { # lieer.sync.enable = true;
# host = "mail.privateemail.com"; flavor = "gmail.com";
# }; # imap = {
}; # host = "mail.privateemail.com";
# };
};
default_smtp = { default_smtp = {
tls = { tls = {
enable = true; enable = true;
certificatesFile = "/etc/ssl/certs/ca-certificates.crt"; certificatesFile = "/etc/ssl/certs/ca-certificates.crt";
}; };
}; };
default_gmail_smtp = default_smtp // { default_gmail_smtp =
host = "smtp.gmail.com"; default_smtp
}; // {
in { host = "smtp.gmail.com";
options.azos.mail.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
}; };
in {
options.azos.mail.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
programs= { programs = {
notmuch = { notmuch = {
enable = true; enable = true;
hooks = { hooks = {
preNew = "mbsync -a"; preNew = "mbsync -a";
};
};
mbsync = {
enable = true;
};
msmtp = {
enable = true;
};
lieer = {
enable = true;
}; };
}; };
services.lieer.enable = true; mbsync = {
accounts.email.accounts = { enable = true;
gmail = default_gmail_params // { };
msmtp = {
enable = true;
};
lieer = {
enable = true;
};
};
services.lieer.enable = true;
accounts.email.accounts = {
gmail =
default_gmail_params
// {
address = "anerisgreat@gmail.com"; address = "anerisgreat@gmail.com";
userName = "anerisgreat"; userName = "anerisgreat";
# smtp = default_gmail_smtp; # smtp = default_gmail_smtp;
passwordCommand = "pass gmail.com/mbsync-anerisgreat"; passwordCommand = "pass gmail.com/mbsync-anerisgreat";
}; };
bgu = default_gmail_params // { bgu =
default_gmail_params
// {
address = "anerz@post.bgu.ac.il"; address = "anerz@post.bgu.ac.il";
userName = "anerz@post.bgu.ac.il"; userName = "anerz@post.bgu.ac.il";
# smtp = default_gmail_smtp; # smtp = default_gmail_smtp;
passwordCommand = "pass post.bgu.ac.il/mbsync-anerz"; passwordCommand = "pass post.bgu.ac.il/mbsync-anerz";
}; };
zakobar = default_account_params // { zakobar =
default_account_params
// {
address = "aner@zakobar.com"; address = "aner@zakobar.com";
msmtp.enable = true; msmtp.enable = true;
@@ -81,13 +95,14 @@ in {
# create = "maildir"; # create = "maildir";
# }; # };
smtp = default_smtp // { smtp =
port = 587; default_smtp
host = "mail.privateemail.com"; // {
}; port = 587;
host = "mail.privateemail.com";
};
passwordCommand = "pass zakobar.com/mail/aner"; passwordCommand = "pass zakobar.com/mail/aner";
}; };
};
}; };
};
} }
+14 -10
View File
@@ -1,16 +1,20 @@
#https://xeiaso.net/talks/asg-2023-nixos/ example #https://xeiaso.net/talks/asg-2023-nixos/ example
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.mpris-proxy.enable; config.azos.mpris-proxy.enable;
in { in {
options.azos.mpris-proxy.enable = lib.mkOption { options.azos.mpris-proxy.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
services.mpris-proxy.enable = true; services.mpris-proxy.enable = true;
}; };
} }
+14 -10
View File
@@ -1,15 +1,19 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.qutebrowser-config.enable; config.azos.qutebrowser-config.enable;
in { in {
options.azos.qutebrowser-config.enable = lib.mkOption { options.azos.qutebrowser-config.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.file.".config/qutebrowser/config.py".source = ./qutebrowser-config.py; home.file.".config/qutebrowser/config.py".source = ./qutebrowser-config.py;
}; };
} }
+20 -16
View File
@@ -1,21 +1,25 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.reaper.enable; config.azos.reaper.enable;
in { in {
options.azos.reaper.enable = lib.mkOption { options.azos.reaper.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.packages = with pkgs; [ home.packages = with pkgs; [
reaper reaper
helm #TODO this synth had better work helm #TODO this synth had better work
surge surge
lsp-plugins lsp-plugins
vital vital
]; ];
}; };
} }
+16 -12
View File
@@ -1,17 +1,21 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.spotify.enable; config.azos.spotify.enable;
in { in {
options.azos.spotify.enable = lib.mkOption { options.azos.spotify.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.packages = with pkgs; [ home.packages = with pkgs; [
spotify spotify
]; ];
}; };
} }
+16 -12
View File
@@ -1,17 +1,21 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.zoom.enable; config.azos.zoom.enable;
in { in {
options.azos.zoom.enable = lib.mkOption { options.azos.zoom.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home.packages = with pkgs; [ home.packages = with pkgs; [
zoom-us zoom-us
]; ];
}; };
} }
+16 -12
View File
@@ -1,17 +1,21 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.hardware-audio.enable; config.azos.hardware-audio.enable;
in { in {
options.azos.hardware-audio.enable = lib.mkOption { options.azos.hardware-audio.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
environment.systemPackages = with pkgs; [pavucontrol]; environment.systemPackages = with pkgs; [pavucontrol];
musnix.enable = true; musnix.enable = true;
}; };
} }
+15 -11
View File
@@ -1,16 +1,20 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.bluetooth.enable; config.azos.bluetooth.enable;
in { in {
options.azos.bluetooth.enable = lib.mkOption { options.azos.bluetooth.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
services.blueman.enable = true; services.blueman.enable = true;
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
}; };
} }
-1
View File
@@ -1,4 +1,3 @@
{ {
imports = [./audio.nix ./bluetooth.nix ./steam.nix]; imports = [./audio.nix ./bluetooth.nix ./steam.nix];
} }
+14 -10
View File
@@ -1,15 +1,19 @@
{ lib, config, pkgs, ... }: {
let lib,
config,
pkgs,
...
}: let
isEnabled = isEnabled =
config.azos.steam.enable; config.azos.steam.enable;
in { in {
options.azos.steam.enable = lib.mkOption { options.azos.steam.enable = lib.mkOption {
default = true; default = true;
example = true; example = true;
type = lib.types.bool; type = lib.types.bool;
}; };
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
programs.steam.enable = true; programs.steam.enable = true;
}; };
} }
+3 -4
View File
@@ -15,7 +15,7 @@
x = 1280; x = 1280;
y = 1024; y = 1024;
}; };
virtualisation.qemu.options = [ virtualisation.qemu.options = [
# Better display option # Better display option
"-vga virtio" "-vga virtio"
"-display gtk,zoom-to-fit=false" "-display gtk,zoom-to-fit=false"
@@ -25,7 +25,7 @@ virtualisation.qemu.options = [
"-device virtio-serial-pci" "-device virtio-serial-pci"
"-device virtserialport,chardev=ch1,id=ch1,name=com.redhat.spice.0" "-device virtserialport,chardev=ch1,id=ch1,name=com.redhat.spice.0"
]; ];
}; };
imports = [ imports = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
outputs.nixosModules outputs.nixosModules
@@ -71,7 +71,7 @@ virtualisation.qemu.options = [
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs outputs; }; extraSpecialArgs = {inherit inputs outputs;};
users = { users = {
# Import your home-manager configuration # Import your home-manager configuration
aner = import ../home-manager/home.nix; aner = import ../home-manager/home.nix;
@@ -90,7 +90,6 @@ virtualisation.qemu.options = [
}; };
}; };
# This setups a SSH server. Very important if you're setting up a headless system. # This setups a SSH server. Very important if you're setting up a headless system.
# Feel free to remove if you don't need it. # Feel free to remove if you don't need it.
services.openssh = { services.openssh = {
+19 -16
View File
@@ -1,15 +1,19 @@
{ inputs, outputs, lib, config, pkgs, ... }:
{ {
imports = inputs,
[ outputs,
./lauretta-hardware-configuration.nix lib,
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480 config,
inputs.musnix.nixosModules.musnix pkgs,
inputs.home-manager.nixosModules.home-manager ...
outputs.nixosModules }: {
outputs.azos-core.nixosModules imports = [
]; ./lauretta-hardware-configuration.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
inputs.musnix.nixosModules.musnix
inputs.home-manager.nixosModules.home-manager
outputs.nixosModules
outputs.azos-core.nixosModules
];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
@@ -58,8 +62,8 @@
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
xkb = { xkb = {
layout = "us,il"; layout = "us,il";
variant = ""; variant = "";
}; };
xkb.options = "grp:alt_shift_toggle"; xkb.options = "grp:alt_shift_toggle";
}; };
@@ -72,7 +76,7 @@
isNormalUser = true; isNormalUser = true;
description = "Aner Zakobar"; description = "Aner Zakobar";
#Audio group for audio config, video group necessary for backlight. #Audio group for audio config, video group necessary for backlight.
extraGroups = [ "networkmanager" "wheel" "audio" "video"]; extraGroups = ["networkmanager" "wheel" "audio" "video"];
packages = with pkgs; []; packages = with pkgs; [];
}; };
@@ -82,7 +86,7 @@
}; };
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs outputs pkgs; }; extraSpecialArgs = {inherit inputs outputs pkgs;};
users = { users = {
aner = import ../home-manager/home.nix; aner = import ../home-manager/home.nix;
}; };
@@ -103,5 +107,4 @@
programs.light.enable = true; programs.light.enable = true;
system.stateVersion = "24.11"; # Did you read the comment? system.stateVersion = "24.11"; # Did you read the comment?
} }
+26 -22
View File
@@ -1,33 +1,37 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/installer/scan/not-detected.nix") lib,
]; pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/d28f6c1d-f7ec-44a1-a59b-a598c7f136f7"; device = "/dev/disk/by-uuid/d28f6c1d-f7ec-44a1-a59b-a598c7f136f7";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@" ]; options = ["subvol=@"];
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/BF2B-E467"; device = "/dev/disk/by-uuid/BF2B-E467";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = ["fmask=0077" "dmask=0077"];
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/cea8ee1e-925c-4f5f-9ec8-7e39103d40da"; } {device = "/dev/disk/by-uuid/cea8ee1e-925c-4f5f-9ec8-7e39103d40da";}
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's
+7 -5
View File
@@ -1,14 +1,16 @@
# This file defines overlays # This file defines overlays
{inputs, ...}: { {inputs, ...}: {
addpkgs = final: _prev: (import ../pkgs {pkgs = final.pkgs; }); addpkgs = final: _prev: (import ../pkgs {pkgs = final.pkgs;});
#Current overlay is for helm, to disable binary, so no conflict #Current overlay is for helm, to disable binary, so no conflict
modifications = final: prev: { modifications = final: prev: {
helm = prev.helm.overrideAttrs (oldAttrs: rec { helm = prev.helm.overrideAttrs (oldAttrs: rec {
patches = oldAttrs.patches or [] ++ [ patches =
./helm.patch oldAttrs.patches
]; or []
++ [
./helm.patch
];
}); });
}; };
+9 -9
View File
@@ -1,15 +1,15 @@
{ {
orgTrivialBuild, orgTrivialBuild,
epkgs, epkgs,
pkgs pkgs,
}: }:
orgTrivialBuild { orgTrivialBuild {
pname = "azos-emacs-lauretta"; pname = "azos-emacs-lauretta";
version = "0.1.6"; version = "0.1.6";
src = ./elisp/azos-emacs-lauretta.org; src = ./elisp/azos-emacs-lauretta.org;
packageRequires = with epkgs; [ packageRequires = with epkgs; [
pkgs.azos-emacs-base pkgs.azos-emacs-base
pkgs.azos-emacs-station pkgs.azos-emacs-station
llm llm
]; ];
} }
+2 -4
View File
@@ -1,8 +1,6 @@
{ pkgs } @ args: {pkgs} @ args: let
let
inherit args; inherit args;
localEmacsPkg = pkgs.localEmacsPkg; localEmacsPkg = pkgs.localEmacsPkg;
in in {
{
azos-emacs-lauretta = localEmacsPkg ./azos-emacs-lauretta.nix; azos-emacs-lauretta = localEmacsPkg ./azos-emacs-lauretta.nix;
} }
+3 -4
View File
@@ -1,12 +1,11 @@
{ pkgs } @ args : {pkgs} @ args: let
let
testfile = builtins.readfile ./test.org; testfile = builtins.readfile ./test.org;
in in
pkgs.mkShell { pkgs.mkShell {
name = "tex-debug"; name = "tex-debug";
buildInputs = [ buildInputs = [
pkgs.azos-tex pkgs.azos-tex
# ((pkgs.emacsPackagesFor pkgs.emacs).emacsWithPackages ( # ((pkgs.emacsPackagesFor pkgs.emacs).emacsWithPackages (
# pkgs.azos-emacs-editor)) # pkgs.azos-emacs-editor))
]; ];
} }
+1 -2
View File
@@ -1,4 +1,3 @@
{ pkgs } @ args: {pkgs} @ args: {
{
debugTex = import ./debugTex args; debugTex = import ./debugTex args;
} }