First pass nix-on-droid
This commit is contained in:
parent
87ed166256
commit
e5be86a89f
|
@ -169,6 +169,9 @@
|
|||
tablet = nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
config = ./machines/tablet/configuration.nix;
|
||||
system = "aarch64-linux";
|
||||
extraModules = [
|
||||
./modules/nix-on-droid/default.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
packages = {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
{ }
|
||||
|
|
|
@ -2,4 +2,10 @@
|
|||
let
|
||||
inherit (import ../lib.nix { inherit lib; inherit pkgs; }) nLib;
|
||||
in
|
||||
{ }
|
||||
{
|
||||
imports = [
|
||||
../options.nix
|
||||
];
|
||||
|
||||
options = with lib; with nLib; { };
|
||||
}
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
nathan = config.nathan;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
config = mkMerge [
|
||||
(mkIf nathan.programs.utils.core
|
||||
{
|
||||
environment.packages = with pkgs; [
|
||||
# Basic command line utilities
|
||||
wget
|
||||
tmux
|
||||
nano
|
||||
unzip
|
||||
any-nix-shell
|
||||
htop
|
||||
# For being able to update the flake
|
||||
gitFull
|
||||
# For nslookup
|
||||
dnsutils
|
||||
# Mosh for better high-latency ssh
|
||||
mosh
|
||||
# PV for viewing pipes
|
||||
pv
|
||||
];
|
||||
})
|
||||
(mkIf nathan.programs.utils.devel {
|
||||
environment.packages = with pkgs; [
|
||||
gcc
|
||||
binutils
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue