Compare commits
2 commits
721ce3c069
...
1e5c09b1e8
Author | SHA1 | Date | |
---|---|---|---|
1e5c09b1e8 | |||
e86768299c |
3 changed files with 24 additions and 2 deletions
21
devshells/texlive-with-pygments/flake.nix
Normal file
21
devshells/texlive-with-pygments/flake.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
description = "Flake for TeXlive with python pygments";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||
inputs.systems.url = "github:nix-systems/default";
|
||||
inputs.flake-utils = {
|
||||
url = "github:numtide/flake-utils";
|
||||
inputs.systems.follows = "systems";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, flake-utils, ... }:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell { packages = with pkgs; [ texliveFull python3Packages.pygments ]; };
|
||||
}
|
||||
);
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{config, pkgs, pkgs-unstable, ...}: {
|
||||
{lib, config, pkgs, pkgs-unstable, ...}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
@ -23,7 +23,7 @@
|
|||
|
||||
initExtra = ''
|
||||
setopt promptsubst
|
||||
export PROMPT='%F{12}[%f%F{10}%n%f%F{12}@%f%F{white}%m%f%F{12}]%f%F{white}:%f %F{white}%~%f%F{12}>%b$(${pkgs-unstable.gitprompt-rs}/bin/gitprompt-rs)%f%F{10}%(!.#.$)%f '
|
||||
export PROMPT='%F{12}[%f%F{10}%n%f%F{12}@%f%F{white}%m%f%F{12}]%f%F{white}:%f %F{white}%~%f%F{12}>%b$(${lib.getExe pkgs-unstable.gitprompt-rs} zsh)%f%F{10}%(!.#.$)%f '
|
||||
unsetopt beep
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
'';
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
vlc
|
||||
#shotcut
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue