feat: Added apps folder

This commit is contained in:
uttarayan21
2025-03-20 13:35:31 +05:30
parent cecf008a24
commit d3a94c834a
8 changed files with 51 additions and 26 deletions

View File

@@ -0,0 +1,8 @@
{pkgs, ...}: {
home.packages = with pkgs; [
(bambu-studio.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
}))
];
}

9
home/apps/default.nix Normal file
View File

@@ -0,0 +1,9 @@
{pkgs, ...}: {
imports = [
./guitarix.nix
./bambu-studio.nix
./guitar.nix
];
home.packages = [
];
}

5
home/apps/guitarix.nix Normal file
View File

@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = [
pkgs.guitarix
];
}

5
home/apps/zed.nix Normal file
View File

@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = [
pkgs.zed-editor
];
}

View File

@@ -16,7 +16,7 @@
./services ./services
] ]
++ lib.optionals device.isLinux [./linux] ++ lib.optionals device.isLinux [./linux]
++ lib.optionals device.hasGui [./gui-programs]; ++ lib.optionals device.hasGui [./gui-programs ./apps];
# ++ lib.optionals.device.isDarwin [./macos]; # ++ lib.optionals.device.isDarwin [./macos];

View File

@@ -35,11 +35,6 @@
]; ];
home.packages = with pkgs; home.packages = with pkgs;
[ [
(bambu-studio.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
}))
opencv4
aria2 aria2
nb nb
(nixvim.makeNixvim (import ../../neovim)) (nixvim.makeNixvim (import ../../neovim))
@@ -84,7 +79,6 @@
qmk qmk
ttyper ttyper
yarn yarn
zed-editor
] ]
++ lib.optionals device.isLinux [ ++ lib.optionals device.isLinux [
dig dig

View File

@@ -82,7 +82,7 @@
users.users.servius = { users.users.servius = {
isNormalUser = true; isNormalUser = true;
extraGroups = ["wheel" "audio" "i2c" "media"]; extraGroups = ["wheel" "audio" "i2c" "media" "openrazer"];
openssh.authorizedKeys.keyFiles = [ openssh.authorizedKeys.keyFiles = [
../../secrets/id_ed25519.pub ../../secrets/id_ed25519.pub
../../secrets/id_ios.pub ../../secrets/id_ios.pub
@@ -165,6 +165,7 @@
# }; # };
hardware = { hardware = {
keyboard.qmk.enable = true; keyboard.qmk.enable = true;
openrazer.enable = true;
bluetooth = { bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;
@@ -256,6 +257,8 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
systemPackages = with pkgs; [ systemPackages = with pkgs; [
polychromatic
openrazer-daemon
cudatoolkit cudatoolkit
# Wine # Wine
wine-wayland wine-wayland

View File

@@ -177,24 +177,25 @@
zjstatus = inputs.zjstatus.packages.${prev.system}.default; zjstatus = inputs.zjstatus.packages.${prev.system}.default;
}; };
}; };
# libfprint = final: prev: { libfprint = final: prev: {
# libfprint = prev.libfprint.overrideAttrs (oldAttrs: { libfprint = prev.libfprint.overrideAttrs (oldAttrs: {
# version = "git"; version = "git";
# src = final.fetchFromGitHub { src = final.fetchFromGitHub {
# owner = "ericlinagora"; owner = "ericlinagora";
# repo = "libfprint-CS9711"; repo = "libfprint-CS9711";
# rev = "058851c20d1e98d7c8ba82e6bfc9da08f791593f"; rev = "03ace5b20146eb01c77fb3ea63e1909984d6d377";
# sha256 = "sha256-LCXKQmOzi/l4jQ40qkgL2gqMtmu0n30Yo6HMgUpW+uI"; sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids";
# }; };
# nativeBuildInputs = buildInputs = oldAttrs.buildInputs ++ [final.nss_latest];
# oldAttrs.nativeBuildInputs nativeBuildInputs =
# ++ [ oldAttrs.nativeBuildInputs
# final.opencv ++ [
# final.cmake final.opencv
# final.doctest final.cmake
# ]; final.doctest
# }); ];
# }; });
};
csshacks = final: prev: { csshacks = final: prev: {
csshacks = inputs.csshacks; csshacks = inputs.csshacks;
}; };