materusPC: use grml from nixpkgs

This commit is contained in:
Mateusz Słodkowicz 2023-07-21 00:31:51 +02:00
parent 6c49d534a7
commit 87618759a2
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 1 additions and 10 deletions

View File

@ -1,13 +1,4 @@
{ config, pkgs, lib, inputs, materusFlake, materusPkgs, ... }: { config, pkgs, lib, inputs, materusFlake, materusPkgs, ... }:
let
grml-config = pkgs.fetchFromGitHub {
owner = "grml";
repo = "grml-etc-core";
rev = "a2cda85d3d56fd5f5a7b954a444fd151318c4680";
sha256 = "0ap8lmqi45yjyjazdm1v64fz1rfqhkhfpdp2z17ag6hs5wi6i67y";
};
in
{ {
virtualisation.lxc.enable = true; virtualisation.lxc.enable = true;
virtualisation.lxc.lxcfs.enable = true; virtualisation.lxc.lxcfs.enable = true;
@ -173,7 +164,7 @@ in
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
if [[ ''${__MATERUS_HM_ZSH:-0} == 0 ]]; then if [[ ''${__MATERUS_HM_ZSH:-0} == 0 ]]; then
source ${grml-config}/etc/zsh/zshrc source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
fi fi
''; '';
promptInit = '' promptInit = ''