Donovan Glover
c93a5203b7
flake: Add formatting support for aarch64
2024-06-16 12:21:19 -04:00
Donovan Glover
000c9f2d90
system: Enable aarch64-linux emulation
...
This makes it possible to build the phone on the laptop, useful to
significantly reduce build times.
2024-06-16 07:43:56 -04:00
Donovan Glover
c0fc4fc4d0
desktop: Add back ringracers
...
Accidentally removed this without adding it back previously.
2024-06-16 06:20:55 -04:00
Donovan Glover
af678f14d9
phone: Improve virtualization support
...
Makes things snappier among other things.
2024-06-15 13:49:47 -04:00
Donovan Glover
3ce04d6ed3
phone: Remove default packages
2024-06-15 13:48:56 -04:00
Donovan Glover
dbf440c7a7
phone: Disable link-local multicast name resolution
2024-06-15 13:47:08 -04:00
Donovan Glover
39eef2e126
phone: Enable mac randomization
2024-06-15 13:46:14 -04:00
Donovan Glover
675e7e47de
phone: Don't show errors on unknown shell commands
2024-06-15 13:45:49 -04:00
Donovan Glover
22894d86c4
flake: Add missing bootloader for phone vm
...
This fixes an issue where `nix flake check` would previously fail.
2024-06-15 13:18:26 -04:00
Donovan Glover
ad506d827e
flake: Merge phone flake with nix-config
...
This makes sense to avoid having to cd into the phone directory before
being able to do anything.
Note that this time we aren't trying to combine the phone config with
the existing nix modules to keep things simple.
2024-06-15 12:48:40 -04:00
Donovan Glover
0384654ee4
flake: Don't dynamically declare nixosConfigurations
...
This makes it easier to add hosts that have multiple nixosConfigurations
due to compiling for different architectures.
2024-06-15 12:41:14 -04:00
Donovan Glover
663c89148b
nix: Replace boolean with string for sessionVariables
...
Fixes an issue where booleans aren't supported here.
2024-06-15 12:28:42 -04:00
Donovan Glover
58a2d8c9a0
phone: Update package list
2024-06-15 12:17:19 -04:00
Donovan Glover
f02ee75aa7
phone: Enable wireguard for VPN
2024-06-15 12:07:24 -04:00
Donovan Glover
8b72be1708
phone: Enable SSH for remote access
2024-06-15 12:06:57 -04:00
Donovan Glover
e7c062344f
meta: Change default theme to selenized-black
2024-06-15 11:59:20 -04:00
Donovan Glover
9dd63e01df
phone: Simplify config
2024-06-15 11:56:02 -04:00
Donovan Glover
3e4d3d1d2e
phone: Add kitty support with LIBGL_ALWAYS_SOFTWARE
...
The PinePhone uses old enough hardware that newer OpenGL versions aren't
supported, so software rendering must be used to make things work.
2024-06-15 11:48:09 -04:00
Donovan Glover
75e5323720
chore: Fix formatting with nix fmt
2024-06-15 11:42:34 -04:00
Donovan Glover
62bf42eacb
phone: Remove gnome web
...
A cute browser however the touch gestures get in the way and modern
websites are often broken due to the lack of support for newer web
features.
Generally I've taken a liking to LibreWolf on the PinePhone, even if it
crashes more than I'd like to see.
2024-06-15 11:40:33 -04:00
Donovan Glover
8527ad719d
phone: Add virtual machine support for x86_64-linux
...
This makes it possible to test the phone config in a virtual machine on
x86_64 machines.
2024-06-15 11:36:04 -04:00
Donovan Glover
4e18c839de
phone: Move mobile-nixos specific config to flake
...
This makes it possible to create an x86_64 virtual machine without the
hardware-specific customizations of mobile-nixos.
2024-06-15 11:26:47 -04:00
Donovan Glover
a629f92827
meta: Revert combining mobile-nixos flake
...
This was causing a lot of issues unfortunately presumably due to things
not working with the aarch64 PinePhone system. Random errors like
"expected string 'D'" were common and I'd rather use a separate flake to
make things easier to debug and keep evaluation times to a minimum.
2024-06-15 10:47:03 -04:00
Donovan Glover
8ceb1bf511
flake: Properly handle mobile-nixos module import
...
This was necessary to avoid issues with conditional imports.
2024-06-14 13:18:45 -04:00
Donovan Glover
2bb4847198
phone: Remove mullvad-vpn service due to missing rpfilter
...
The mullvad-vpn service depends on iptables, which breaks support on the
PinePhone.
2024-06-14 09:57:52 -04:00
Donovan Glover
05b14fa423
meta: Merge phone module with system / desktop
2024-06-14 01:21:46 -04:00
Donovan Glover
7afc6b27f8
chore: Update flake inputs with mobile-nixos
2024-06-14 00:57:33 -04:00
Donovan Glover
399e43a723
phone: Prepare configuration for main flake
...
This is part of merging the phone flake with the main nix-config flake.
2024-06-14 00:55:12 -04:00
Donovan Glover
103238c11e
meta: Rename default.nix to laptop.nix
...
This is a part of getting the repository ready for multiple hosts.
2024-06-13 22:21:20 -04:00
Donovan Glover
eb58e723e2
meta: Migrate phosh options to phone module
...
Might try going beyond phosh later.
2024-06-13 21:17:28 -04:00
Donovan Glover
b972766cc5
nix: Merge phone flake with nix-config
...
This is a part of having multiple nixosSystems for the same nix flake.
2024-06-13 18:42:13 -04:00
Donovan Glover
10d99941bb
chore: Remove old hyprland fcitx patch
...
Not needed anymore after v0.39.1.
2024-06-13 14:41:26 -04:00
Donovan Glover
97ae27a86e
phone: Add base configuration
...
This was my attempt at adding some essential programs to the PinePhone
before combining its configuration with this existing nix-config.
2024-06-13 13:26:12 -04:00
Donovan Glover
8d21fa5850
desktop: Add popsicle for flashing drives
...
It's a nice and simple GUI that helps avoid silly mistakes when flashing
drives.
2024-06-13 13:20:32 -04:00
Donovan Glover
2470a8df50
nixpkgs: Update hyprland from v0.41.0 to v0.41.1
2024-06-13 13:19:23 -04:00
Donovan Glover
0e028019f6
phone: Simplify options
2024-06-13 06:22:21 -04:00
Donovan Glover
6434f2b2fc
phone: Add working flake
...
This is a working nix flake I wrote for the PinePhone on the PinePhone.
It successfully updated the system from a 2023-11-15 version to the
latest nixos-unstable release.
2024-06-13 06:06:35 -04:00
Donovan Glover
494f40e691
phone: Add initial configuration
...
This is an initial configuration of the PinePhone with a nixpkgs build
from 2023-11-15. Notably the installer uses uuids by default, so it's up
to the user to specify their own hardware-configuration.nix.
2024-06-13 06:03:27 -04:00
Donovan Glover
fc69d7980f
hyprland: Disable initial_workspace_tracking
...
Fixes an issue where new windows from ironbar and eww would open on the
first workspace instead of the current one.
2024-06-13 05:42:08 -04:00
Donovan Glover
37f3cbb50e
ringracers: Prefer upstream nixpkgs version
...
This is now possible since ringracers is in nixos-unstable.
2024-06-13 05:33:45 -04:00
Donovan Glover
ba24f8581e
chore: Update flake inputs
...
Notably changes from an early version of 24.05 to the latest unstable
version of 24.11.
2024-06-13 05:31:38 -04:00
Donovan Glover
f2c8af31e8
home-manager: Follow nixos-unstable
...
Fixes an issue where mpv stuff broke in a recent update.
2024-06-13 05:16:46 -04:00
Donovan Glover
b42540808b
meta: Patch latest nixos-unstable release with hyprland v0.41.0
...
This shouldn't cause too many issues.
2024-06-13 05:15:51 -04:00
Donovan Glover
996f36e239
hardware: Add bluetooth support
2024-06-13 05:14:19 -04:00
Donovan Glover
ce5f3ea6d7
ironbar: Overlay to newer version for Hyprland v0.40.0+
...
This is part of updating Hyprland to v0.41.0.
2024-06-13 05:13:14 -04:00
Donovan Glover
96b3752117
hyprland: Lock version to v0.39.1-patched
...
Note that using a separate fork is necessary since overlaying flakes
seems to be non-trivial here.
Also note that previously the nixpkgs hyprland was being started from
greetd. This fixes that.
2024-06-12 14:50:44 -04:00
Donovan Glover
824d1ef914
shell: Add new packages
2024-06-12 14:01:05 -04:00
Donovan Glover
06b14b11eb
chore: Move legacy options out of services.xserver
...
At some point these options were changed to be descendants of
`services` instead.
2024-06-04 10:22:09 -04:00
Donovan Glover
5e5d7c0468
containers: Fix cursor by inheriting overlays
...
Previously the old phinger-cursors package was being used without the
overlay. This fixes that and ensures that all packages have their
appropriate overlays.
2024-06-02 23:41:51 -04:00
Donovan Glover
6bb9350f7a
example: Inherit all overlays by default
...
Fixes an issue where the old phinger-cursors wasn't being used and
should future-proof any necessary overlays for the functioning of the
system.
2024-06-02 14:50:50 -04:00