mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
i don't rember what changed
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
self.packages.${pkgs.system}.custom-dontkillsteam # kill app (if not steam or tomato-c
|
||||
self.packages.${pkgs.system}.custom-killall # kill all windows except focused window
|
||||
xdg-utils
|
||||
home-manager
|
||||
];
|
||||
# enable hyprland WM
|
||||
programs.hyprland = {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{self, ...}: {
|
||||
flake.nixosModules.kdrive = {pkgs-unstable, ...}: {
|
||||
flake.nixosModules.kdrive-laptop = {pkgs-unstable, ...}: {
|
||||
environment.systemPackages = with pkgs-unstable; [
|
||||
rclone
|
||||
self.packages.${pkgs.system}.custom-checkKdrive
|
||||
self.packages.${pkgs.system}.custom-mountkdrive
|
||||
self.packages.${pkgs.system}.custom-mountkdrive-laptop
|
||||
];
|
||||
# removes rclone error
|
||||
programs.fuse = {
|
||||
@@ -46,7 +46,7 @@
|
||||
fi
|
||||
'';
|
||||
};
|
||||
packages.custom-mountkdrive = pkgs.writeShellApplication {
|
||||
packages.custom-mountkdrive-laptop = pkgs.writeShellApplication {
|
||||
name = "custom-mountkdrive";
|
||||
runtimeInputs = with pkgs; [
|
||||
rclone
|
||||
|
||||
@@ -28,12 +28,11 @@
|
||||
disk
|
||||
disk-laptop
|
||||
fonts
|
||||
games
|
||||
hardware-configuration-laptop
|
||||
hardwareUtils-laptop
|
||||
hyprland
|
||||
IO
|
||||
kdrive
|
||||
kdrive-laptop
|
||||
latex
|
||||
ly
|
||||
mullvad
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
_: {
|
||||
perSystem = {pkgs, ... }: {
|
||||
packages.patent = {lib, rustPlatform, fetchFromGitHub, ...}: rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "patent";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r14dd";
|
||||
repo = "patent";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = lib.fakeHash;
|
||||
};
|
||||
|
||||
cargoHash = lib.fakeHash;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prior-art search for code ideas across open-source registries";
|
||||
homepage = "https://github.com/r14dd/patent";
|
||||
license = with licenses; [ mit asl20 ];
|
||||
maintainers = [ ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "patent";
|
||||
};
|
||||
});
|
||||
};}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
_: {
|
||||
{self, ...}: {
|
||||
flake.nixosModules.development = {
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
@@ -31,6 +31,7 @@ _: {
|
||||
ltex-ls-plus
|
||||
pylint
|
||||
black
|
||||
self.packages.${pkgs.system}.patent
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user