Codroipo (again)

This commit is contained in:
Andrea Ciceri 2023-01-05 11:35:48 +01:00
parent b9980587cf
commit e90d83f78f
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
11 changed files with 66 additions and 10 deletions

View file

@ -53,3 +53,4 @@
(package! dirvish)
(package! git-auto-commit-mode)
(package! polymode)
(package! atomic-chrome)

16
flake.lock generated
View file

@ -590,6 +590,21 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1672393622,
"narHash": "sha256-sa12NfBKaXs4o65/p9S/PB4GygzrBVIpWib+VYKfpTw=",
"owner": "nix-community",
"repo": "NUR",
"rev": "1b7d2861b3939da8ef61ea4cd57b12456d32bfd1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"ob-racket": {
"flake": false,
"locked": {
@ -737,6 +752,7 @@
"nixosHardware": "nixosHardware",
"nixpkgsStable": "nixpkgsStable",
"nixpkgsUnstable": "nixpkgsUnstable",
"nur": "nur",
"preCommitHooks": "preCommitHooks",
"rock5b": "rock5b"
}

View file

@ -9,6 +9,7 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgsUnstable";
};
nur.url = "github:nix-community/NUR";
preCommitHooks.url = "github:cachix/pre-commit-hooks.nix";
agenix.url = "github:ryantm/agenix";
doomEmacs.url = "github:nix-community/nix-doom-emacs";

View file

@ -1,11 +1,32 @@
{pkgs, ...}: {
programs.firefox = {
enable = true;
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
package =
(pkgs.wrapFirefox pkgs.firefox-unwrapped {
extraPolicies = {
ExtensionSettings = {};
};
})
.override {
cfg = {
enableTridactylNative = true;
enableBrowserpass = true;
enableFXCastBridge = true;
};
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
https-everywhere
privacy-badger
ublock-origin
tridactyl
octotree
octolinker
org-capture
browserpass
bypass-paywalls-clean
ghosttext # or edit-with-emacs?
# fx_cast # TODO make PR to rycee NUR repo
];
profiles.ccr = {
settings = {
"browser.startup.homepage" = "https://google.it";

View file

@ -41,7 +41,7 @@
modifier = modifier;
menu = "${pkgs.fuzzel}/bin/fuzzel --background-color=253559cc --border-radius=5 --border-width=0";
output = let
bg = "${./wallpaper.png} fill";
bg = "${./wallpaper.svg} fill";
in {
DP-1 = {
pos = "0 0";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 303 KiB

View file

@ -1,4 +1,15 @@
{
xdg.enable = true;
xdg.mimeApps.enable = true;
xdg = {
enable = true;
mimeApps.enable = true;
desktopEntries = {
org-protocol = {
name = "org-protocol";
genericName = "Org protocol";
exec = "emacsclient -- %u";
terminal = false;
mimeType = ["x-scheme-handler/org-protocol"];
};
};
};
}

View file

@ -157,8 +157,8 @@
# services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# networking.firewall.allowedTCPPorts = [ 5000];
# networking.firewall.allowedUDPPorts = [ 5000 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;

View file

@ -6,4 +6,7 @@
}: {
virtualisation.docker.enable = true;
users.users.ccr.extraGroups = ["docker"];
environment.systemPackages = with pkgs; [
docker-compose
];
}

View file

@ -5,6 +5,7 @@
homeManager,
nixosHardware,
nixpkgsUnstable,
nur,
preCommitHooks,
rock5b,
self,
@ -42,7 +43,7 @@
value.file = ./.. + "/${name}";
}) (import ../secrets);
};
nixpkgs.overlays = [agenix.overlay comma.overlays.default];
nixpkgs.overlays = [agenix.overlay comma.overlays.default nur.overlay];
}
(../hosts + "/${name}")
homeManager.nixosModule