feat(flake): add initial nix-on-droid configuration
This commit is contained in:
parent
e07a71f46b
commit
efd944cfef
2 changed files with 62 additions and 1 deletions
46
system/hosts/ooksphone/default.nix
Normal file
46
system/hosts/ooksphone/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Simply install just the packages
|
||||
environment.packages = with pkgs; [
|
||||
# User-facing stuff that you really really want to have
|
||||
helix # or some other editor, e.g. nano or neovim
|
||||
git
|
||||
killall
|
||||
hostname
|
||||
man
|
||||
coreutils
|
||||
];
|
||||
|
||||
environment.etcBackupExtension = ".bak";
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
time.timeZone = "Pacific/Auckland";
|
||||
|
||||
user = {
|
||||
userName = "ooks";
|
||||
home = "/data/data/com.termux.nix/files/ooks/home";
|
||||
shell = "${pkgs.fish}/bin/fish";
|
||||
};
|
||||
|
||||
# Configure home-manager
|
||||
home-manager = {
|
||||
backupFileExtension = "hm-bak";
|
||||
useGlobalPkgs = true;
|
||||
|
||||
config =
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [ ../../../home/modules/console/editor ];
|
||||
|
||||
homeModules.home.console.editor.helix.enable = true;
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue