mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
Corrige
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
|
|
||||||
daybook = pkgs.callPackage ../packages/daybook.nix {};
|
daybook = pkgs.callPackage ../packages/daybook.nix {};
|
||||||
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
|
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
|
||||||
todoist = pkgs.callPackage ../packages/todoist {};
|
todoist = pkgs.callPackage ../packages/todoist {};
|
||||||
@@ -104,7 +103,7 @@ in with pkgs;
|
|||||||
services.urxvtd.enable = true;
|
services.urxvtd.enable = true;
|
||||||
services.dbus.packages = [ pkgs.gnome3.dconf ];
|
services.dbus.packages = [ pkgs.gnome3.dconf ];
|
||||||
|
|
||||||
users.users.kfm.packages = scripts ++ [
|
users.users.kfm.packages = [
|
||||||
] ++ [ # typesetting
|
] ++ [ # typesetting
|
||||||
(texlive.combine {
|
(texlive.combine {
|
||||||
inherit (pkgs.texlive) scheme-full texdoc latex2e-help-texinfo;
|
inherit (pkgs.texlive) scheme-full texdoc latex2e-help-texinfo;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
theme = import ../theme.nix;
|
theme = import ../theme.nix;
|
||||||
unstable = import <nixos-unstable> {};
|
unstable = import <nixos-unstable> {};
|
||||||
@@ -496,4 +496,19 @@ let
|
|||||||
wait
|
wait
|
||||||
${q-todo}
|
${q-todo}
|
||||||
'';
|
'';
|
||||||
in lib.attrsets.attrValues scripts
|
in {
|
||||||
|
environment.shellAliases =
|
||||||
|
let rlwrap = cmd: "${pkgs.rlwrap}/bin/rlwrap ${cmd}";
|
||||||
|
in {
|
||||||
|
o = "${pkgs.xdg_utils}/bin/xdg-open";
|
||||||
|
ns = "nix-shell --command zsh";
|
||||||
|
":r" = ''echo "You stupid!"'';
|
||||||
|
clipboard = "${pkgs.xclip}/bin/xclip -se c";
|
||||||
|
ip = "${pkgs.iproute}/bin/ip -c";
|
||||||
|
ocaml = rlwrap "${pkgs.ocaml}/bin/ocaml";
|
||||||
|
tmux = "${pkgs.tmux}/bin/tmux -2";
|
||||||
|
nixi = ''nix repl "<nixpkgs>"'';
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = lib.attrsets.attrValues scripts;
|
||||||
|
}
|
||||||
@@ -1,18 +1,5 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.shellAliases =
|
|
||||||
let rlwrap = cmd: "${pkgs.rlwrap}/bin/rlwrap ${cmd}";
|
|
||||||
in {
|
|
||||||
o = "${pkgs.xdg_utils}/bin/xdg-open";
|
|
||||||
ns = "nix-shell --command zsh";
|
|
||||||
":r" = ''echo "You stupid!"'';
|
|
||||||
clipboard = "${pkgs.xclip}/bin/xclip -se c";
|
|
||||||
ip = "${pkgs.iproute}/bin/ip -c";
|
|
||||||
ocaml = rlwrap "${pkgs.ocaml}/bin/ocaml";
|
|
||||||
tmux = "${pkgs.tmux}/bin/tmux -2";
|
|
||||||
nixi = ''nix repl "<nixpkgs>"'';
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
|
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
|||||||
Reference in New Issue
Block a user