Commit graph

53 commits

Author SHA1 Message Date
de6052693e
treewide: huge refactor, move everything into modules
As my configuration was getting more and more complex, I thought it was
time to switch to a completely modular approach. A local module system
has been created, containing profiles (some will be added later, as I
went with as generic as I could, but I would like to make them more
specialized).

NixOS and home-manager modules have also been separated, which I don't
like too much, and will switch to a cleaner implementation of home
management systems.

commit 09a07b15da
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Jan 15 22:56:32 2025 +0100

    treewide: config/home-manager -> modules/hm

    Moved every remaining home-manager piece of configuration to its own
hm
    module.

commit d7356d3fde
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Wed Jan 15 14:55:03 2025 +0100

    modules/nix/services: add keyd

commit c846cc95ae
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 21:41:13 2025 +0100

    flake: update inputs

commit 94d59b47b3
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 21:41:09 2025 +0100

    modules/nix/services: remove kanata

commit 4429b604dd
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 21:41:01 2025 +0100

    config/home-manager: remove services/udiskie.nix

commit 376024d4a5
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 20:06:31 2025 +0100

    treewide: config/home-manager/services -> modules/hm/services

commit b808281674
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 19:33:31 2025 +0100

    treewide: config/home-manager -> modules/hm

    Started moving HM config to the new local modules system.
Conditionally
    toggling based on profiles and modules.

commit 2b77ac239e
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 15:10:49 2025 +0100

    treewide: config/nixos/services -> modules/nix/services

    Moved every service in their own module, and conditionally enable
them
    based on profiles.

commit 7aadc0c8fe
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 14:44:38 2025 +0100

    modules/nix/programs/hyprland: make chromium/electron apps run on
Wayland

commit ec285bcc52
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 13:58:52 2025 +0100

    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.

commit 76a2caa9c7
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 14:07:41 2025 +0100

    options/modules: add options for Hyprland

commit 9f3d6ae768
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 13:56:56 2025 +0100

    config/nix/programs: cleanup unused files

commit f3c08b8431
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 13:55:17 2025 +0100

    treewide: config/nixos/programs/fonts -> modules/nix/core/fonts

commit c37f00205b
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 13:49:29 2025 +0100

    treewide: config/nixos/nix -> modules/nix/core/nix.nix

commit a734372732
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 13:43:23 2025 +0100

    treewide: config/nixos/network -> modules/nix/core/networking

commit 07a9c5f510
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 12:34:01 2025 +0100

    treewide: move hardware into modules

commit 7d1baf7eb5
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 12:33:21 2025 +0100

    options: use mkIf for assertions

commit 9b01b40253
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 12:33:00 2025 +0100

    hosts: set profiles

    We set profiles before moving the config so nothing breaks and we
keep a
    working commit history :)

commit 65ea8beba0
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 12:22:06 2025 +0100

    options: remove isServer since we have server profile

commit 7906864ae1
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 12:21:49 2025 +0100

    options/profiles: add laptop profile

commit 99b6b41de3
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 12:01:33 2025 +0100

    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.

commit b89a42ef13
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 11:59:59 2025 +0100

    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.

commit 851024052d
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 11:02:13 2025 +0100

    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.

commit bb55875491
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Tue Jan 14 10:56:34 2025 +0100

    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-15 23:00:13 +01:00
