1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
This commit is contained in:
Kierán Meinhardt
2019-01-30 16:09:06 +01:00
parent 14557b33dd
commit 3517b9e700
4 changed files with 19 additions and 17 deletions

View File

@@ -1,6 +1,5 @@
{ config, pkgs, lib, ... }:
let
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
daybook = pkgs.callPackage ../packages/daybook.nix {};
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
todoist = pkgs.callPackage ../packages/todoist {};
@@ -104,7 +103,7 @@ in with pkgs;
services.urxvtd.enable = true;
services.dbus.packages = [ pkgs.gnome3.dconf ];
users.users.kfm.packages = scripts ++ [
users.users.kfm.packages = [
] ++ [ # typesetting
(texlive.combine {
inherit (pkgs.texlive) scheme-full texdoc latex2e-help-texinfo;

View File

@@ -1,4 +1,4 @@
{ pkgs, lib }:
{ config, pkgs, lib, ... }:
let
theme = import ../theme.nix;
unstable = import <nixos-unstable> {};
@@ -496,4 +496,19 @@ let
wait
${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;
}

View File

@@ -1,18 +1,5 @@
{ 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";
programs.zsh = {

View File

@@ -11,6 +11,7 @@ in {
configs/graphics.nix
configs/packages.nix
configs/networks.nix
configs/scripts.nix
configs/retiolum.nix
];