Skip to content

Instantly share code, notes, and snippets.

View coreyoconnor's full-sized avatar

Corey O'Connor coreyoconnor

View GitHub Profile
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11916 coconnor 39 19 0.251t 281912 20072 S 0.0 0.4 1:52.78 baloo_file
254861 coconnor 20 0 0.251t 15820 8488 S 0.0 0.0 0:05.15 baloorunner
with (import <nixpkgs> {});
with lib;
let
forceRebuild = "1";
dummy = index: stdenv.mkDerivation {
name = "dummy-${forceRebuild}-${toString index}";
builder = writeScript "sleeping-builder" ''
#!/bin/sh
echo "dummy ${toString index} is building" > $out
${coreutils}/bin/sleep 10
machine# [ 65.439496] xsession[844]: kf5.kservice.services: The desktop entry file "/run/current-system/sw/share/applications/org.kde.systemmonitor.desktop" has Type= "Application" but no Exec line
machine# [ 65.450639] xsession[844]: kf5.kservice.sycoca: Invalid Service : "/run/current-system/sw/share/applications/org.kde.systemmonitor.desktop"
{config, pkgs, lib, ...}:
with lib;
{
systemd.services.update-freemyip =
{
description = "Updates FreeMyIP";
path = [ pkgs.curl ];
serviceConfig =
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
index 8dbf0e774e4..d005767a045 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
@@ -56,23 +56,22 @@ in
unpackPhase = "dpkg-deb -x $src .";
installPhase = ''
mkdir -p $out
- cp -R opt $out
+ mkdir -p $out/libexec
diff --git a/pkgs/desktops/plasma-5/systemsettings.nix b/pkgs/desktops/plasma-5/systemsettings.nix
index a6199d9fbef..ee858cb70cc 100644
--- a/pkgs/desktops/plasma-5/systemsettings.nix
+++ b/pkgs/desktops/plasma-5/systemsettings.nix
@@ -1,6 +1,6 @@
{
mkDerivation, extra-cmake-modules, kdoctools,
- kcmutils, kconfig, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews,
+ kcmutils, kconfig, kconfigwidgets, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews,
kservice, kwindowsystem, kxmlgui, qtquickcontrols, qtquickcontrols2,

all drives are the same:

Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 190FF7CA-DCA8-4D1E-8761-74BB4FEFD7B4
[coconnor@grr:~]$ sudo mdadm --misc --detail /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Sun Apr 10 13:19:04 2016
Raid Level : raid1
Array Size : 1047552 (1023.00 MiB 1072.69 MB)
Used Dev Size : 1047552 (1023.00 MiB 1072.69 MB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
{
"kind": "metapackage",
"abstract": "A list of modules installed on the default KSP instance",
"name": "installed-default",
"license": "unknown",
"version": "2018.03.03.10.13.17",
"identifier": "installed-default",
"spec_version": "v1.6",
"recommends": [
{
#! /usr/bin/env nix-shell
#! nix-shell -i runghc -p haskellPackages.ghc
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.03.tar.gz
-- Print hello world
main = do
putStrLn "Hello World!"