d83faa96c4
hosts: group shared modules under hosts/default.nix 2024-12-30 19:28:59 +01:00
fe83d5f557
treewide: move hm config to config/nixos/core/home-manager 2024-12-29 23:22:25 +01:00
c06597fe7f
treewide: add gammastep 2024-12-27 23:15:38 +01:00
10d313f33a
hosts: switch to hyprpaper 2024-12-27 11:48:15 +01:00
7ff03271d7
hosts/solaire: fix wake-up issues with nvidia 2024-12-26 18:05:50 +01:00
0eab12a13f
hosts: remove duplicated imports 2024-12-20 18:12:50 +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
6774a216d7
treewide: rename images to assets 2024-12-16 00:00:54 +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
cb9e8b93fc
hosts/solaire: import nvf config 2024-12-06 17:02:15 +01:00
79df41ae2e
treewide: update theming defaults to rose-pine (including cursor) 2024-12-06 00:19:53 +01:00
68a619879c
treewide: add flatpak for sober 2024-12-05 16:01:07 +01:00
ef474ea4b2
hosts/solaire: update theme to rose-pine 2024-12-05 15:57:34 +01:00
a1a1258214
treewide: add syncthing 2024-12-01 12:21:50 +01:00
6b5565b10b
treewide: go back to fuzzel, change cursor to phinger 2024-11-30 22:57:53 +01:00
65376aff43
hosts/solaire: add gnome-related configuration 2024-11-28 23:07:13 +01:00
ec56959779
treewide: add anyrun, remove unused dependencies 2024-11-28 21:51:20 +01:00
54916e58a4
hosts/solaire: enable niri on desktop 2024-11-27 22:45:24 +01:00
8a7f929386
system/services: add mandocs and mandb 2024-11-27 17:47:53 +01:00
f06229cc33
treewide: conditionally add theming 2024-11-21 17:44:42 +01:00
81852b26d2
hosts/solaire: configure theme 2024-11-21 16:00:15 +01:00
375b893a43
treewide: add syncthing 2024-11-17 15:04:22 +01:00
d0c4c6da05
treewide: fix deploy issues
Using absolute path imports is apparently a horrible idea since that
just messes up the store, and will bring a lot of issues since that
copies it to the store separately.
2024-11-15 19:49:20 +01:00
dfaf4569a5
treewide: add gnome config to solaire 2024-11-07 18:26:10 +01:00
a9b8cc60e0
hosts/solaire: avoid repeating paths 2024-11-06 16:25:57 +01:00
1474053f43
hosts: move local modules to their own directory inside specific host 2024-10-22 15:01:05 +02:00
c233c1a420
hosts/solaire: set wallpaper in solaire itself, not hosts/default.nix 2024-10-22 14:04:01 +02:00
6c0003aa0b
home/programs/browsers: declare firefox addons and start configuring them 2024-10-21 19:08:21 +02:00
b255b3988b
repo: remove home/profiles
commit f60d03acf6
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 16:02:55 2024 +0200

    flake: update dependencies

commit 8c3cd9631a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 15:49:07 2024 +0200

    repo: move common home packages into home/default.nix

commit aa46aa0762
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 15:34:23 2024 +0200

    repo: refactor to remove home/profiles

    Removed the profiles directory in home, as I thought it was redundant:
    they had the same name as my hostnames, as all my machines are
    single-user only. Therefore, everything is now under its own
    hosts/{hostname}, and flake.nix just has to import hosts/default.nix
    like it did before.
2024-10-21 16:37:58 +02:00
8fe0604299
repo: huge refactor
Refactored the entire repository structure, as putting everything into
modules was just awkward. Took heavy inspiration from fufexan's
repository, fufexan/dotfiles, as the structure felt much saner.
2024-09-29 23:48:55 +02:00
87eff73b58
repo: clean code 2024-09-25 09:02:43 +02:00
8473772fe5
repo: format with alejandra 2024-09-24 23:47:52 +02:00
402926b78b
solaire: add neovim, fix repeating code 2024-09-24 15:37:35 +02:00
80452cb292
repo: fix formatting 2024-09-24 15:09:36 +02:00
796b637946
pipewire: fix latency when gaming 2024-09-23 20:45:55 +02:00
432dfa938d
flake: add disks by label for easier install process 2024-09-15 15:14:01 +02:00
da7921ebed
gaming: add uni-sync service 2024-09-10 18:02:09 +02:00
3213394ecc
gaming: add r2modman 2024-09-09 12:59:09 +02:00
2eeecb0bee
pipewire: add option for latency fixes 2024-09-08 16:27:43 +02:00
606e41d3ee
add docker module, add common modules to hsots/common 2024-09-08 15:57:30 +02:00
c84c184119
add pipewire module, add fixes for latency and stuttering 2024-09-08 15:29:44 +02:00
436e1260ba
remove gnome from common, add it to solaire 2024-09-06 22:20:26 +02:00
23542ce3fd
add uni sync 2024-09-06 22:08:44 +02:00
5bd8332da0
put gaming configuration in module 2024-09-05 16:20:22 +02:00
63fd57d7ba
add wezterm flake. make nvidia module 2024-09-05 15:58:14 +02:00
01e8251286
add coolercontrol for solaire, flatpak for all hosts and switch to pipewire 2024-08-29 14:40:19 +02:00
59ba40ae0d
add via support for desktop: 2024-08-27 18:36:40 +02:00
80575b3c1d
add different wallpapers for desktop and laptop 2024-08-27 18:23:43 +02:00
a4623b8af9
move common imports to flake function 2024-08-26 13:46:52 +02:00