Skip to content

Instantly share code, notes, and snippets.

View worldofpeace's full-sized avatar
🌑

WORLDofPEACE worldofpeace

🌑
  • they/them
View GitHub Profile
diff --git a/icons/Makefile b/icons/Makefile
index 9fa5b30..41cc1b4 100755
--- a/icons/Makefile
+++ b/icons/Makefile
@@ -7,10 +7,12 @@ sizes = 16 24 32 48 64 72 96 128 256 512 1024
theme = hicolor
category = apps
-icons = $(foreach size,$(sizes),$(size)x$(size)/$(category)/nix-snowflake.png) \
- scalable/$(category)/nix-snowflake.svg \
final: prev:
{
pantheon = prev.pantheon.overrideScope' (pfinal: pprev: {
elementary-gsettings-schemas = pfinal.callPackage ./desktop/elementary-gsettings-schemas { };
#### APPS
appcenter = pfinal.callPackage ./apps/appcenter { };
final: prev:
let
inherit (final) callPackage;
in
{
pantheon = prev.pantheon.overrideScope' (pfinal: pprev: {
switchboardPlugs = [
switchboard-plug-a11y

Releases

Release process

Going through an example of releasing NixOS 19.09:

One month before the beta

@worldofpeace
worldofpeace / gnome3.md
Last active May 3, 2020 14:10
A markdown draft of docs in the nixos manual for GNOME.

GNOME Desktop

Enabling GNOME

All of the core apps, optional apps, and games from GNOME are available.

To enable the GNOME desktop use:

services.xserver.desktopManager.gnome3.enable = true;
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 = [
{
// 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');",
@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:
with import <nixpkgs> {};
with lib;
let
getDir = (dir: mapAttrs (file: type:
if type == "directory"
then getDir "${dir}/${file}"
else type)
(builtins.readDir dir));
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;
-