Compare commits

..

No commits in common. "a3543b42f09ba4e50ba33cd31d8662d0ea14aee2" and "0480e3c947d6a1f804488ad2f97bb4bf1d466a6c" have entirely different histories.

7 changed files with 1 additions and 95 deletions

View file

@ -174,7 +174,6 @@
bolty = mkServer nixpkgs-stable "x86_64-linux" "bolty";
cupsnet = mkServer nixpkgs-stable "aarch64-linux" "cupsnet";
mb1 = mkServer nixpkgs-stable "x86_64-linux" "mb1";
airnix = mkServer nixpkgs-stable "aarch64-linux" "airnix";
homescreen = mkRaspi nixpkgs-stable "homescreen";
bootstrap = nixpkgs-stable.lib.nixosSystem rec {

View file

@ -1,11 +0,0 @@
## this is a VM on mac book air M1, so aarch64
- VM needs 4GB RAM, 64GB disk space
- boot from minimal nixos installer image
> 604ad1abbcfdd93bc6258be695a7d289756921c0e6d9b4f3afb8e98c823052ec nixos-minimal-24.05.2780.53e81e790209-aarch64-linux.iso
> https://releases.nixos.org/nixos/unstable/nixos-23.05pre470969.0e19daa510e/nixos-minimal-23.05pre470969.0e19daa510e-x86_64-linux.iso
- launch in paralells
- change root password
- From macbook host `nix run github:numtide/nixos-anywhere -- root@10.211.55.6 --flake '.#airnix' --build-on-remote`

View file

@ -1,11 +0,0 @@
{
config,
pkgs,
inputs,
lib,
...
}: {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
}

View file

@ -1,25 +0,0 @@
{
config,
pkgs,
inputs,
lib,
...
}: {
imports = [
"${inputs.nixpkgs-stable}/nixos/modules/profiles/qemu-guest.nix"
../cli.nix
../send-logs.nix
./boot.nix
./disks.nix
];
networking.hostName = "airnix";
networking.hostId = "92309ac5";
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 100;
};
time.timeZone = "Europe/London";
}

View file

@ -1,43 +0,0 @@
{
disko.devices = {
disk = {
a = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "64M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
};
zpool = {
zroot = {
type = "zpool";
rootFsOptions = {
compression = "zstd";
};
mountpoint = "/";
datasets = {
};
};
};
};
}

View file

@ -38,18 +38,16 @@
homebrew.enable = true;
homebrew.casks = [
"caffeine"
"firefox"
"istat-menus"
"little-snitch"
"maccy"
"protonmail-bridge"
"signal"
"steam"
"tailscale"
"teamviewer"
"protonmail-bridge"
"utm"
"zed"
"zoom"
];
home-manager.users.cyryl = {...}: {

View file

@ -27,7 +27,6 @@
};
help.autocorrect = 1;
init.defaultBranch = "main";
lfs."https://git.cyplo.dev/cyplo/dotfiles.git/info/lfs".locksverify = true;
merge.renamelimit = 8192;
mergetool.keepBackup = false;
pull.ff = "only";