Skip to content

Commit

Permalink
fix modules for nixos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mast3rwaf1z committed Nov 14, 2024
1 parent 6a7a4b7 commit 5a24644
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@
environment.HOMEPAGE_DB = cfg.db.name;
environment.HOMEPAGE_DB_USER = cfg.db.user;
environment.HOMEPAGE_EDITOR_ROOT = cfg.editor.root;
path = with pkgs; [(python311.withPackages (py: with py; [
matplotlib
scipy
]))];
serviceConfig = {
User = cfg.db.user;
WorkingDirectory = "${packages.${system}.default}";
Expand All @@ -142,6 +146,12 @@
users.${cfg.db.user} = {
isNormalUser = true;
group = "homepage";
packages = with pkgs; [
(python311.withPackages (py: with py; [
matplotlib
scipy
]))
];
};
groups.homepage = {};
} else {};
Expand Down

0 comments on commit 5a24644

Please sign in to comment.