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