feat: Added apps folder
This commit is contained in:
8
home/apps/bambu-studio.nix
Normal file
8
home/apps/bambu-studio.nix
Normal 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
9
home/apps/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./guitarix.nix
|
||||
./bambu-studio.nix
|
||||
./guitar.nix
|
||||
];
|
||||
home.packages = [
|
||||
];
|
||||
}
|
||||
5
home/apps/guitarix.nix
Normal file
5
home/apps/guitarix.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
home.packages = [
|
||||
pkgs.guitarix
|
||||
];
|
||||
}
|
||||
5
home/apps/zed.nix
Normal file
5
home/apps/zed.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
home.packages = [
|
||||
pkgs.zed-editor
|
||||
];
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
./services
|
||||
]
|
||||
++ lib.optionals device.isLinux [./linux]
|
||||
++ lib.optionals device.hasGui [./gui-programs];
|
||||
++ lib.optionals device.hasGui [./gui-programs ./apps];
|
||||
|
||||
# ++ lib.optionals.device.isDarwin [./macos];
|
||||
|
||||
|
||||
@@ -35,11 +35,6 @@
|
||||
];
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
(bambu-studio.overrideAttrs (oldAttrs: {
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
|
||||
buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
|
||||
}))
|
||||
opencv4
|
||||
aria2
|
||||
nb
|
||||
(nixvim.makeNixvim (import ../../neovim))
|
||||
@@ -84,7 +79,6 @@
|
||||
qmk
|
||||
ttyper
|
||||
yarn
|
||||
zed-editor
|
||||
]
|
||||
++ lib.optionals device.isLinux [
|
||||
dig
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
users.users.servius = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "audio" "i2c" "media"];
|
||||
extraGroups = ["wheel" "audio" "i2c" "media" "openrazer"];
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../secrets/id_ed25519.pub
|
||||
../../secrets/id_ios.pub
|
||||
@@ -165,6 +165,7 @@
|
||||
# };
|
||||
hardware = {
|
||||
keyboard.qmk.enable = true;
|
||||
openrazer.enable = true;
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
@@ -256,6 +257,8 @@
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
systemPackages = with pkgs; [
|
||||
polychromatic
|
||||
openrazer-daemon
|
||||
cudatoolkit
|
||||
# Wine
|
||||
wine-wayland
|
||||
|
||||
37
overlays.nix
37
overlays.nix
@@ -177,24 +177,25 @@
|
||||
zjstatus = inputs.zjstatus.packages.${prev.system}.default;
|
||||
};
|
||||
};
|
||||
# libfprint = final: prev: {
|
||||
# libfprint = prev.libfprint.overrideAttrs (oldAttrs: {
|
||||
# version = "git";
|
||||
# src = final.fetchFromGitHub {
|
||||
# owner = "ericlinagora";
|
||||
# repo = "libfprint-CS9711";
|
||||
# rev = "058851c20d1e98d7c8ba82e6bfc9da08f791593f";
|
||||
# sha256 = "sha256-LCXKQmOzi/l4jQ40qkgL2gqMtmu0n30Yo6HMgUpW+uI";
|
||||
# };
|
||||
# nativeBuildInputs =
|
||||
# oldAttrs.nativeBuildInputs
|
||||
# ++ [
|
||||
# final.opencv
|
||||
# final.cmake
|
||||
# final.doctest
|
||||
# ];
|
||||
# });
|
||||
# };
|
||||
libfprint = final: prev: {
|
||||
libfprint = prev.libfprint.overrideAttrs (oldAttrs: {
|
||||
version = "git";
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "ericlinagora";
|
||||
repo = "libfprint-CS9711";
|
||||
rev = "03ace5b20146eb01c77fb3ea63e1909984d6d377";
|
||||
sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids";
|
||||
};
|
||||
buildInputs = oldAttrs.buildInputs ++ [final.nss_latest];
|
||||
nativeBuildInputs =
|
||||
oldAttrs.nativeBuildInputs
|
||||
++ [
|
||||
final.opencv
|
||||
final.cmake
|
||||
final.doctest
|
||||
];
|
||||
});
|
||||
};
|
||||
csshacks = final: prev: {
|
||||
csshacks = inputs.csshacks;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user