Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 158f5a744e | |||
| e4a5dd8061 | |||
| e109b48cf6 | |||
| b5549d2629 |
@@ -35,11 +35,15 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
hostName = "january";
|
||||
in
|
||||
{
|
||||
nixosConfigurations."nixos" = inputs.nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.${hostName} = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
inherit pkgs;
|
||||
specialArgs = {
|
||||
inherit hostName;
|
||||
};
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
git
|
||||
ghidra-bin
|
||||
grim
|
||||
jugglinglab
|
||||
kdePackages.kdenlive
|
||||
kicad
|
||||
killall
|
||||
|
||||
@@ -58,6 +58,13 @@ let
|
||||
userChromeText = replaceWithStylixColours "${catppuccinUserChrome}/themes/Mocha/Mauve/userChrome.css";
|
||||
userContentText = replaceWithStylixColours "${catppuccinUserChrome}/themes/Mocha/Mauve/userContent.css";
|
||||
|
||||
installExtension = name: {
|
||||
inherit name;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/${name}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
home.file.".zen/default/chrome/userChrome.css".text = userChromeText;
|
||||
@@ -81,49 +88,29 @@ in
|
||||
OverridePostUpdatePage = "";
|
||||
DontCheckDefaultBrowser = true;
|
||||
DisplayBookmarksToolbar = "never";
|
||||
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
||||
SearchBar = "unified"; # alternative: "separate"
|
||||
ExtensionSettings = {
|
||||
DisplayMenuBar = "default-off";
|
||||
SearchBar = "unified";
|
||||
ExtensionSettings = builtins.listToAttrs (
|
||||
builtins.map (name: installExtension name) [
|
||||
# uBlock Origin:
|
||||
"uBlock0@raymondhill.net" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
"uBlock0@raymondhill.net"
|
||||
|
||||
"sponsorBlocker@ajay.app" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorBlocker@ajay.app/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
|
||||
# "languagetool-webextension@languagetool.org" = {
|
||||
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/languagetool-webextension@languagetool.org/latest.xpi";
|
||||
# installation_mode = "force_installed";
|
||||
# };
|
||||
# SponsorBlocker
|
||||
"sponsorBlocker@ajay.app"
|
||||
|
||||
# Return dislikes to YouTube
|
||||
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/{762f9885-5a13-4abd-9c77-433dcd38b8fd}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}"
|
||||
|
||||
# Catppuccin Mocha Mauve
|
||||
"{76aabc99-c1a8-4c1e-832b-d4f2941d5a7a}" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-mocha-mauve-git/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
|
||||
# Vimium C
|
||||
# "vimium-c@gdh1995.cn" = {
|
||||
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/vimium-c@gdh1995.cn/latest.xpi";
|
||||
# installation_mode = "force_installed";
|
||||
# };
|
||||
"{76aabc99-c1a8-4c1e-832b-d4f2941d5a7a}"
|
||||
|
||||
# Dark Reader
|
||||
"addon@darkreader.org" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/addon@darkreader.org/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
"addon@darkreader.org"
|
||||
|
||||
# BitWarden
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
profiles.default = {
|
||||
|
||||
+14
-5
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, hostName, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
@@ -9,7 +9,7 @@
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
networking.hostName = "nixos";
|
||||
networking.hostName = "${hostName}";
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
@@ -45,6 +45,14 @@
|
||||
|
||||
services.printing.enable = true;
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
@@ -76,16 +84,17 @@
|
||||
programs.dconf.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pavucontrol
|
||||
wget
|
||||
cloudflared
|
||||
gparted
|
||||
networkmanagerapplet
|
||||
nh
|
||||
gparted
|
||||
pavucontrol
|
||||
(pkgs.catppuccin-sddm.override {
|
||||
flavor = "mocha";
|
||||
font = "CaskaydiaCove Nerd Font";
|
||||
fontSize = "12";
|
||||
})
|
||||
wget
|
||||
];
|
||||
|
||||
fonts = {
|
||||
|
||||
Reference in New Issue
Block a user