Refactor codebase to use nix modules
This commit is contained in:
parent
a4735423b4
commit
ffada2703c
114 changed files with 1018 additions and 744 deletions
13
hmModules/apps/gimp/default.nix
Normal file
13
hmModules/apps/gimp/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.gimp = {
|
||||
enable = lib.mkEnableOption "Enables gimp";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.gimp.enable {
|
||||
home.packages = with pkgs; [
|
||||
gimp
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue