Gen 415: installed the NUR and added a firefox config
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{ inputs, username, system, ... }:
|
||||
{ nur, inputs, username, system, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (import ./btop.nix) ]
|
||||
++ [ (import ./bat.nix) ]
|
||||
++ [ (import ./firefox.nix) ]
|
||||
++ [ (import ./cava.nix) ]
|
||||
++ [ (import ./fuzzel.nix) ]
|
||||
++ [ (import ./gtk.nix) ]
|
||||
|
||||
47
glasshouse-desktop/home/firefox.nix
Normal file
47
glasshouse-desktop/home/firefox.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{ nur, username, ... }:
|
||||
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles.${username} = {
|
||||
name = "${username}";
|
||||
isDefault = true;
|
||||
bookmarks = [
|
||||
{ name = "NixOS Options";
|
||||
url = "https://search.nixos.org/options";
|
||||
}
|
||||
{ name = "Home Manager Options";
|
||||
url = "https://home-manager-options.extranix.com/";
|
||||
}
|
||||
{ name = "Nixvim Docs";
|
||||
url = "https://nix-community.github.io/nixvim/";
|
||||
}
|
||||
{ name = "Rust Manual";
|
||||
url = "https://doc.rust-lang.org/book/ch01-03-hello-cargo.html";
|
||||
}
|
||||
{ name = "ChatGPT";
|
||||
url = "https://chatgpt.com/";
|
||||
}
|
||||
{ name = "DataAnnotation";
|
||||
url = "https://app.dataannotation.tech/users/sign_in";
|
||||
}
|
||||
{ name = "Nerd Fonts Cheatsheet";
|
||||
url = "https://www.nerdfonts.com/cheat-sheet";
|
||||
}
|
||||
];
|
||||
extensions = with nur.repos.rycee.firefox-addons; [
|
||||
darkreader
|
||||
adnauseam
|
||||
cookie-autodelete
|
||||
disconnect
|
||||
vimium
|
||||
firenvim
|
||||
privacy-badger
|
||||
];
|
||||
settings = {
|
||||
"extensions.autoDisableScopes" = 0;
|
||||
"browser.startup.homepage" = "https://nixos.org";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -5,7 +5,6 @@ let
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hello
|
||||
gtk3
|
||||
adwaita-icon-theme
|
||||
uhk-agent
|
||||
@@ -16,7 +15,6 @@ in
|
||||
zathura
|
||||
inkscape
|
||||
imagemagick
|
||||
firefox
|
||||
yt-dlp
|
||||
vlc
|
||||
speedtest-cli
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ inputs, nixpkgs, self, username, ... }:
|
||||
{ inputs, nixpkgs, config, username, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{ config, inputs, pkgs, username, ... }:
|
||||
|
||||
let
|
||||
nur = config.nur;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
backupFileExtension = "backup";
|
||||
extraSpecialArgs = { inherit inputs username; };
|
||||
extraSpecialArgs = { inherit inputs username nur; };
|
||||
users.${username} = {
|
||||
programs.home-manager.enable = true;
|
||||
imports = [ ./../home ];
|
||||
|
||||
Reference in New Issue
Block a user