Remove lazy-apps again

This commit is contained in:
SebastianStork 2025-06-13 16:24:25 +02:00
parent d7070b6fb5
commit e285ab3183
3 changed files with 4 additions and 128 deletions

100
flake.lock generated
View file

@ -118,22 +118,6 @@
"type": "github"
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
@ -187,28 +171,6 @@
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"lazy-apps",
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -250,27 +212,6 @@
"type": "github"
}
},
"lazy-apps": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1746906641,
"narHash": "sha256-b6few4tkqN2TWdrZTwWOjsWxA11rle7y9pcc0/ynuoE=",
"owner": "~rycee",
"repo": "lazy-apps",
"rev": "0b30a0bf524a661f9657c441d021aaa5724f12ff",
"type": "sourcehut"
},
"original": {
"owner": "~rycee",
"repo": "lazy-apps",
"type": "sourcehut"
}
},
"nextcloud-twofactor-totp": {
"flake": false,
"locked": {
@ -352,22 +293,6 @@
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1730741070,
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1749285348,
@ -384,30 +309,6 @@
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat_2",
"gitignore": "gitignore",
"nixpkgs": [
"lazy-apps",
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1733665616,
"narHash": "sha256-+XTFXYlFJBxohhMGLDpYdEnhUNdxN8dyTA8WAd+lh2A=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "d8c02f0ffef0ef39f6063731fc539d8c71eb463a",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"root": {
"inputs": {
"betterfox": "betterfox",
@ -418,7 +319,6 @@
"flake-parts": "flake-parts",
"home-manager": "home-manager",
"home-manager-unstable": "home-manager-unstable",
"lazy-apps": "lazy-apps",
"nextcloud-twofactor-totp": "nextcloud-twofactor-totp",
"nix-vscode-extensions": "nix-vscode-extensions",
"nixos-hardware": "nixos-hardware",

View file

@ -38,11 +38,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
lazy-apps = {
url = "sourcehut:~rycee/lazy-apps";
inputs.nixpkgs.follows = "nixpkgs";
};
crowdsec = {
url = "git+https://codeberg.org/kampka/nix-flake-crowdsec.git";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,23 +1,4 @@
{
inputs,
pkgs,
...
}:
let
lazyApp = pkg: inputs.lazy-apps.packages.${pkgs.system}.lazy-app.override { inherit pkg; };
lazyDesktopApp =
pkg:
inputs.lazy-apps.packages.${pkgs.system}.lazy-app.override {
inherit pkg;
desktopItem = pkgs.makeDesktopItem {
name = pkg.meta.mainProgram;
exec = "${pkg.meta.mainProgram} %U";
icon = pkg.meta.mainProgram;
desktopName = pkg.meta.mainProgram;
comment = pkg.meta.description;
};
};
in
{ pkgs, ... }:
{
home.sessionVariables.NH_FLAKE = "~/Projects/nixos-config";
@ -35,8 +16,8 @@ in
home.packages = [
pkgs.bottom
(lazyApp pkgs.fastfetch)
(lazyApp pkgs.dust)
pkgs.fastfetch
pkgs.dust
pkgs.nemo-with-extensions
pkgs.celluloid
@ -44,7 +25,7 @@ in
pkgs.obsidian
pkgs.anki
pkgs.discord
(lazyDesktopApp pkgs.brave)
pkgs.brave
pkgs.jetbrains.idea-community
pkgs.jetbrains.goland