nod: Flake test

This commit is contained in:
Geoffrey Frogeye 2024-01-16 22:39:29 +01:00
parent 55641fe958
commit 65205a2fb8
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
9 changed files with 48 additions and 15 deletions

16
nod/README.md Normal file
View file

@ -0,0 +1,16 @@
# Flake example
`~/.config/nix-on-droid/flake.nix`
```nix
{
description = "Nix-on-droid configuration for Sprinkles";
inputs.dotfiles.url = "git+file:../dotfiles";
outputs = { dotfiles, ... }: {
nixOnDroidConfigurations.default = dotfiles.nixOnDroidConfigurations.sprinkles;
};
}
```

View file

@ -4,7 +4,7 @@
home-manager = {
useGlobalPkgs = true;
config = {...}: {
imports = [ ../../hm ];
frogeye = config.frogeye;
home.file = {
".ssh/authorized_keys" = {
# TODO Make an option and reuse at other places

View file

@ -1,6 +1,7 @@
{ ... }:
{
imports = [
../options.nix
./common
];
}