nix-on-droid test update
This commit is contained in:
parent
4f9eb34a55
commit
b9abdfce4a
20
flake.nix
20
flake.nix
@ -3,8 +3,14 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
nixpkgs-droid = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||
|
||||
home-manager-droid = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs-droid";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@ -54,6 +60,12 @@
|
||||
ghostty = {
|
||||
url = "github:ghostty-org/ghostty";
|
||||
};
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:nix-community/nix-on-droid/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs-droid";
|
||||
inputs.home-manager.follows = "home-manager-droid";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
@ -127,5 +139,13 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
nixOnDroidConfigurations = {
|
||||
tsunemori = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
pkgs = import inputs.nixpkgs-droid {system = "aarch64-linux";};
|
||||
modules = [
|
||||
./tsunemori/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
87
tsunemori/configuration.nix
Normal file
87
tsunemori/configuration.nix
Normal file
@ -0,0 +1,87 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
../nixos/system/packages.nix
|
||||
../nixos/system/system.nix
|
||||
];
|
||||
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
home-manager = {
|
||||
config = ./home.nix;
|
||||
backupFileExtension = "hm-bak";
|
||||
useGlobalPkgs = true;
|
||||
};
|
||||
|
||||
sys = {
|
||||
audio.enable = false;
|
||||
bootloader.systemd-boot.enable = false;
|
||||
desktop = {
|
||||
steamdeck.enable = false;
|
||||
};
|
||||
fonts.packages = false;
|
||||
locales.enable = true;
|
||||
network.enable = false;
|
||||
bluetooth = {
|
||||
enable = false;
|
||||
blueman.enable = false;
|
||||
};
|
||||
nvidia = {
|
||||
enable = false;
|
||||
mode = "none";
|
||||
};
|
||||
printing.enable = false;
|
||||
login = {
|
||||
sddm.enable = false;
|
||||
gdm.enable = false;
|
||||
};
|
||||
style.enable = false;
|
||||
};
|
||||
|
||||
program = {
|
||||
docker.enable = true;
|
||||
podman.enable = false;
|
||||
steam.enable = false;
|
||||
proxychains.enable = false;
|
||||
tor.enable = false;
|
||||
virt-manager.enable = false;
|
||||
virtualbox.enable = false;
|
||||
yubikey = {
|
||||
enable = false;
|
||||
lock-on-remove = false;
|
||||
notify = false;
|
||||
};
|
||||
ssh.client.enable = false;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Simply install just the packages
|
||||
environment.packages = with pkgs; [
|
||||
# User-facing stuff that you really really want to have
|
||||
vim # or some other editor, e.g. nano or neovim
|
||||
|
||||
# Some common stuff that people expect to have
|
||||
#procps
|
||||
#killall
|
||||
#diffutils
|
||||
#findutils
|
||||
#utillinux
|
||||
#tzdata
|
||||
#hostname
|
||||
#man
|
||||
#gnugrep
|
||||
#gnupg
|
||||
#gnused
|
||||
#gnutar
|
||||
#bzip2
|
||||
#gzip
|
||||
#xz
|
||||
#zip
|
||||
#unzip
|
||||
];
|
||||
|
||||
environment.etcBackupExtension = ".bak";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
11
tsunemori/home.nix
Normal file
11
tsunemori/home.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Read the changelog before changing this value
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
# insert home-manager config
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user