Compare commits
3 Commits
154f768453
...
c755ef21b7
Author | SHA1 | Date |
---|---|---|
LUCAZEAU Alexandre | c755ef21b7 | |
LUCAZEAU Alexandre | 7cd30aba59 | |
LUCAZEAU Alexandre | 88d76a48f4 |
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
#configDir = "/home/alexandre/git/nixos-config/hosts/dell-5590/nixpkgs/";
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
# } // (import "${configDir}/bat");
|
||||
} // (import "/home/alexandre/git/nixos-config/hosts/dell-5590/home-manager/bat");
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
config = {
|
||||
decorations = "auto";
|
||||
paging = "auto";
|
||||
theme = "Nord";
|
||||
};
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
{ config, pkgs, theme, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
|
@ -60,8 +59,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
bookmarks {
|
||||
[
|
||||
bookmarks = [
|
||||
{
|
||||
name = "wikipedia";
|
||||
tags = [ "wiki" ];
|
||||
|
@ -70,7 +68,7 @@
|
|||
}
|
||||
{
|
||||
name = "kernel.org";
|
||||
url = "https://www.kernel.org";
|
||||
url ="https://v2.produhost.net/panel/16148/dashboard";
|
||||
}
|
||||
{
|
||||
name = "Nix sites";
|
||||
|
@ -87,29 +85,16 @@
|
|||
}
|
||||
];
|
||||
}
|
||||
]
|
||||
|
||||
"https://v2.produhost.net/panel/16148/dashboard"
|
||||
};
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
privacy-badger
|
||||
keepassxc-browser
|
||||
clearurls
|
||||
decentraleyes
|
||||
floccus
|
||||
languagetool
|
||||
disconnect
|
||||
];
|
||||
settings = {
|
||||
"general.smoothScroll" = true;
|
||||
};
|
||||
# extraConfig = ''
|
||||
# user_pref("full-screen-api.ignore-widgets", true);
|
||||
# user_pref("media.ffmpeg.vaapi.enabled", true);
|
||||
# user_pref("media.rdd-vpx.enabled", true);
|
||||
# '';
|
||||
|
||||
extraConfig = ''
|
||||
user_pref("full-screen-api.ignore-widgets", true);
|
||||
user_pref("media.ffmpeg.vaapi.enabled", true);
|
||||
user_pref("media.rdd-vpx.enabled", true);
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./firefox.nix
|
||||
./home_firefox.nix
|
||||
./packages.nix
|
||||
../../../modules/neovim.nix
|
||||
../../../modules/tmux.nix
|
||||
../../../modules/git.nix
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
|
|
|
@ -0,0 +1,105 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||
inherit pkgs;
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true ;
|
||||
profiles.default = {
|
||||
isDefault = true ;
|
||||
extensions = lib.mkIf config.programs.firefox.enable
|
||||
(with nur.repos.rycee.firefox-addons; [
|
||||
french-dictionary
|
||||
i-dont-care-about-cookies
|
||||
ublock-origin
|
||||
privacy-badger
|
||||
keepassxc-browser
|
||||
clearurls
|
||||
decentraleyes
|
||||
floccus
|
||||
]);
|
||||
search = {
|
||||
force = true;
|
||||
default = "Google";
|
||||
engines = {
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "type"; value = "packages"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
"NixOS Wiki" = {
|
||||
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = [ "@nw" ];
|
||||
};
|
||||
"Wikipedia (en)".metaData.alias = "@wiki";
|
||||
"Google".metaData.hidden = false;
|
||||
"Amazon.com".metaData.hidden = true;
|
||||
"Bing".metaData.hidden = true;
|
||||
"eBay".metaData.hidden = true;
|
||||
};
|
||||
};
|
||||
bookmarks = [
|
||||
{
|
||||
name = "wikipedia";
|
||||
tags = [ "wiki" ];
|
||||
keyword = "wiki";
|
||||
url = "https://en.wikipedia.org/wiki/Special:Search?search=";
|
||||
}
|
||||
{
|
||||
name = "kernel.org";
|
||||
url ="https://v2.produhost.net/panel/16148/dashboard";
|
||||
}
|
||||
];
|
||||
|
||||
settings = {
|
||||
|
||||
settings = {
|
||||
"browser.contentblocking.category" = "strict" ;
|
||||
"browser.search.region" = "CH" ;
|
||||
"browser.startup.homepage" = https://www.google.fr ;
|
||||
"dom.security.https_only_mode" = true ;
|
||||
"dom.security.https_only_mode_ever_enabled" = true ;
|
||||
"extensions.blocklist.pingCountVersion" = -1 ;
|
||||
"extensions.databaseSchema" = 35 ;
|
||||
"extensions.ui.dictionary.hidden" = false ;
|
||||
"extensions.ui.extension.hidden" = false ;
|
||||
"extensions.ui.locale.hidden" = true ;
|
||||
"extensions.ui.sitepermission.hidden" = true ;
|
||||
"extensions.webcompat.enable_shims" = true ;
|
||||
"extensions.webcompat.perform_injections" = true ;
|
||||
"extensions.webcompat.perform_ua_overrides" = true ;
|
||||
"findbar.highlightAll" = true ;
|
||||
"font.name.serif.x-western" = "FreeSerif" ;
|
||||
"font.size.variable.x-western" = 20 ;
|
||||
"media.eme.enabled" = true ;
|
||||
"pref.browser.homepage.disable_button.current_page" = false ;
|
||||
"print_printer" = "Mozilla Save to PDF" ;
|
||||
"privacy.annotate_channels.strict_list.enabled" = true ;
|
||||
"privacy.clearOnShutdown.cookies" = true ;
|
||||
"privacy.clearOnShutdown.downloads" = false ;
|
||||
"privacy.clearOnShutdown.formdata" = false ;
|
||||
"privacy.clearOnShutdown.history" = false ;
|
||||
"privacy.clearOnShutdown.offlineApps" = true ;
|
||||
"privacy.clearOnShutdown.sessions" = false ;
|
||||
"privacy.donottrackheader.enabled" = true ;
|
||||
"privacy.firstparty.isolate" = true ;
|
||||
"privacy.history.custom" = true ;
|
||||
"privacy.purge_trackers.date_in_cookie_database" = 0 ;
|
||||
"privacy.trackingprotection.emailtracking.enabled" = true ;
|
||||
"privacy.trackingprotection.enabled" = true ;
|
||||
"privacy.trackingprotection.socialtracking.enabled" = true ;
|
||||
} ;
|
||||
} ;
|
||||
} ;
|
||||
} ;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.go.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
jq
|
||||
nextcloud-client
|
||||
libreoffice
|
||||
rofi
|
||||
poppler_utils
|
||||
brightnessctl
|
||||
chromium
|
||||
gimp
|
||||
scrot
|
||||
papirus-icon-theme
|
||||
ganttproject-bin
|
||||
audio-recorder
|
||||
pandoc
|
||||
hugo
|
||||
whois
|
||||
inkscape
|
||||
feh
|
||||
ispell
|
||||
aspellDicts.fr
|
||||
nix-direnv
|
||||
keepassxc
|
||||
direnv
|
||||
texlive.combined.scheme-full
|
||||
zola
|
||||
exa
|
||||
python3
|
||||
unar # like 7z
|
||||
nmap
|
||||
libnotify
|
||||
sublime-music
|
||||
drawio
|
||||
lsd
|
||||
guake
|
||||
dig
|
||||
vlc
|
||||
pinta
|
||||
# python39Packages.grip
|
||||
linphone
|
||||
graphviz
|
||||
freecad
|
||||
];
|
||||
nixpkgs.config.permittedInsecurePackages = [ "ferdi-5.8.1" ];
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
./hardware-configuration.nix
|
||||
./services.nix
|
||||
./extra_hw.nix
|
||||
./gnome.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
|
@ -70,7 +71,7 @@
|
|||
description = "alexandre";
|
||||
extraGroups = [ "wheel" "networkmanager" "docker" "libvirtd" "scanner" "plocate" "lp" ];
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
#firefox
|
||||
gitAndTools.gitFull
|
||||
];
|
||||
};
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||
|
||||
environment.gnome.excludePackages = (with pkgs; [
|
||||
gnome-photos
|
||||
gnome-tour
|
||||
]) ++ (with pkgs.gnome; [
|
||||
cheese # webcam tool
|
||||
gnome-music
|
||||
gedit # text editor
|
||||
epiphany # web browser
|
||||
totem # video player
|
||||
tali # poker game
|
||||
iagno # go game
|
||||
hitori # sudoku game
|
||||
atomix # puzzle game
|
||||
]);
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pkgs.gnome3.gnome-tweaks
|
||||
gnomeExtensions.appindicator
|
||||
gnomeExtensions.yakuake
|
||||
gnomeExtensions.workspace-indicator-2
|
||||
gnomeExtensions.wireless-hid
|
||||
gnomeExtensions.vitals
|
||||
];
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
{ pkgs, config, ... }: {
|
||||
programs.neovim = {
|
||||
enable = true ;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
|
|
Loading…
Reference in New Issue