Commit graph

117 commits

Author SHA1 Message Date
09a07b15da
treewide: config/home-manager -> modules/hm
Moved every remaining home-manager piece of configuration to its own hm
module.
2025-01-15 22:56:32 +01:00
d7356d3fde
modules/nix/services: add keyd 2025-01-15 14:55:03 +01:00
94d59b47b3
modules/nix/services: remove kanata 2025-01-14 21:41:09 +01:00
376024d4a5
treewide: config/home-manager/services -> modules/hm/services 2025-01-14 20:06:31 +01:00
b808281674
treewide: config/home-manager -> modules/hm
Started moving HM config to the new local modules system. Conditionally
toggling based on profiles and modules.
2025-01-14 19:33:31 +01:00
2b77ac239e
treewide: config/nixos/services -> modules/nix/services
Moved every service in their own module, and conditionally enable them
based on profiles.
2025-01-14 15:10:49 +01:00
7aadc0c8fe
modules/nix/programs/hyprland: make chromium/electron apps run on Wayland 2025-01-14 14:44:38 +01:00
ec285bcc52
treewide: config/nixos/programs -> modules/nix/programs
Here, we also use the option we just added, `local.modules.hyprland.enable` to toggle Hyprland, as well as the profiles. Also removed other unused configuration, such as KDE/Gnome.
2025-01-14 14:18:55 +01:00
76a2caa9c7
options/modules: add options for Hyprland 2025-01-14 14:18:54 +01:00
f3c08b8431
treewide: config/nixos/programs/fonts -> modules/nix/core/fonts 2025-01-14 13:55:17 +01:00
c37f00205b
treewide: config/nixos/nix -> modules/nix/core/nix.nix 2025-01-14 13:49:29 +01:00
a734372732
treewide: config/nixos/network -> modules/nix/core/networking 2025-01-14 13:43:23 +01:00
07a9c5f510
treewide: move hardware into modules 2025-01-14 12:34:01 +01:00
7d1baf7eb5
options: use mkIf for assertions 2025-01-14 12:33:41 +01:00
65ea8beba0
options: remove isServer since we have server profile 2025-01-14 12:30:19 +01:00
7906864ae1
options/profiles: add laptop profile 2025-01-14 12:30:19 +01:00
99b6b41de3
treewide: migrate config/system/core to modules
Moved everything from core into modules. I want to get all the NixOS
stuff moved first, and do home-manager after. I used the different
profiles to disable configuration that might break my server, as it has
its own configuration already. This will need to be refactored later, as
I want to ultimately only use the local module system.
2025-01-14 12:01:33 +01:00
b89a42ef13
modules/options: add profiles
The next step in the refactoring is to add different profiles, so that
we may toggle them easily in our hosts. Here's the profiles I went for:

- desktop: enables everything a desktop computer needs (graphics,
productivity apps, base apps such as browsers...)
- gaming: enables gaming configurations (steam, gamescope...)
- server: enables server configurations (website hosting, git forge...)

I made sure the server profile can not be enabled if desktop/gaming are
enabled, as it would not make sense to have desktop applications and
configurations on a server.
2025-01-14 11:59:59 +01:00
851024052d
modules: move style to nix/style
This is temporary, as we're going to get rid of that awkward style
module that was meant to be shared, but ended up being too specific to
my use-case. We just put it in a nix directory for now, as we will with
everything else. This will be refactored later to be mixed with the
relevant program's configuration.
2025-01-14 11:02:13 +01:00
bb55875491
treewide: move shared/nixosModules to modules
The idea of this refactor is, as the configuration is getting bigger and
more complex, to move everything into a local modules system. The idea
is to simplify hosts declaration and add a new layer of abstraction to
avoid the long and redundant imports in hosts/default.nix, that I am
currently using.

First, we're going to move everything to the modules directory, and
split options from the proper configuration. That allows us to have an
easier time understanding how the options are structured, as they will
follow the directory structure and won't be mixed with the module
configuration.
2025-01-14 10:56:34 +01:00
390691be57
treewide: refactor structure
I have decided to refactor the entire structure of my repository, as the
old one was getting quite cluttered and I needed something that made
more sense. I've decided to go with the following, which will be
explained in the README when I find the time to do it. The gist of it
is:
- Put everything shared into its shared directory
- Rewrite the theme module (now style) to be more split, as it is
  theming a lot of different apps
- Merge nixos and home-manager configurations back into a singular
  config directory

Thanks a lot to llakala for the massive help she was with my Nix code.

commit 66ff9820f8
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 19:23:28 2024 +0100

    shared/nixosModules/style: use sharedModules

commit 1271294049
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 19:23:13 2024 +0100

    treewide: remove unused nvidia file

commit ab18a42418
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 19:02:34 2024 +0100

    flake: remove uneeded directory for nodes

commit f8afc9f461
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 18:43:19 2024 +0100

    shared/nixosModules/style: split everything into its file

commit 851a4d0d32
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 11:15:40 2024 +0100

    repo: update README

commit e01237d59a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 11:00:56 2024 +0100

    hosts/solaire: delete unused modules directory

commit 1c3665ec1c
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 11:00:24 2024 +0100

    pkgs: move to shared/pkgs

commit 587e8d321b
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 10:57:03 2024 +0100

    treewide: split up options from theming module, rename to style

    As an initial step towards refactoring the theming module, the options
    have been split up from the configuration itself. This will allow to
    find available options quicker, and separate concerns nicely. It was
    also renamed to style, to avoid confusion with its own options (eg.
    gtk.theme).

commit 87bb04f065
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 10:19:59 2024 +0100

    config/nixos/core/boot: remove unused arguments

commit 8e7c0584ef
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 10:19:46 2024 +0100

    hosts: move host-specific configuration to hosts/{host}/config

