feat(config): initial

Based on `cce47e4df5/standard`
Adds (experimental) support for `nix-on-droid` and `nix-on-darwin`
Includes support for multiple hosts of each base
Adds config for `cheetah` on `nix-on-droid`
This commit is contained in:
reo101 2022-11-20 17:23:58 +02:00
commit be2bb504d9
17 changed files with 795 additions and 0 deletions
nix-on-droid/cheetah

View file

@ -0,0 +1,31 @@
{ inputs, outputs, lib, config, pkgs, ... }:
{
environment.packages = with pkgs; [];
# Backup etc files instead of failing to activate generation if a file already exists in /etc
environment.etcBackupExtension = ".bak";
# Remove motd
environment.motd = null;
# # Set $EDITOR
# environment.variables.EDITOR = "nvim";
# Read the changelog before changing this value
system.stateVersion = "22.05";
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
time.timeZone = "Europe/Sofia";
home-manager = {
config = ./home.nix;
backupFileExtension = "hm-bak";
useGlobalPkgs = true;
# extraOptions = { inherit inputs; };
};
}