Refactor directory structure

This commit is contained in:
2024-06-20 13:41:57 +02:00
parent 4d2ee54904
commit b76932ead3
62 changed files with 92 additions and 205 deletions

View File

@@ -1,20 +1,26 @@
{ config, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
imports = [
./hardware-configuration.nix
../../modules/system/desktop/amd.nix
../../modules/system/desktop/hyprland.nix
../../modules/system/desktop/bluetooth.nix
../../modules/system/programs/steam.nix
../../modules/system/programs/syncthing.nix
../../modules/system/programs/thunar.nix
../../modules/system/utils/common.nix
../../modules/system/utils/docker.nix
# ../../modules/system/utils/fprint.nix
../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix
../../modules/system/utils/printing.nix
# GUI
../../modules/system/gui/hyprland.nix
../../modules/system/gui/steam.nix
../../modules/system/gui/thunar.nix
# CLI
../../modules/system/cli/common.nix
../../modules/system/cli/docker.nix
# Hardware
../../modules/system/hardware/amd.nix
../../modules/system/hardware/bluetooth.nix
../../modules/system/hardware/firewall.nix
../../modules/system/hardware/garbage-collection.nix
../../modules/system/hardware/laptop.nix
../../modules/system/hardware/locale.nix
../../modules/system/hardware/printing.nix
];
nix.settings = {
@@ -41,8 +47,6 @@
extraGroups = [ "networkmanager" "wheel" "dialout" ];
};
services.printing.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
system.stateVersion = "24.05";

View File

@@ -2,17 +2,15 @@
{
imports = [
../../modules/home/desktop/hyprland
# ../../modules/home/programs/barrier.nix
../../modules/home/programs/common.nix
../../modules/home/programs/firefox.nix
../../modules/home/programs/git.nix
../../modules/home/programs/modrinth.nix
../../modules/home/programs/neovim
../../modules/home/programs/ssh.nix
../../modules/home/theme
../../modules/home/theme/blueish.nix
../../modules/home/utils/fonts.nix
# GUI
../../modules/home/gui/common
../../modules/home/gui/hyprland
../../modules/home/gui/nextcloud.nix
../../modules/home/gui/theming.nix
# CLI
../../modules/home/cli/common
../../modules/home/cli/ssh.nix
];
home = {
@@ -23,14 +21,21 @@
home.packages = with pkgs; [
# Desktop Applications
kdenlive
gthumb
unstable.arduino-ide
unstable.prismlauncher
unstable.joplin-desktop
unstable.moonlight-qt
unstable.prusa-slicer
signal-desktop
unstable.vesktop
# Office
libreoffice
onlyoffice-bin
# Image editing
gimp
inkscape
];
home.stateVersion = "24.05";