Rename folders coherently

This commit is contained in:
Laurent Gueret
2026-01-27 15:57:56 +01:00
parent 03a8e36d4b
commit 3975dce418
25 changed files with 105 additions and 96 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
imports = [
./services/shell.nix
./services/gnome.nix
./subgroups/shell.nix
./subgroups/gnome.nix
];
}
+4 -4
View File
@@ -1,6 +1,6 @@
# Add your reusable home-manager modules to this directory, on their own file (https://nixos.wiki/wiki/Module).
# These should be stuff you would like to share with others, not your personal configurations.
{
# List your module files here
# my-module = import ./my-module.nix;
imports = [
./submodules/zed.nix
./submodules/jetbrains.nix
];
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.within.home.jetbrains;
in
{
options.within.home.jetbrains = {
enable = mkEnableOption "System dns service";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.pycharm
];
};
}
+26
View File
@@ -0,0 +1,26 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.within.home.zed;
in
{
options.within.home.zed = {
enable = mkEnableOption "System dns service";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
zed-editor
nil
nixd
];
};
}
+5 -5
View File
@@ -1,9 +1,9 @@
{
imports = [
./services/boot.nix
./services/graphics.nix
./services/networks.nix
./services/audio.nix
./services/keyboard.nix
./subgroups/boot.nix
./subgroups/graphics.nix
./subgroups/networks.nix
./subgroups/audio.nix
./subgroups/keyboard.nix
];
}
-25
View File
@@ -1,25 +0,0 @@
{ lib, config, ... }:
with lib;
let
cfg = config.within.graphics.nvidia.prime;
in
{
options.within.graphics.nvidia.prime = {
enable = mkEnableOption "System nvidia prime service";
};
config = mkIf cfg.enable {
services.xserver.videoDrivers = [
"modesetting"
"nvidia"
];
hardware.nvidia.powerManagement.finegrained = true;
hardware.nvidia.prime = {
offload.enable = true;
intelBusId = "PCI:0@0:2:0";
nvidiaBusId = "PCI:1@0:0:0";
};
};
}
-6
View File
@@ -9,12 +9,6 @@ in
};
config = mkIf cfg.enable {
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"nvidia-x11"
];
services.xserver.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];