feat: Split programs from configuration.nix to others

This commit is contained in:
uttarayan21
2025-07-15 18:35:57 +05:30
parent 90750cdef3
commit 28f3b6aba1
4 changed files with 14 additions and 12 deletions

View File

@@ -21,13 +21,6 @@
# withUWSM = true; # withUWSM = true;
xwayland.enable = true; xwayland.enable = true;
}; };
nix-ld = {
enable = true;
libraries = with pkgs; [
libglvnd
];
};
gnome-disks.enable = true;
}; };
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false; systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;

View File

@@ -1,8 +1,4 @@
{ {...}: {
pkgs,
lib,
...
}: {
imports = [ imports = [
./adb.nix ./adb.nix
./steam.nix ./steam.nix
@@ -10,5 +6,7 @@
./localsend.nix ./localsend.nix
./appimage.nix ./appimage.nix
./obs-studio.nix ./obs-studio.nix
./gnome-disks.nix
./nix-ld.nix
]; ];
} }

View File

@@ -0,0 +1,3 @@
{...}: {
programs.gnome-disks.enable = true;
}

View File

@@ -0,0 +1,8 @@
{pkgs, ...}: {
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
libglvnd
];
};
}