Skip to content

Instantly share code, notes, and snippets.

View worldofpeace's full-sized avatar
🌑

WORLDofPEACE worldofpeace

🌑
  • they/them
View GitHub Profile
@worldofpeace
worldofpeace / Gemfile
Created June 26, 2018 05:19
hastebin-client
source 'https://rubygems.org' do
gem 'haste'
end
@worldofpeace
worldofpeace / default.nix
Last active September 6, 2020 17:02
Nix Expression for FiraCode nerdfont
{ stdenv, fetchzip }:
let
pname = "FiraCode";
version = "v2.0.0";
in
stdenv.mkDerivation rec {
name = "${pname}-nerdfont-${version}";
src = fetchzip {

Evals report

Report built at 2019-10-03 03:26:58 UTC

Built for evals:


Evals report

Report built at 2019-10-06 20:44:28 UTC

Built for evals:


@worldofpeace
worldofpeace / pantheon.md
Last active June 2, 2023 17:10
NixOS Pantheon Docs

Pantheon Desktop

Pantheon is the desktop environment created for the elementary OS distribution. It is written from scratch in Vala, utilizing GNOME technologies with GTK 3 and Granite. All of Pantheon is working in NixOS and the applications should be available, aside from a few exceptions. To enable Pantheon, set

services.xserver.desktopManager.pantheon.enable = true;
diff --git a/nixos/modules/services/desktops/deepin/deepin.nix b/nixos/modules/services/desktops/deepin/deepin.nix
index a69ca8573a7..931bac58ace 100644
--- a/nixos/modules/services/desktops/deepin/deepin.nix
+++ b/nixos/modules/services/desktops/deepin/deepin.nix
@@ -30,8 +30,6 @@
config = lib.mkMerge [
(lib.mkIf config.services.deepin.core.enable {
- programs.dconf.enable = true;
-
with import <nixpkgs> {};
with lib;
let
getDir = (dir: mapAttrs (file: type:
if type == "directory"
then getDir "${dir}/${file}"
else type)
(builtins.readDir dir));
@worldofpeace
worldofpeace / Improvements-i-think-we-need-for-ailases.md
Last active July 27, 2020 02:22
Improvements I think we need for aliases

Improvements I think we need for aliases

  1. Warnings when they're used
nix-build -A adobeReader

warning: adobeReader is an alias for adobe-reader. You should migrate to using this attribute.

these derivations will be built:
{
// Place your snippets for xml here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
diff --git a/nixos/modules/security/rngd.nix b/nixos/modules/security/rngd.nix
index 5566c53897d..d89f20221dd 100644
--- a/nixos/modules/security/rngd.nix
+++ b/nixos/modules/security/rngd.nix
@@ -37,6 +37,12 @@ in
after = [ "dev-random.device" ];
+ conflicts = [ "shutdown.target" ];
+ before = [