65 Commits

Author SHA1 Message Date
romanl 46b58a0005 add file package 2026-05-25 18:07:45 +02:00
romanl a45eed1a33 Add docs 2026-05-25 13:03:50 +02:00
romanl b633bda823 Include pipa-firmware in configuration.nix 2026-05-25 12:20:23 +02:00
romanl 3bb3902917 Move some packages to home-manager 2026-05-25 12:18:35 +02:00
romanl 8a7306cfd1 Shuffle some hw config around + add some more configuration options 2026-05-25 12:18:18 +02:00
romanl 2a19b3692f Actually include the qbootctl service 2026-05-25 12:17:45 +02:00
romanl 27ded40faa Add root resize service on first boot 2026-05-25 12:17:09 +02:00
romanl 4c6dceee1f Actually properly seed the flake in images 2026-05-25 12:16:45 +02:00
romanl df5f26a9e4 Add qbootctl systemd service to mark slot as successful on boot 2026-05-24 22:53:27 +02:00
romanl d3fb796c2b Slim down the rootfs 2026-05-24 22:47:02 +02:00
romanl 5e030bc16c Add deploy recipe 2026-05-24 17:13:55 +02:00
romanl dc08fe8b88 Fix GDM orientation 2026-05-24 17:13:45 +02:00
romanl 880a1d1a91 Revert services.nix 2026-05-24 01:40:11 +02:00
romanl 1f8245bba3 Add/remove some packages, services 2026-05-24 01:39:14 +02:00
romanl 491ae24162 Add gdm-monitors configuration module 2026-05-24 01:38:37 +02:00
romanl 02a495e150 Add home-manager 2026-05-24 01:30:52 +02:00
romanl 17c809ecb9 flake.lock: Update
Flake lock file updates:

• Added input 'home-manager':
    'github:nix-community/home-manager/3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f?narHash=sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0%3D' (2026-05-23)
• Added input 'home-manager/nixpkgs':
    follows 'nixpkgs'
• Added input 'nix-flatpak':
    'github:gmodena/nix-flatpak/22a3adbe7c5c8c8a10a635d32c9ef7fc01a6e4b8?narHash=sha256-6gkfl9y3%2Bti0Z6dgby8/R4/DRT8sWU0I0TLCIxwWtjk%3D' (2026-04-28)
2026-05-24 01:28:40 +02:00
romanl d118ccb307 add home-manager, nix-flatpak inputs 2026-05-24 01:17:19 +02:00
romanl 4162b86afe Comments tweaks 2026-05-24 01:16:07 +02:00
romanl 2b56c709a7 Oops, s 2026-05-24 01:11:21 +02:00
romanl 9865cf3155 Remove extra kernel params, add extraFirmwarePath for panel fw in stage1 2026-05-24 01:08:08 +02:00
romanl 3fe838b23a Remove panel service hack 2026-05-24 00:59:53 +02:00
romanl 49e356a941 WIP: hang on poweroff 2026-05-23 16:33:27 +02:00
romanl 506b131806 Remove the whole panel driver instead of just ts (as it is not explicitly loaded) 2026-05-23 15:56:15 +02:00
romanl cb7ab651e0 Add pkgs 2026-05-23 15:03:41 +02:00
romanl 5f51f920ea sound.nix: format 2026-05-23 15:02:30 +02:00
romanl e568d53965 add an experiemtnal service to unload panel driver prior to shutdown/reboot 2026-05-23 15:02:22 +02:00
romanl 885d8a914e Unfuck digitizer fw loading some 2026-05-23 15:01:54 +02:00
romanl 49fcf9894a Merge branch 'sound' 2026-05-23 11:24:15 +02:00
romanl 5cbe0e6cd8 Remove firmware copy step and initialize Git repo on main branch 2026-05-23 11:20:38 +02:00
romanl 899758cd9c Sound works 2026-05-23 11:20:23 +02:00
romanl 6bf2fa436c Initial audio impl 2026-05-23 10:40:14 +02:00
romanl 8a9d8e80b7 bootmac works v100 2026-05-23 02:42:42 +02:00
romanl e9d8547e52 Fix bootmac wifi udev rule 2026-05-23 02:13:00 +02:00
romanl ca2da6e7dd Squashed commit of the following:
commit 7f8947ab49
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 02:06:33 2026 +0200

    Digitiser firmware loads now

commit edf8a018e5
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 01:53:18 2026 +0200

    Event driven bootmac script

commit 16372475fb
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 01:48:58 2026 +0200

    Remove unwanted Gnome pkgs

commit 23b91dec28
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 01:42:32 2026 +0200

    Add regulator_ignore_unused to kernel parameters

commit 5dafb93b47
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 01:42:21 2026 +0200

    Actually copy the digitised firmware in this time

commit 96459bce14
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 01:36:33 2026 +0200

    Revert changes to pkgs/firmware from 997d14bd27

