System/modules/nix-on-droid/default.nix

27 lines
495 B
Nix

{ config, lib, pkgs, ... }:
let
inherit (import ../lib.nix { inherit lib; inherit pkgs; }) nLib;
in
{
imports = [
../options.nix
];
options = with lib; with nLib; { };
config = {
# Set system state version
system.stateVersion = "22.05";
# Enable flakes
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
# Set login shell
user.shell = "${pkgs.fish}/bin/fish";
};
}