mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 16:10:14 +00:00
fix: add readme and fix installer apps
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
type = "app";
|
||||
|
||||
program = pkgs.writeShellScriptBin "installer" ''
|
||||
program = builtins.toString (pkgs.writeShellScript "installer" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
|
||||
set -e
|
||||
@ -39,6 +39,6 @@
|
||||
mount /dev/disk/by-label/boot /mnt/boot
|
||||
|
||||
nixos-install --flake github:nmasur/dotfiles#''${FLAKE}
|
||||
'';
|
||||
'');
|
||||
|
||||
}
|
||||
|
11
apps/readme.nix
Normal file
11
apps/readme.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }: {
|
||||
|
||||
type = "app";
|
||||
|
||||
program = builtins.toString (pkgs.writeShellScript "readme" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
|
||||
${pkgs.glow}/bin/glow ${builtins.toString ../README.md}
|
||||
'');
|
||||
|
||||
}
|
Reference in New Issue
Block a user