task | convert some files to modules
This commit is contained in:
parent
03921b35d7
commit
37828b6801
15 changed files with 222 additions and 109 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, inputs, ... }: {
|
||||
{ pkgs, inputs, config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.roles.gui;
|
||||
in {
|
||||
options.roles.gui = { enable = mkEnableOption "roles gui"; };
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.don = {
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
|
|
@ -160,4 +165,5 @@
|
|||
configFile = { "shikane/config.toml".source = files/shikane.toml; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue