lkjdsalkjdsal
This commit is contained in:
@@ -127,9 +127,13 @@ rec {
|
||||
|
||||
# https://github.com/nix-community/nix-on-droid
|
||||
nixOnDroidConfigurations = {
|
||||
zenfone = input-views.inputs-edge.nix-on-droid-edge.lib.nixOnDroidConfiguration {
|
||||
default = input-views.inputs-edge.nix-on-droid-edge.lib.nixOnDroidConfiguration {
|
||||
pkgs = import input-views.inputs-edge.nixpkgs-edge { system = "aarch64-linux"; };
|
||||
modules = [ ./nix-on-droid/zenfone/droid-configuration.nix ];
|
||||
modules = [ ./nix-on-droid/default/droid-configuration.nix ];
|
||||
};
|
||||
test = input-views.inputs-edge.nix-on-droid-edge.lib.nixOnDroidConfiguration {
|
||||
pkgs = import input-views.inputs-edge.nixpkgs-edge { system = "x86_64-linux"; };
|
||||
modules = [ ./nix-on-droid/default/droid-configuration.nix ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
34
hosts/nix-on-droid/default/droid-configuration.nix
Normal file
34
hosts/nix-on-droid/default/droid-configuration.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
environment.packages = [
|
||||
pkgs.micro
|
||||
pkgs.git
|
||||
pkgs.openssh
|
||||
|
||||
pkgs.hostname
|
||||
pkgs.gnugrep
|
||||
pkgs.findutils
|
||||
pkgs.fd
|
||||
pkgs.sd
|
||||
pkgs.xe
|
||||
pkgs.gnupg
|
||||
pkgs.gnused
|
||||
];
|
||||
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
# Backup etc files instead of failing to activate generation if a file already exists in /etc
|
||||
# environment.etcBackupExtension = ".bak";
|
||||
|
||||
# # Configure home-manager
|
||||
# home-manager = {
|
||||
# config = ./home.nix;
|
||||
# backupFileExtension = "hm-bak";
|
||||
# useGlobalPkgs = true;
|
||||
# };
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.packages = [
|
||||
pkgs.micro
|
||||
pkgs.git
|
||||
pkgs.openssh
|
||||
];
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
Reference in New Issue
Block a user