283 lines
9.1 KiB
Nix
283 lines
9.1 KiB
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.noctalia.homeModules.default
|
|
];
|
|
myHome = {
|
|
services.nix.enable = true;
|
|
bundle.work-apps.enable = true;
|
|
bundle.myhypr.enable = false;
|
|
bundle.desktop-apps.enable = true;
|
|
bundle.shell.enable = true;
|
|
programs.creativity = {
|
|
drawing.enable = true;
|
|
printing.enable = true;
|
|
gamedev.enable = true;
|
|
sound.enable = true;
|
|
};
|
|
};
|
|
|
|
home = {
|
|
username = "xmorel";
|
|
homeDirectory = "/home/xmorel";
|
|
shell.enableFishIntegration = true;
|
|
stateVersion = "23.11";
|
|
file.".config/niri/config.kdl".source = ../../dotfiles/niri/config.kdl;
|
|
};
|
|
programs = {
|
|
git = {
|
|
settings.user = {
|
|
name = "Xavier Morel";
|
|
email = "morelx42@gmail.com";
|
|
};
|
|
};
|
|
home-manager.enable = true;
|
|
rofi.enable = true;
|
|
noctalia-shell = {
|
|
# https://docs.noctalia.dev/getting-started/nixos/#config-ref
|
|
enable = true;
|
|
settings = {
|
|
settingsVersion = 0;
|
|
bar = {
|
|
widgets.left = [
|
|
{ id = "ControlCenter"; }
|
|
{ id = "Launcher"; }
|
|
{ id = "SystemMonitor"; }
|
|
{ id = "MediaMini"; }
|
|
];
|
|
widgets.center = [
|
|
{ id = "Workspace"; }
|
|
{ id = "ActiveWindow"; }
|
|
];
|
|
widgets.right = [
|
|
{ id = "Tray"; }
|
|
{ id = "NotificationHistory"; }
|
|
{ id = "Battery"; }
|
|
{ id = "Volume"; }
|
|
{ id = "Brightness"; }
|
|
{ id = "Clock"; }
|
|
];
|
|
};
|
|
location = {
|
|
name = "Plélan-le-Grand";
|
|
};
|
|
};
|
|
};
|
|
quickshell.enable = true;
|
|
alacritty.enable = true;
|
|
kitty.enable = true;
|
|
|
|
firefox = {
|
|
enable = true;
|
|
# package = pkgs.librewolf;
|
|
policies = {
|
|
DisableTelemetry = true;
|
|
DisableFirefoxStudies = true;
|
|
DisableFormHistory = true;
|
|
DontCheckDefaultBrowser = true;
|
|
Preferences = {
|
|
"browser.urlbar.suggest.*" = false;
|
|
"cookiebanners.service.mode.privateBrowsing" = 2; # Block cookie banners in private browsing
|
|
"cookiebanners.service.mode" = 2; # Block cookie banners
|
|
"privacy.clearOnShutdown_v2.browsingHistoryAndDownloads" = true;
|
|
# "privacy.clearOnShutdown_v2.formdata" = true;
|
|
"privacy.donottrackheader.enabled" = true;
|
|
"privacy.fingerprintingProtection" = true;
|
|
"privacy.resistFingerprinting" = true;
|
|
"privacy.trackingprotection.emailtracking.enabled" = true;
|
|
"privacy.trackingprotection.enabled" = true;
|
|
"privacy.trackingprotection.fingerprinting.enabled" = true;
|
|
"privacy.trackingprotection.socialtracking.enabled" = true;
|
|
};
|
|
ExtensionSettings =
|
|
let
|
|
moz = short: "https://addons.mozilla.org/firefox/downloads/latest/${short}/latest.xpi";
|
|
in
|
|
{
|
|
"*".installation_mode = "blocked";
|
|
"jid1-ZAdIEUB7XOzOJw@jetpack" = {
|
|
install_url = moz "duckduckgo-for-firefox";
|
|
installation_mode = "force_installed";
|
|
};
|
|
"uBlock0@raymondhill.net" = {
|
|
install_url = moz "ublock-origin";
|
|
installation_mode = "force_installed";
|
|
};
|
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/4633659/bitwarden_password_manager-latest.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
"CanvasBlocker@kkapsner.de" = {
|
|
install_url = moz "canvasblocker";
|
|
installation_mode = "force_installed";
|
|
};
|
|
"tridactyl.vim@cmcaine.co.uk" = {
|
|
install_url = moz "tridactyl-vim"; # https://addons.mozilla.org/firefox/downloads/file/4549492/tridactyl_vim-1.24.4.xpi";
|
|
installation_mode = "force_installed";
|
|
};
|
|
};
|
|
};
|
|
profiles.default = {
|
|
bookmarks = {
|
|
force = true;
|
|
settings = [
|
|
{
|
|
name = "work";
|
|
toolbar = true;
|
|
bookmarks = [
|
|
{
|
|
name = "Outlook";
|
|
url = "https://outlook.office.com/mail/";
|
|
}
|
|
{
|
|
name = "GitHub";
|
|
url = "https://github.com/";
|
|
}
|
|
{
|
|
name = "Payfit";
|
|
url = "https://app.payfit.com/";
|
|
}
|
|
{
|
|
name = "Bul-Board";
|
|
url = "https://www.notion.so/sencrop/Bul-Board-118d42607ea7806cb61ad48801e7e9c6";
|
|
}
|
|
{
|
|
name = "AWS";
|
|
url = "https://eu-central-1.console.aws.amazon.com/console/home?nc2=h_ct®ion=eu-central-1&src=header-signin#";
|
|
}
|
|
{
|
|
name = "Warpstream";
|
|
url = "https://console.warpstream.com/workspaces/wi_bb18a447_c54b_4af2_b008_8e536dfb5933/virtual_clusters";
|
|
}
|
|
{
|
|
name = "Datadog";
|
|
url = "https://app.datadoghq.eu/dash/integration/1691/warpstream-overview?fromUser=false&refresh_mode=sliding&tpl_var_env%5B0%5D=production&tpl_var_service%5B0%5D=warpstream-agent&from_ts=1753946297850&to_ts=1753949897850&live=true";
|
|
}
|
|
{
|
|
name = "Databricks";
|
|
url = "https://accounts.cloud.databricks.com/select-workspace?auto_login=true&account_id=67b69d0f-8dfc-4c26-8259-dadc9a107f5e";
|
|
}
|
|
{
|
|
name = "Sigfox";
|
|
url = "https://backend.sigfox.com/";
|
|
}
|
|
{
|
|
name = "Sencrop back";
|
|
url = "https://backoffice.sencrop.com/Device";
|
|
}
|
|
{
|
|
name = "Sencrop app";
|
|
url = "https://app.sencrop.com/home";
|
|
}
|
|
];
|
|
}
|
|
"separator"
|
|
{
|
|
name = "perso";
|
|
bookmarks = [
|
|
{
|
|
name = "TouteMonAnnée";
|
|
url = "https://www.toutemonannee.com/journal/e0c0683f-221f-488e-b31c-a2a8e8db8752";
|
|
}
|
|
{
|
|
name = "Holiday Calendar 2025";
|
|
url = "https://gw2efficiency.com/holiday-calendar";
|
|
}
|
|
{
|
|
name = "Calendrier de l'avent";
|
|
url = "https://calendrier.gw2.fr/";
|
|
}
|
|
{
|
|
name = "Deezer";
|
|
url = "https://deezer.com/";
|
|
}
|
|
{
|
|
name = "Mail";
|
|
url = "https://mail.proton.me/";
|
|
}
|
|
{
|
|
name = "Element (Pookie)";
|
|
url = "https://element.pookie.noho.st/element/";
|
|
}
|
|
{
|
|
name = "Portail Famille";
|
|
url = "portail.berger-levrault.fr/MairieDePlelanLeGrand35380/accueil";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
|
|
search = {
|
|
force = true;
|
|
default = "ddg";
|
|
privateDefault = "ddg";
|
|
engines = {
|
|
"Nix Packages" = {
|
|
urls = [
|
|
{
|
|
template = "https://search.nixos.org/packages";
|
|
params = [
|
|
{
|
|
name = "channel";
|
|
value = "unstable";
|
|
}
|
|
{
|
|
name = "query";
|
|
value = "{searchTerms}";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
definedAliases = [ "@np" ];
|
|
};
|
|
|
|
"Nix Options" = {
|
|
urls = [
|
|
{
|
|
template = "https://search.nixos.org/options";
|
|
params = [
|
|
{
|
|
name = "channel";
|
|
value = "unstable";
|
|
}
|
|
{
|
|
name = "query";
|
|
value = "{searchTerms}";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
definedAliases = [ "@no" ];
|
|
};
|
|
|
|
"NixOS Wiki" = {
|
|
urls = [
|
|
{
|
|
template = "https://wiki.nixos.org/w/index.php";
|
|
params = [
|
|
{
|
|
name = "search";
|
|
value = "{searchTerms}";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
definedAliases = [ "@nw" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
stylix.targets.firefox.profileNames = [ "default" ];
|
|
stylix.targets.zen-browser.profileNames = [ "default" ];
|
|
}
|