Commit Graph

19 Commits

Author SHA1 Message Date
Timothy DeHerrera
3a626b6cf2
shell: don't overwrite nix by default
For users who already have nix-command setup, we don't want to override
the `nix` in their path.
2020-12-19 18:11:21 -07:00
Timothy DeHerrera
fd1dd69566
shell: alias rebuild to nixos rebuild
Fixes #27
2020-12-11 11:21:53 -07:00
Timothy DeHerrera
090cc0aa32
README: simply and update 2020-08-02 16:10:53 -06:00
Timothy DeHerrera
1870fa29bd
Revert "shell.nix: remove rebuild command"
This reverts commit b954963e36.
2020-08-02 16:10:02 -06:00
Timothy DeHerrera
893bf5b6a1
shell: proper shell escape 2020-08-01 22:23:35 -06:00
Timothy DeHerrera
2369f43398
format: apply nixpkgs-fmt 2020-07-30 22:17:28 -06:00
Timothy DeHerrera
6d64118e26
shell: use starship for bash and zsh 2020-07-26 22:24:28 -06:00
Timothy DeHerrera
e37634fb80
shell.nix: don't override NIX_CONF_DIR 2020-07-23 17:03:08 -06:00
Timothy DeHerrera
27fe99a85d
shell.nix: pass command line options to build-iso 2020-07-16 15:17:12 -06:00
Timothy DeHerrera
b954963e36
shell.nix: remove rebuild command
`nixos-rebuild` now works perfectly with flakes so this is no longer
required. A new command `build-iso` is still available so that
building a NixOS image is still possible.
2020-07-13 19:56:39 -06:00
Demyan Rogozhin
a08c7e5184
Fix: nix run -> nix shell 2020-05-21 14:55:06 +02:00
Timothy DeHerrera
e078e7a229
DOC.md: split off from README.md
Keep the README.md lean and use DOC.md for more detailed explanations. While
revising user documentation, a default `nixos` user profile was created, which
serves as a goood base example.
2020-01-10 23:49:18 -07:00
Timothy DeHerrera
6d537c35c4
shell.nix: run nix build as root
Variables mist be preserved so use `sudo -E`. Fixes #4.
2020-01-07 13:02:35 -07:00
Timothy DeHerrera
16b8136f50
change formatter to nixfmt 2020-01-03 22:06:31 -07:00
Timothy DeHerrera
5b5d072851
users: create on entering nix-shell 2020-01-03 18:06:01 -07:00
Timothy DeHerrera
89c2e04bb3
secrets: create on entering a nix-shell 2020-01-03 17:54:27 -07:00
Timothy DeHerrera
dd9856d519
shell.nix: add git-crypt dependency 2020-01-03 17:06:32 -07:00
Timothy DeHerrera
ed94fa013d
shell.nix: basic command to build nixos
`nixos-rebuild` has unstable flake support. By adding a simple rebuild
command to the shell, we don't need to reply on it to switch
configurations anymore. At least until it stablizes.
2020-01-01 21:55:19 -07:00
Timothy DeHerrera
92f78f3d93
shell.nix: init minimal 2020-01-01 21:01:58 -07:00