Commit graph

105 commits

Author SHA1 Message Date
Dmytro Kostiuchenko b15b8bf865 Do not hardcode UID for the exemplary user
uid = 1000 is an unreasonable default for an examplary user nixos, because someone trying DevOs on a working NixOS installation likely has their own user with uid=1000 already. The code thus renders /etc/passwd invalid preventing user from logging in
2021-11-29 10:41:33 -05:00
teutat3s 2588264d88
Make check work 2021-10-24 22:03:28 +02:00
teutat3s 3bb6c8bc66
agenix: init environment-secrets 2021-10-24 01:16:58 +02:00
teutat3s 7985b4f33d
teutat3s: add network tools 2021-10-12 00:36:44 +02:00
teutat3s 62f7de1dba
Fix direnv cache 2021-09-21 22:27:53 +02:00
teutat3s e33191591c
Merge remote-tracking branch 'devos/main' into teutat3s-develop 2021-08-15 10:20:36 +02:00
GTrunSec aba10aa8a4
fix/hm: direnv flakes support 2021-08-02 15:52:41 -05:00
teutat3s 021c8774fa
Merge branch 'core' into teutat3s-develop 2021-07-17 15:49:07 +02:00
David Arnold 4b9cab40cb imp: add portable user definition
According to https://github.com/nix-community/home-manager/issues/2161
there might be a better formal distinction between host-spaced and
portable arch-spaced hm users in the future.
2021-07-16 11:22:10 -05:00
David Arnold fe73d2a083
fix: hm pin to corresponding nixos version 2021-07-09 11:46:42 -05:00
David Arnold 3cc28b3adb
bump digga to latest develop 2021-06-24 18:11:24 -05:00
teutat3s a7352d4bef
Disable keybase for now, too unused 2021-06-20 15:37:29 +02:00
teutat3s 6c40b31e79
Initial teutat3s commit 2021-06-06 15:22:44 +02:00
Timothy DeHerrera 2d91946745
doc: move all docs under doc 2021-04-18 20:42:49 -06:00
Timothy DeHerrera be4b612b23
treewide: format with nixpkgs-fmt 2021-04-09 19:22:08 -06:00
Pacman99 6d51ed0266 users: add Home Manager section to doc 2021-03-23 09:43:37 -07:00
Pacman99 dc9d9877b8 export homeConfigurations for all user@host pairs and add better home-manager only defaults 2021-03-23 09:43:37 -07:00
Pacman99 cc52cd9fa2 users: wire up all user profiles to userSuites and pass to home-manager 2021-03-23 09:43:37 -07:00
Pacman99 416a52fcd3 users: add and export user modules and import them in hosts 2021-03-23 09:43:37 -07:00
Timothy DeHerrera 8939c3401b
project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
Timothy DeHerrera bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
Timothy DeHerrera 40b49c52c1
create core branch without any profiles
This core will be used as the new base for the reuse branch, which is
essentiall the same as the existing template branch, except that it is
rebased from this core, simplifying future rebasing.
2021-02-03 18:58:58 -07:00
Timothy DeHerrera 9234577e7e
suites: add users to suites 2021-02-03 13:16:21 -07:00
Timothy DeHerrera c67b846929
profiles: add concept of suites
* Import attrs of profiles automatically with `defaultImport`.
* Refactor profiles to ensure all are functions returning a module.
* Add a suites.nix with collections of profiles.
* Add suites as `specialArgs` to modules.
* Add suite import to NixOS host.
2021-02-03 13:16:14 -07:00
Timothy DeHerrera fde19f0117
direnv: use nix-direnv instead ad hoc hack 2020-12-25 22:09:09 -07:00
Timothy DeHerrera 70723403cc
direnv: flake based envs are pure by default
We should reflect this in the IN_NIX_SHELL envar, since it doesn't
get set properly otherwise.
2020-12-19 17:49:18 -07:00
Timothy DeHerrera 4367a6212f
users#git: avoid warning on git pull 2020-12-19 17:44:30 -07:00
Timothy DeHerrera aa85a2eda5
users#nixos: use git and direnv profiles 2020-08-02 13:30:03 -06:00
Timothy DeHerrera f3f73c2b7b
users#direnv: init profile 2020-08-02 13:29:42 -06:00
Timothy DeHerrera cdc9960c55
users#alacritty: init profile 2020-08-02 13:29:31 -06:00
Timothy DeHerrera d225760ebe
users#git: init profile 2020-08-02 13:29:14 -06:00
Timothy DeHerrera fe0e81b72e
niximg: fix nixos user 2020-01-11 00:24:12 -07: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 73d3826d64
Initialize template branch
Remove all idiosyncratic stuff and only leave profiles, modules and pkg
definitions, which are general and applicable for any configuration.
2020-01-03 17:47:17 -07:00
Timothy DeHerrera c13b241b6c
core: empty root passwd by default 2020-01-03 01:02:08 -07:00
Timothy DeHerrera 5ae733b854
graphical: add develop as dependency 2019-12-22 22:01:28 -07:00
Timothy DeHerrera e35652cac0
create media group 2019-12-19 13:03:15 -07:00
Timothy DeHerrera 92648918af
graphical: sddm display manager 2019-12-17 23:33:06 -07:00
Timothy DeHerrera a4f5fa9692
enable hardware acceleration 2019-12-17 18:53:29 -07:00
Timothy DeHerrera 7a7599fae3
users#nrd: alacritty configuration 2019-12-17 16:26:01 -07:00
Timothy DeHerrera f37dbf1521
users#nrd: add git restore aliases 2019-12-17 16:00:59 -07:00
Timothy DeHerrera d05c7bed71
users#nrd: fix gpg-agent 2019-12-16 01:53:23 -07:00
Timothy DeHerrera 42f2f27183
develop#graphical: init 2019-12-16 00:54:46 -07:00
Timothy DeHerrera 211073068f
users#nrd: use pinentry-tty 2019-12-15 22:31:12 -07:00
Timothy DeHerrera 87ab45c554
users#nrd: fix gpg-agent not working 2019-12-15 21:22:09 -07:00
Timothy DeHerrera 6139834a4a
develop#zsh: factor out functions into files
Upgrade the `rg` function to only pipe to `PAGER` when output is a
terminal.
2019-12-15 20:54:11 -07:00
Timothy DeHerrera 42197cd35c
users#nrd:fix broken parts 2019-12-15 03:10:13 -07:00
Timothy DeHerrera 32a668f41e
users#nrd:fix broken parts 2019-12-15 03:07:35 -07:00
Timothy DeHerrera 873c3a2eef
users#nrd: init cargo credentials 2019-12-15 02:55:54 -07:00
Timothy DeHerrera 3b56b1fe57
nrd#git: add diff aliases 2019-12-15 02:46:08 -07:00
Timothy DeHerrera d1683cc1ba
users#nrd: init ec2-keys 2019-12-15 02:44:31 -07:00
Timothy DeHerrera 3abc7fe973
users#nrd: init ssh 2019-12-15 02:37:45 -07:00
Timothy DeHerrera 4122c25ac0
users#nrd: init gpg-agent 2019-12-15 02:15:12 -07:00
Timothy DeHerrera 20f49b2003
users#nrd: init git 2019-12-15 01:59:33 -07:00
Timothy DeHerrera 598b90c2bc
add users subfolder to root 2019-12-15 00:06:28 -07:00