1
0
forked from extern/nix-config
Commit Graph

1550 Commits

Author SHA1 Message Date
Donovan Glover
7bcb8a5807
Split modules based on function 2023-05-18 15:54:15 -04:00
Donovan Glover
e20be890d0
Remove distinction between home-manager files 2023-05-18 11:46:41 -04:00
Donovan Glover
3d8e6f356e
Merge fish module 2023-05-18 09:49:56 -04:00
Donovan Glover
343e0cf6e0
Use separate directories for all modules 2023-05-17 16:57:33 -04:00
Donovan Glover
33d4e88d01
Make git available to root
Necessary for if we need to run nixos-rebuild switch under root.
2023-05-17 16:10:02 -04:00
Donovan Glover
43cb50c2ce
Start hyprland on tty1 login 2023-05-17 16:09:35 -04:00
Donovan Glover
bcaaea97d2
Remove unneeded home-manager options 2023-05-17 16:08:28 -04:00
Donovan Glover
e09febf522
Add user module 2023-05-17 15:58:08 -04:00
Donovan Glover
afc98ce47e
Remove configuration.nix
Not needed anymore since we know how to use nix modules.
2023-05-17 12:50:55 -04:00
Donovan Glover
b8de7a9304
Update systemPackages 2023-05-17 12:29:22 -04:00
Donovan Glover
2966ab79d6
Add module for piper 2023-05-17 11:51:52 -04:00
Donovan Glover
a2d6373232
Make home.nix a proper module 2023-05-17 11:51:12 -04:00
Donovan Glover
4012f0a381
nix: Modularize 2023-05-17 10:17:42 -04:00
Donovan Glover
4a7b603536
nix: Continue modularization 2023-05-17 10:02:36 -04:00
Donovan Glover
9c64fffdc8
Combine system configuration with home-manager
This works well since I am not interested in different users on the same
machine having different state, and keeps all the relevant configuration
for specific programs in one file.
2023-05-17 08:44:15 -04:00
Donovan Glover
a9b7a93fd1
nix: Follow home-manager for stylix 2023-05-16 23:35:52 -04:00
Donovan Glover
1e7f0136f5
nix: Follow nixpkgs for all inputs 2023-05-16 23:07:14 -04:00
Donovan Glover
d5db1b513e
Make srb2 a module
This makes it easier to add and remove srb2 from machines by simply
importing its module.
2023-05-16 21:23:13 -04:00
Donovan Glover
4f18602527
Add osu module
Note that osu! is currently unfree since it depends on the bass audio
library.
2023-05-16 21:16:47 -04:00
Donovan Glover
855e82b8e7
nix: Update flake inputs 2023-05-16 21:11:40 -04:00
Donovan Glover
6d99247c6f
nix: Remove unused arguments 2023-05-16 19:29:19 -04:00
Donovan Glover
a648078472
home-manager: Separate remaining modules 2023-05-16 19:10:16 -04:00
Donovan Glover
70948c2a8c
hyprland: Allow focus on activate
This change makes it so that when you open an application that is
already open, Hyprland will focus the workspace of that application.
2023-05-16 18:10:10 -04:00
Donovan Glover
1ff399e41c
hyprland: Allow all horizontal splits
This change makes it possible to have all windows stacked on top of each
other horizontally, similar to river and other dynamic window managers.
2023-05-16 18:08:51 -04:00
Donovan Glover
8f78ecfd0b
hyprland: Don't refocus mouse until new window
This fixes an issue where floating windows would have their focus lost
if you accidentally moved the mouse while on the window behind it.

