Commit Graph

3298 Commits

Author SHA1 Message Date
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
Donovan Glover
541e7e9a71
example: Change example package to webp-thumbnailer
fluent-icons and osu-backgrounds no longer need to be inherited here
since they're included at the home-manager level.
2024-06-02 14:48:09 -04:00
Donovan Glover
cf7d20360e
example: Prefer pkgs.system where possible 2024-06-02 14:23:37 -04:00
Donovan Glover
ca4e454138
qutebrowser: Nixify remaining config settings 2024-06-02 12:53:28 -04:00
Donovan Glover
481cc84e9a
qutebrowser: Declare remaining binds with nix 2024-06-02 12:36:39 -04:00
Donovan Glover
9b04d65774
qutebrowser: Don't specify context menu colors
Will let this be handled by stylix instead since the colors are good
enough and more closely align with the color scheme being used.
2024-06-02 12:35:27 -04:00
Donovan Glover
c0062d1310
qutebrowser: Prefer declaring unbinds with null in nix
This is possible since the home manager module handles the null case.

See: 9b53a10f4c/modules/programs/qutebrowser.nix (L29-L36)
2024-06-02 12:23:46 -04:00
Donovan Glover
49fda4f0ae
meta: Move dev tools to shell
Avoids having a separate home module just for packages and makes
essential tooling accessible in all shells.

Note that the legacy `texlive.combined.scheme-full` was replaced with
`texliveFull` in this commit.
2024-06-02 11:39:47 -04:00
Donovan Glover
7587043310
yazi: Include modified time by default
Makes it easier to see which files are older. When not necessary, `m`
can be used to change the linemode.
2024-06-02 11:07:12 -04:00
Donovan Glover
4f19c5df14
zathura: Fix opaque highlight color
Fixes an issue where newer versions of zathura changed how colors were
specified. Should eventually be fixed upstream in stylix, but we're
using the Kvantum fork for theming support in Qt applications.

Based on the upstream pull request with a preference for 0.3 highlight
transparency over 0.5.
2024-06-02 10:57:22 -04:00
Donovan Glover
5e7b6c7fdc
fish: Simplify deno abbreviations
`deno add` is now preferred over `deno install`. Additionally, `deno
compile` doesn't work on NixOS, and creating a derivation should be
preferred instead.
2024-06-02 10:52:19 -04:00
Donovan Glover
41f9b015dc
fish: Remove unused cargo abbreviations
It's easier to build off of existing projects than start with a new one
entirely, hence why I stopped using cargo init/new.
2024-06-02 10:42:50 -04:00
Donovan Glover
a65d312a09
fish: Remove ~/.local/bin from $PATH
No longer necessary since we're using NixOS. Anything that was in
~/.local/bin should be declaratively defined instead.
2024-06-01 22:11:43 -04:00
Donovan Glover
1e16aaa3ae
stylix: Lock kvantum fork to commit with 24.05 attributes
Fixes an issue where the build would previously show a warning about
`qt.platformTheme` being renamed to `qt.platformTheme.name`.
2024-06-01 21:18:33 -04:00
Donovan Glover
b16466a944
Revert "system(home): Disable nixpkgs release check"
No longer necessary since we're targeting 24.05.
2024-06-01 14:19:54 -04:00
Donovan Glover
576b9bf2ba
home-manager: Lock version to 24.05
We'll be staying on the 24.05 release for the time being since we
haven't updated nixos-unstable to 24.11 yet.
2024-06-01 14:19:38 -04:00
Donovan Glover
e60c826ed5
system(home): Disable nixpkgs release check
Necessary since we take advantage of newer hypridle and hyprlock
modules while sticking with an older version of nixpkgs to avoid issues
with newer versions of hyprland and ironbar.

Breakage may have been influenced by a dependency but seems to occur
with various combinations of hyprland and ironbar.

- hyprland v0.39.1 + ironbar v0.14.1
- hyprland v0.39.1 + ironbar master
- hyprland master + ironbar master
2024-05-31 23:44:44 -04:00
Donovan Glover
a1a54472ab
shell: Drop visidata
Not interested in using visidata due to its inability to turn off status
messages and how a bug report was replied to.

See: https://github.com/saulpw/visidata/issues/2283
2024-05-31 18:03:18 -04:00
Donovan Glover
ce02f98e0c
neovim: Drop csv-vim
This actually isn't that useful and has some bugs where errors are shown
and the neovim tree window is used instead of the active window with the
CSV file.
2024-05-31 16:25:26 -04:00
Donovan Glover
d187c6dd5b
desktop: Remove logseq
I don't use logseq anymore and am removing large programs to reduce
the closure size.
2024-05-31 11:54:34 -04:00
Donovan Glover
47c6d60229
hyprland: Use home-manager module for hyprlock 2024-05-28 13:19:15 -04:00
Donovan Glover
1462c868b6
hyprland: Use home-manager module for hypridle 2024-05-28 13:13:01 -04:00
Donovan Glover
f80d3c356d
fish: Add ex function
Used for extracting multi-part archives.
2024-05-28 13:04:47 -04:00
Donovan Glover
0d2cde7e36
fish: Add tmp function
This is the preferred way of starting qutebrowser.
2024-05-28 11:56:32 -04:00
Donovan Glover
2fbad70214
fish: Add epub2pdf function
This is part of migrating scripts from ~/.local/bin to the nix-config.
Note that this also lets us use packages that aren't available in a
user's $PATH.
2024-05-27 23:33:50 -04:00