commit a600143e8a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 10:19:24 2024 +0100

    nvidia: move to hosts/solaire

commit 7174a33a44
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 10:14:06 2024 +0100

    treewide: reorganize general structure

commit b86f1470ed
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 10:03:08 2024 +0100

    hosts/solaire: set global vars

commit de6ea242c0
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 09:24:59 2024 +0100

    system/network: replace hard-coded values with global vars

commit 5acf11adca
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 09:24:51 2024 +0100

    system/core/users: replace hard-coded values with global vars

commit 96425172a0
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 09:24:30 2024 +0100

    hosts/vamos: set global vars

commit 8338818b7d
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 09:24:23 2024 +0100

    hosts: import local modules by default

commit ffb60ac869
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 09:23:54 2024 +0100

    flake: update eachSystem to use lib.systems.flakeExposed

commit e98a15db1d
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Dec 18 09:23:33 2024 +0100

    modules: create modules to hold global variables
2024-12-18 19:24:59 +01:00
0e6ec0157b
modules/theme: add base16 tidal theme 2024-12-16 15:48:52 +01:00
7d3c2669ea
modules/theme: update accent color to be purple 2024-12-16 15:24:46 +01:00
4bae02f24a
modules/theme: add equicord base16 theme based on midnight 2024-12-16 15:10:16 +01:00
11126aed45
modules/theme/gtk: switch to papirus dark icons 2024-12-16 00:13:46 +01:00
6774a216d7
treewide: rename images to assets 2024-12-16 00:00:54 +01:00
25f6c41bc1
treewide: theme hyprlock
This is the catppuccin hyprlock theme, with base16 colors so that it may
work with my theming configuration.
2024-12-15 16:47:01 +01:00
1303ad9df0
modules/theme: use purple accent for catppuccin gtk 2024-12-13 23:23:49 +01:00
7e240b97b6
modules/theme: add XCURSOR_SIZE 2024-12-13 22:57:42 +01:00
a3c356c3c6
treewide: switch to hyprland
I've decided to switch to Hyprland again, after having issues with Niri,
especially with XWayland apps. It also has better and more widespread integration with other pieces of software that I use/plan to use.

commit 5a42498391
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 16:59:37 2024 +0100

    modules/theme: update fuzzel selection colors

commit f3386f5b0a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 16:53:57 2024 +0100

    system/services/greetd: enable gnome keyring

commit c1caf6d844
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 16:51:24 2024 +0100

    modules/themes: switch to phinger-cursors, update border colors

commit aa7a00d330
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:54:43 2024 +0100

    hosts/solaire: switch to hyprland

commit 7c7a332a3e
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:54:34 2024 +0100

    modules/theme: set default theme to catppuccin (again)

commit 471c6b5503
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:54:24 2024 +0100

    flake: add hyprwm-contrib for grimslurp

commit 04914eab73
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:54:09 2024 +0100

    system/services/greetd: switch to hyprland as compositor (thanks jacekpoz)

commit d185864012
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:52:56 2024 +0100

    home/services/swaync: remove unused variables

commit 75ff00b2e2
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:52:43 2024 +0100

    home/programs/waybar: add hyprland workspaces

commit b36b3abf53
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 14:52:31 2024 +0100

    home/programs/hypr: add basic hyprland configuration

commit cdda6bf2bc
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 12:03:53 2024 +0100

    system/programs: add hyprland module

commit ef36f7be36
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 12:03:43 2024 +0100

    flake: add hyprland and cachix

commit cdbcd8d1bd
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Fri Dec 13 12:03:37 2024 +0100

    system/nix: add wheel to trusted users
2024-12-13 19:02:53 +01:00
1fd5815f18
modules/theme: update icon theme 2024-12-10 18:39:09 +01:00
3017dfc76c
treewide: bring regreet theme config to theme module 2024-12-10 08:36:24 +01:00
3cbde4886f
modules/theme: update fish colors 2024-12-09 20:30:03 +01:00
b17e84fbef
modules/theme: update starship colors 2024-12-08 21:22:12 +01:00
60eacee9fe
modules/theme: remove kitty, update fuzzel for base16 2024-12-08 20:55:16 +01:00
a545d1401f
modules/theme: update starship prompt symbols 2024-12-06 15:00:28 +01:00
252ecaff8b
modules/theme: update some swaylock colors 2024-12-06 14:50:30 +01:00
5027580f06
modules/theme: update default gtk themes 2024-12-06 13:06:35 +01:00
56bc4f35ed
modules/theme: update swaylock colors 2024-12-06 12:48:14 +01:00
09c34d14a3
modules/theme: add fish colors 2024-12-06 08:55:20 +01:00
79df41ae2e
treewide: update theming defaults to rose-pine (including cursor) 2024-12-06 00:19:53 +01:00
8671bf2816
modules/theme: add nvf import 2024-12-05 18:31:30 +01:00
6c8626dd18
modules/theme: update border color 2024-12-05 18:29:49 +01:00
8c39008df5
modules/theme: update foot colors, remove gtk configuration 2024-12-05 15:55:09 +01:00
a09777fc90
modules/theme/gtk: enable gtk 2024-12-05 15:54:53 +01:00
e363f7160e
modules/theme: remove unused variable 2024-12-05 00:05:28 +01:00
56e4085c73
treewide: add nvf base16 theming 2024-12-05 00:02:59 +01:00
44f2dd55d5
modules/theme: enable gtk theming if global theming enabled by default 2024-12-04 23:42:19 +01:00
7e5a0442ec
treewide: move nvf back to repo, switch theme on vamos to rose-pine 2024-12-04 22:22:45 +01:00
378ac8e01c
modules/theme/gtk: consistent dark theme on gtk 2024-12-04 08:39:36 +01:00