This also fixes an issue where focus would be lost on a special
workspace if the workspace in the background had a fullscreen xwayland
application.
2023-05-16 18:07:30 -04:00
Donovan Glover
a267d9158b
hyprland: Remove udiskie exec-once
This shouldn't be needed since home-manager automatically starts the
udiskie service.
2023-05-16 18:06:03 -04:00
Donovan Glover
c71949f46e
nix: Use separate module for librewolf 2023-05-16 18:04:04 -04:00
Donovan Glover
47da22c951
modules: Add tlp
Note that this may be better as a host-specific module.
2023-05-16 17:54:20 -04:00
Donovan Glover
7947472035
nix: Fix function arguments 2023-05-16 17:24:07 -04:00
Donovan Glover
b6f16a9877
Only import one file for home-manager 2023-05-16 17:22:00 -04:00
Donovan Glover
a9703aad9a
Continue moving fish config to fish module 2023-05-16 17:18:48 -04:00
Donovan Glover
8c027300e6
Modularize htop and dual-function-keys 2023-05-16 17:18:06 -04:00
Donovan Glover
537357307e
Split more configs into separate modules 2023-05-16 17:09:05 -04:00
Donovan Glover
70d7091d17
home-manager: Remove chromium
I'm really not interested in maintaining chromium since it doesn't come
with sane defaults like ublock origin. Since qutebrowser uses chromium,
it should work fine as a chromium replacement if needed.
2023-05-16 16:31:03 -04:00
Donovan Glover
8b31ad8202
Abstract fcitx5 and rofi into separate files 2023-05-16 15:50:38 -04:00
Donovan Glover
19dda06920
Abstract stylix and fonts into modules 2023-05-16 14:52:59 -04:00
Donovan Glover
a17ba29926
Abstract starship and fish into separate modules
This should make things easier to reason about and more modular in
general.
2023-05-16 12:33:53 -04:00
Donovan Glover
8e05ad4cae
hyprland: Use hyprctl activeworkspace
This is a new command that came out 2 weeks ago.
2023-05-16 11:17:06 -04:00
Donovan Glover
4ec4d25c14
hyprland: Remove focusmaster.sh
I don't actually use this.
2023-05-16 11:03:20 -04:00
Donovan Glover
ae8fdd8ac7
pkgs: Add srb2 package
This is necessary since the current srb2 package in nixpkgs is outdated.

Based on https://github.com/NixOS/nixpkgs/pull/187320
2023-05-16 10:58:55 -04:00
Donovan Glover
a3e21ba90d
neovim: Remove broken plugins
As nice as it would be to use nvim-cursorline, it simply causes too many
issues with other files, throwing errors on each cursor movement.
2023-05-15 15:50:49 -04:00
Donovan Glover
71214a7d3a
gtk: Fix wrong icon theme being used
The dark variant is naturally for dark color schemes.
2023-05-14 15:59:58 -04:00
Donovan Glover
c7c6a7160c
Remove lf/pistol
Ranger is preferred since it's the tool I'm familiar with.
2023-05-14 14:07:38 -04:00
Donovan Glover
23c05a122f
Add attempt at using pistol with lf
Unfortunately, this doesn't work, so it's much simpler to stick with
ranger for now.
2023-05-14 14:06:09 -04:00
Donovan Glover
b518a28f46
waybar: Change workspace numbers
Might make this configurable later.
2023-05-14 13:14:00 -04:00
Donovan Glover
7da4e81c63
waybar: Use GTK theme
This handles some things for us that would be difficult to achieve
otherwise.
2023-05-14 13:03:01 -04:00
Donovan Glover
08bb2d0baf
hyprland: Add fix for swapping between workspaces
See https://github.com/hyprwm/Hyprland/issues/2263
2023-05-14 12:13:11 -04:00
Donovan Glover
ec8a5c6d8c
waybar: Disable tooltip for new workspace
Unfortunately, tooltip-format is unsupported by custom modules, so the
best we can do is disable tooltips.
2023-05-14 10:31:42 -04:00
Donovan Glover
b83d0fb0d7
hyprland: Enable workspace_back_and_forth
This fixes an issue where certain fullscreen xwayland applications would
break when attempting to switch to the same workspace.

Note that `bind = SUPER, grave, workspace, previous` may have also
solved this issue, however it's currently broken on master.
2023-05-14 09:56:01 -04:00
Donovan Glover
fd077016b8
waybar: Use tray spacing from module
This fixes an issue where the spacing wasn't correct.
2023-05-14 09:31:14 -04:00