commit c4e8cbd1dc
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 01:31:34 2026 +0200

    Add timeout logic for WLAN interface initialization in MAC address script

commit 997d14bd27
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 00:56:29 2026 +0200

    Refactor package management and enhance firmware installation process

commit 21732a60f8
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Sat May 23 00:15:38 2026 +0200

    Factor out a lot of options

commit 3cffe3ba1f
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 23:55:42 2026 +0200

    Adapt pmos bootmac logic

commit 10fa4877e2
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 23:32:05 2026 +0200

    Target wlp1s0 for changing the mac

commit 8f6aead2f8
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 23:26:19 2026 +0200

    Refactor MAC address extraction

commit 77590d5733
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 23:19:09 2026 +0200

    Enhance Bluetooth support in hardware configuration and improve MAC address application process

commit 2dded51279
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 22:20:19 2026 +0200

    Start structuring the config some
2026-05-23 02:08:24 +02:00
romanl 67e5402b22 Refactor firmware installation process for clarity and correctness 2026-05-22 21:28:05 +02:00
romanl 5b96dd10b1 We don't need this anymore 2026-05-22 12:50:17 +02:00
romanl b38c0dd5ef Add debug configuration and refactor hardware setup for improved debugging support 2026-05-22 12:39:33 +02:00
romanl 6de489bac9 Refactor Justfile and configuration.nix for improved build and security settings 2026-05-22 12:21:44 +02:00
romanl 9b5d2fe7b4 Squashed commit of the following:
commit 74b2428653
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 12:10:36 2026 +0200

    flake.nix: Add cross-compilation support for aarch64-linux; hardware-configuration.nix: Refactor kernel package handling for cross-compilation

commit a86ad5e9d8
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 11:53:00 2026 +0200

    configuration.nix: Add nh configuration for cleaning and enabling flake

commit 458cf43e1b
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 11:49:23 2026 +0200

    configuration.nix: Change user from 'jax' to 'nixos'; flake.nix: Update configuration copying to user's home directory; hardware-configuration.nix: Refactor cross-compilation logic for kernel packages

commit 0e97e81190
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 11:25:54 2026 +0200

    configuration.nix: Update console font to use terminus_font package; flake.nix: Set system to aarch64-linux; hardware-configuration.nix: Adjust kernel package imports for cross-compilation

commit d1676568c1
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Fri May 22 10:48:28 2026 +0200

    Panel wooooorks

commit 1413701ab0
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 23:59:27 2026 +0200

    hardware-configuration.nix: Add "msm" to kernel modules; pipa.config: Change CONFIG_DRM_MSM to module

commit fc83ffe47f
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 23:46:14 2026 +0200

    flake.nix: Update image formatting commands to include sector size

commit 56346fab48
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 23:46:09 2026 +0200

    hardware-configuration.nix: Update kernel parameters and refine file system configurations

commit 36a385e385
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 23:28:43 2026 +0200

    configuration.nix: Add USB interface IP configuration; hardware-configuration.nix: Update kernel parameters and modules

commit 055168d3dd
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 23:09:21 2026 +0200

    firmware.nix and kernel.nix: Switch from GitHub to Gitea for source fetching

commit 4d0ec955a1
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 17:47:40 2026 +0200

    configuration.nix: Add i18n and console settings; flake.nix: Introduce build script for image creation; hardware-configuration.nix: Update kernel modules; kernel.nix: Simplify kernel versioning

commit 0e0ebff7d0
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Thu May 21 17:47:33 2026 +0200

    firmware.nix: Update hash and refine install phase for firmware copying

commit 6fd385eb8c
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Wed May 20 21:13:55 2026 +0200

    Kernel build started successfully, hopefully itll stay that way

commit 7cf35a678e
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Wed May 20 20:04:45 2026 +0200

    ye

commit a045ef453f
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Wed May 20 20:03:08 2026 +0200

    flake.lock: Add

    Flake lock file updates:

    • Added input 'nixpkgs':
        'github:NixOS/nixpkgs/687f05a9184cad4eaf905c48b63649e3a86f5433?narHash=sha256-vZJZjLo513IeI8hjzHFc6TDezUd4uCE2Eq4SNO3DNNg%3D' (2026-05-18)

commit ac1df2ea08
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Wed May 20 20:01:29 2026 +0200

    Init v3

commit ab42287e3d
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Wed May 20 19:47:21 2026 +0200

    Fuck the old config

commit 4038b7fb6e
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Wed May 20 19:46:41 2026 +0200

    Fuck this shit I'm out

commit 2439ce45e4
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 18:12:38 2026 +0200

    Enhance firmware flashing and kernel parameters for Xiaomi Pad 6

commit da3a1f53e9
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:36:45 2026 +0200

    Add flash target

commit fc5f27117b
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:36:40 2026 +0200

    Add some more modules. Let's pray...

commit a2cac5f72b
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:36:29 2026 +0200

    Yeet the sandbox

