It builds!! thanks fedi

Main
Johannes Hendrik Gerard van der Weide 2024-02-21 15:21:46 +01:00
parent e214e511cd
commit e53495243c
10 changed files with 112 additions and 7 deletions

View File

@ -52,6 +52,9 @@
users = { users = {
hertog = import hertog/home.nix; hertog = import hertog/home.nix;
}; };
extraSpecialArgs = {
inherit inputs;
};
}; };
} }
]; ];

View File

@ -1,7 +1,7 @@
{ pkgs, inputs, nix-colors, ... }: { pkgs, inputs, nix-colors, ... }:
{ {
programs.home-manage.enable = true; programs.home-manager.enable = true;
imports = [ imports = [
inputs.nix-colors.homeManagerModules.default inputs.nix-colors.homeManagerModules.default

View File

@ -0,0 +1,53 @@
{ blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, gobject-introspection
, lib
, libadwaita
, meson
, ninja
, python3
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hyperplane";
owner = "kra-mo";
version = "0.1.0";
src = fetchFromGitHub {
owner = "${finalAttrs.owner}";
repo = "${finalAttrs.pname}";
rev = "v${finalAttrs.version}-beta";
hash = "sha256-ShpB6Etew1+naLyxHGhHCcyD95QlurWQ+S9/zbMXYrw=";
};
buildInputs = [
libadwaita
(python3.withPackages (p: with p; [
pillow
pygobject3
pyyaml
requests
]))
];
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
wrapGAppsHook4
];
meta = with lib; {
inherit (src.meta) homepage;
description = "A non-hierachical file manager";
platforms = platforms.linux;
maintainers = with maintainers; [ hertog ];
license = licenses.gpl3;
changelog = "https://github.com/${finalAttrs.owner}/${finalAttrs.pname}/releases/tag/${finalAttrs.version}";
};
})

View File

@ -0,0 +1,48 @@
{ blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, lib
, libadwaita
, meson
, ninja
, python3
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
owner = "Nokse22";
pname = "mini-text";
version = "0.2.0";
src = fetchFromGitHub {
owner = "${finalAttrs.owner}";
repo = "${finalAttrs.pname}";
rev = "v${finalAttrs.version}";
hash = "sha256-hcZLI4aGopE1U3a7iFp+OB4JohfaSWnpAqEgeTCKFog=";
};
buildInputs = [
libadwaita
(python3.withPackages (p: with p; [
pygobject3
]))
];
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
meson
ninja
wrapGAppsHook4
];
meta = with lib; {
inherit (src.meta) homepage;
description = "An extremely simple Gtk4/Libadwaita app that shows a text view to copy/paste and edit text";
platforms = platforms.linux;
maintainers = with maintainers; [ hertog ];
license = licenses.gpl3;
changelog = "https://github.com/${finalAttrs.owner}/${finalAttrs.pname}/releases/tag/${finalAttrs.version}";
};
})

View File

@ -1,4 +1,4 @@
{ pkgs, config }: { pkgs, config, ... }:
let let
modifierKey = config.wayland.windowManager.sway.config.modifier; modifierKey = config.wayland.windowManager.sway.config.modifier;
in in

View File

@ -1,4 +1,4 @@
{ config }: { config, ... }:
{ {
programs.waybar = { programs.waybar = {
enable = true; enable = true;

View File

@ -1,4 +1,4 @@
{ config }: { config, ... }:
{ {
programs.wofi = { programs.wofi = {
enable = true; enable = true;

View File

@ -1,4 +1,4 @@
{ pkgs }: { pkgs, ... }:
{ {
# Zsh config # Zsh config

View File

@ -1,7 +1,7 @@
{ pkgs, nix-flatpak, ... }: { pkgs, nix-flatpak, ... }:
let let
mini-text = pkgs.callPackage ../../Programs/MiniText { }; mini-text = pkgs.callPackage ../programs/mini-text { };
hyperplane = pkgs.callPackage ../../Programs/Hyperplane { }; hyperplane = pkgs.callPackage ../programs/hyperplane { };
in in
{ {
# Set zsh (config is still per user) # Set zsh (config is still per user)

View File

@ -39,5 +39,6 @@
enable = true; enable = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
pulseaudio.enable = false;
}; };
} }