Gnucash attempt 7

This commit is contained in:
Zonsopkomst 2024-03-20 07:14:14 -05:00
parent f916e9166d
commit e2474825df
2 changed files with 18 additions and 13 deletions

View File

@ -24,19 +24,7 @@
nix-flatpak,
#gnucashpkgs,
...
}: {
myFlake = home-manager.lib. EachUser.extend (user: {
home.packages = [
(nixpkgs.overlays = [
(self: super: {
gnucash = super.gnucash.override {
version = "5.4";
};
})
])
];
});
}: {
nixosConfigurations = {

View File

@ -1,5 +1,22 @@
{ config, pkgs, ... }:
let
# Fetch the specific version of GnuCash
gnucashVersion = "5.4";
gnucashPackage = pkgs.nixpkgs-unstable.gnucash.overrideAttrs (oldAttrs: {
version = gnucashVersion;
});
in
{
# Other configuration settings...
# Install GnuCash
programs.gnucash = {
enable = true;
package = gnucashPackage;
};
}
{
imports = [
];