commit 4d536d26ab
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:11:15 2026 +0200

    Oops, add inputs

commit ab98a3a7fe
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:08:14 2026 +0200

    actually not needed, cool

commit 600b9b465f
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:07:19 2026 +0200

    Add xiaomi-pipa-firmware to system packages and update firmware configuration

commit 1c9793efb3
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:05:55 2026 +0200

    Add Nix package for Xiaomi Pad 6 firmware with installation steps

commit 71c8d1f4aa
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 16:01:50 2026 +0200

    These firmware files should be in linux-firmware ready

commit 592db74e52
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 15:58:56 2026 +0200

    Add pipa firmware

commit b7e4fc4b41
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 15:55:09 2026 +0200

    add linux-firmware

commit 29e47b262a
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 15:54:57 2026 +0200

    Remove obsolete firmware files from the repository

commit 2c7f7599f5
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 15:34:25 2026 +0200

    Refactor image creation script to enhance boot image handling and cleanup process

commit ef5161eacc
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Tue May 19 15:34:20 2026 +0200

    Update initrd kernel modules and adjust file system configuration

commit f49b1d0e62
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 23:05:13 2026 +0200

    Clean up comments in configuration files for clarity and conciseness

commit 0a309ab4ca
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 23:03:57 2026 +0200

    Refactor boot configuration for improved kernel package handling and loader setup

commit d2e29b17d0
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 22:58:10 2026 +0200

    Refactor build script to enhance image creation and cleanup process

commit 411b847170
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 22:58:04 2026 +0200

    Add initrd configuration to load essential drivers during boot

commit 5cdb91059d
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 22:25:30 2026 +0200

    Drop separate boot part

commit 7215245e0d
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 22:05:48 2026 +0200

    Somewhat working

commit 449a439bfa
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 21:43:07 2026 +0200

    Shit builds v2

commit 2762b036b2
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 21:15:43 2026 +0200

    Refactor build script to improve cleanup and output directory handling

commit 41dcf0ed2a
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 21:15:38 2026 +0200

    Add internationalization settings and timezone configuration

commit e3730c0c4e
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 20:00:49 2026 +0200

    Add deployment script for building and flashing images

commit a0e3c1cb05
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 20:00:45 2026 +0200

    Update bootloader configuration to use systemd-boot and adjust filesystem labels

commit 081b85f7e5
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 20:00:40 2026 +0200

    Refactor Justfile to remove unused build targets and streamline build process

commit c73a552c88
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 19:56:10 2026 +0200

    Update gitignore

commit 357510eca5
Author: Roman Lubij <roman.lubij@gmail.com>
Date:   Mon May 18 18:44:29 2026 +0200

    Add GRUB config
2026-05-22 12:11:11 +02:00
romanl 53edf6474b Shut builds now 2026-05-18 18:36:50 +02:00
romanl 193e3d1318 Refactor kernel configuration to use lib.mkForce for extra options 2026-05-18 17:04:57 +02:00
romanl 5edea8130a Refactor kernel package source handling for improved cross-compilation support 2026-05-18 16:16:19 +02:00
romanl a5f56fae1d Refactor kernel package configuration for AArch64 cross-compilation support 2026-05-18 10:16:40 +02:00
romanl 9f567cc24d Remove architecture settings for x86_64 and aarch64 cross-compilation in flake.nix 2026-05-18 10:16:02 +02:00
romanl ef91a5aac4 Refactor hardware configuration for AArch64 cross-compilation support 2026-05-17 23:30:39 +02:00
romanl e1e071de07 Switch nixpkgs URL to version 25.11 in flake.nix 2026-05-17 23:30:32 +02:00
romanl edf3ee5b70 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb?narHash=sha256-30sZNZoA1cqF5JNO9fVX%2BwgiQYjB7HJqqJ4ztCDeBZE%3D' (2026-05-15)
  → 'github:nixos/nixpkgs/871b9fd269ff6246794583ce4ee1031e1da71895?narHash=sha256-M101xMtWdF1eSD0xhiR8nG8CXRlHmv6V%2BVoY65Smwf4%3D' (2025-11-30)
2026-05-17 23:27:55 +02:00
romanl 40cf819202 Update architecture settings in flake.nix for cross-compilation support 2026-05-17 23:15:11 +02:00
romanl 9ac8e3e8dc flake.lock: Add
Flake lock file updates:

• Added input 'nixpkgs':
    'github:nixos/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb?narHash=sha256-30sZNZoA1cqF5JNO9fVX%2BwgiQYjB7HJqqJ4ztCDeBZE%3D' (2026-05-15)
• Added input 'pipa-kernel-src':
    'https://github.com/pipa-mainline/linux/archive/576f7cb3848179b36ef92420a1ab4c910b53b357.tar.gz?narHash=sha256-ApsnYs38vrKwEbvO0d0c4aqpCRQe5FQ7Aa66U38x8JI%3D' (2025-12-24)
2026-05-17 23:00:12 +02:00