Compare commits

..

No commits in common. "e7fa72e2c58105269108d27669155d2c324342b1" and "a3c8b1ecabc3eb15ac1c615480fb6b25bd37889b" have entirely different histories.

7 changed files with 15 additions and 47 deletions

View file

@ -29,6 +29,4 @@
}; };
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
virtualisation.docker.enable = true;
} }

View file

@ -8,7 +8,6 @@
agenix, agenix,
home-manager, home-manager,
vencord, vencord,
hydro,
... ...
}: let }: let
username = "leo"; username = "leo";
@ -30,7 +29,7 @@ in {
../programs/fish.nix ../programs/fish.nix
../programs/git.nix ../programs/git.nix
# ../programs/starship ../programs/starship
]; ];
age = { age = {
@ -136,7 +135,7 @@ in {
nixpkgs = { nixpkgs = {
config.allowUnfree = true; config.allowUnfree = true;
flake.setNixPath = false; flake.setNixPath = false;
overlays = [(import ../exprs/overlay.nix {inherit vencord hydro;})]; overlays = [(import ../exprs/overlay.nix vencord)];
}; };
programs = { programs = {

View file

@ -1,4 +1,4 @@
inputs: final: prev: { vencord-input: final: prev: {
svn2git = prev.svn2git.overrideAttrs (_: rec { svn2git = prev.svn2git.overrideAttrs (_: rec {
version = "2.4.2"; version = "2.4.2";
@ -13,8 +13,7 @@ inputs: final: prev: {
idea-ultimate-fixed = prev.callPackage ./idea-fixed.nix {}; idea-ultimate-fixed = prev.callPackage ./idea-fixed.nix {};
vencord = prev.vencord.overrideAttrs (old: rec { vencord = prev.vencord.overrideAttrs (old: rec {
version = "${old.version}+git.${inputs.vencord.shortRev}"; src = vencord-input;
src = inputs.vencord;
env = env =
old.env old.env
@ -39,11 +38,4 @@ inputs: final: prev: {
cp -r ${ventex} src/plugins/ventex cp -r ${ventex} src/plugins/ventex
''; '';
}); });
fishPlugins = prev.fishPlugins.overrideScope (sfinal: sprev: {
hydro = sprev.hydro.overrideAttrs (old: {
version = "0-unstable-${inputs.hydro.lastModifiedDate}";
src = inputs.hydro;
});
});
} }

17
flake.lock generated
View file

@ -202,22 +202,6 @@
"type": "github" "type": "github"
} }
}, },
"hydro": {
"flake": false,
"locked": {
"lastModified": 1730549115,
"narHash": "sha256-QYq4sU41/iKvDUczWLYRGqDQpVASF/+6brJJ8IxypjE=",
"owner": "jorgebucaran",
"repo": "hydro",
"rev": "9c93b89573bd722f766f2190a862ae55e728f6ba",
"type": "github"
},
"original": {
"owner": "jorgebucaran",
"repo": "hydro",
"type": "github"
}
},
"lanzaboote": { "lanzaboote": {
"inputs": { "inputs": {
"crane": [ "crane": [
@ -339,7 +323,6 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"ghostty": "ghostty", "ghostty": "ghostty",
"home-manager": "home-manager", "home-manager": "home-manager",
"hydro": "hydro",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"mystia": "mystia", "mystia": "mystia",
"nixinate": "nixinate", "nixinate": "nixinate",

View file

@ -127,15 +127,10 @@
inputs.flake-parts.follows = "flake-parts"; inputs.flake-parts.follows = "flake-parts";
}; };
# ==== non-nix inputs ==== # ==== vencord ====
vencord = { vencord = {
url = "github:Vendicated/Vencord"; url = "github:Vendicated/Vencord";
flake = false; flake = false;
}; };
hydro = {
url = "github:jorgebucaran/hydro";
flake = false;
};
}; };
} }

View file

@ -1,19 +1,18 @@
{pkgs, ...}: { {
pkgs,
lib,
...
}: {
programs.fish.enable = true; programs.fish.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [nix-your-shell];
fishPlugins.hydro
];
hm.programs.fish = { hm.programs.fish = {
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
set --global hydro_symbol_git_dirty "*" ${lib.getExe pkgs.starship} init fish | source
set --global hydro_color_pwd blue ${lib.getExe pkgs.nix-your-shell} fish | source
set --global hydro_color_git magenta
set --global hydro_color_prompt green
set --global hydro_color_duration yellow
''; '';
functions.fish_greeting = ""; functions.fish_greeting = "";

View file

@ -27,4 +27,6 @@ in {
dnssec = lib.mkForce "allow-downgrade"; dnssec = lib.mkForce "allow-downgrade";
dnsovertls = lib.mkForce "false"; dnsovertls = lib.mkForce "false";
}; };
virtualisation.docker.enable = true;
} }