1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

catullus: add libcoap

This commit is contained in:
Kierán Meinhardt
2019-06-01 22:13:58 +02:00
parent 6ebd636f94
commit b54497332b
3 changed files with 44 additions and 20 deletions

View File

@@ -8,30 +8,18 @@ let
in {
imports = [
./hardware-configuration.nix
<system/containers.nix>
./containers.nix
<configs/save-space.nix>
<configs/nixpkgs-unstable.nix>
<modules/retiolum.nix>
<modules/telegram-bot.nix>
<configs/distrobump.nix>
{
sound.enable = true;
sound.extraConfig = ''
defaults.ctl.card 1
defaults.pcm.card 1
'';
hardware.pulseaudio = {
enable = true;
systemWide = true;
package = pkgs.pulseaudioFull;
};
users.users.root.extraGroups = [ "audio" ];
}
];
nixpkgs.config.packageOverrides = pkgs: {
libcoap = pkgs.callPackage <packages/libcoap.nix> {};
};
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
@@ -48,7 +36,14 @@ in {
environment.variables.HTOPRC = toString <dot/htoprc>;
programs.tmux.enable = true;
environment.systemPackages = with pkgs; [ git vim htop wget ];
environment.systemPackages = with pkgs; [
git
vim
htop
wget
libcoap
];
users.mutableUsers = false;

View File

@@ -3,8 +3,8 @@ let
telebots-package = pkgs.fetchFromGitHub {
owner = "kmein";
repo = "telebots";
rev = "aaf9d3efe1b97234ad2c941c622ce9ee3b28a6a6";
sha256 = "0fvhgzy42khxv8j4v2flgphcr0fg6yrp9857c7zn1mic6cwwnyw5";
rev = "b4276155114ee96cd3f320e361e52952ea700db6";
sha256 = "08rp1pcisk4zzhxdlgrlhxa0sbza5qhxa70rjycg4r7fmixkkbz2";
};
proverb-bot-package = pkgs.fetchFromGitHub {
owner = "kmein";