home(gyroflow): add package and module
This commit is contained in:
parent
be218acda0
commit
42998400b1
4 changed files with 310 additions and 0 deletions
19
home/gyroflow/nixos.nix
Normal file
19
home/gyroflow/nixos.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.home.gyroflow;
|
||||
in {
|
||||
options.home.gyroflow = {
|
||||
enable = mkEnableOption "gyroflow stabilisation software";
|
||||
};
|
||||
|
||||
config = {
|
||||
users.homeModules = [
|
||||
# this module passes gyroflow configuration to home-manager
|
||||
{ passthrough.gyroflow = cfg; }
|
||||
];
|
||||
|
||||
users.home.persist.directories = [ ".config/Gyroflow" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue