home-manager: make the hm modules match the nixos ones
This commit is contained in:
parent
4fc501b1e2
commit
32a5ebf118
16 changed files with 256 additions and 98 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{ ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
services.amberol.enable = true;
|
||||
options.settings.programs.amberol = {
|
||||
enable = lib.mkEnableOption "enable amberol music player";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.amberol.enable {
|
||||
services.amberol.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
#todo config
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
#todo make sure this on only if gnome is setup correctly
|
||||
nativeMessagingHosts = [ pkgs.gnome-browser-connector ];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.settings.programs.firefox = {
|
||||
enable = lib.mkEnableOption "enable firefox";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.firefox.enable {
|
||||
#todo config
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
#todo make sure this on only if gnome is setup correctly
|
||||
nativeMessagingHosts = [ pkgs.gnome-browser-connector ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
#The VSCoderrrrrrrr
|
||||
#codepilled nixmaxxer
|
||||
#god I love tumblr
|
||||
#tumblrpilled mememaxxer
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
enableUpdateCheck = false;
|
||||
enableExtensionUpdateCheck = false;
|
||||
mutableExtensionsDir = false;
|
||||
options.settings.programs.vscodium = {
|
||||
enable = lib.mkEnableOption "enable vscode for development";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.vscodium.enable {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
enableUpdateCheck = false;
|
||||
enableExtensionUpdateCheck = false;
|
||||
mutableExtensionsDir = false;
|
||||
|
||||
extensions =
|
||||
with pkgs.vscode-extensions;
|
||||
|
|
@ -32,6 +42,7 @@
|
|||
bierner.markdown-preview-github-styles
|
||||
]);
|
||||
|
||||
userSettings = builtins.fromJSON (builtins.readFile ./settings.json);
|
||||
userSettings = builtins.fromJSON (builtins.readFile ./settings.json);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
{ ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
#enableZshIntegration = true;
|
||||
extraConfig = builtins.replaceStrings [ "-- nix-replace" ] [ "" ] (builtins.readFile ./wezterm.lua);
|
||||
options.settings.programs.wezterm = {
|
||||
enable = lib.mkEnableOption "enable wezterm terminal emulator";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.wezterm.enable {
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
#enableZshIntegration = true;
|
||||
extraConfig = builtins.replaceStrings [ "-- nix-replace" ] [ "" ] (builtins.readFile ./wezterm.lua);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue