ma: fix 22.05 evaluation errors
This commit is contained in:
parent
7f9bf9627a
commit
cf8489f059
|
@ -12,7 +12,6 @@ with import <stockholm/lib>; #genid
|
||||||
users.users.makefu.packages = with pkgs;[
|
users.users.makefu.packages = with pkgs;[
|
||||||
gvfs pcmanfm lxmenu-data
|
gvfs pcmanfm lxmenu-data
|
||||||
];
|
];
|
||||||
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ];
|
|
||||||
|
|
||||||
## allow users in group "storage" to mount disk
|
## allow users in group "storage" to mount disk
|
||||||
# https://github.com/coldfix/udiskie/wiki/Permissions
|
# https://github.com/coldfix/udiskie/wiki/Permissions
|
||||||
|
|
|
@ -36,7 +36,7 @@ in
|
||||||
user = mainUser;
|
user = mainUser;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.gnome3.defaultIconTheme ];
|
environment.systemPackages = [ pkgs.gnome.adwaita-icon-theme ];
|
||||||
# lid switch is handled via button presses
|
# lid switch is handled via button presses
|
||||||
services.logind.lidSwitch = lib.mkDefault "ignore";
|
services.logind.lidSwitch = lib.mkDefault "ignore";
|
||||||
makefu.awesome.enable = true;
|
makefu.awesome.enable = true;
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
displayManager.defaultSession = "gnome";
|
displayManager.defaultSession = "gnome";
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
displayManager.sessionCommands = ''
|
displayManager.sessionCommands = ''
|
||||||
${pkgs.xlibs.xset}/bin/xset -display :0 s off -dpms
|
${pkgs.xorg.xset}/bin/xset -display :0 s off -dpms
|
||||||
${pkgs.xlibs.xrandr}/bin/xrandr --output HDMI2 --right-of HDMI1
|
${pkgs.xorg.xrandr}/bin/xrandr --output HDMI2 --right-of HDMI1
|
||||||
'';
|
'';
|
||||||
# xrandrHeads = [ "HDMI1" "HDMI2" ];
|
# xrandrHeads = [ "HDMI1" "HDMI2" ];
|
||||||
# prevent screen from turning off, disable dpms
|
# prevent screen from turning off, disable dpms
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
after = [ "display-manager.service" ];
|
after = [ "display-manager.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.xlibs.xset}/bin/xset -display :0 s off -dpms";
|
ExecStart = "${pkgs.xorg.xset}/bin/xset -display :0 s off -dpms";
|
||||||
RemainAfterExit = "yes";
|
RemainAfterExit = "yes";
|
||||||
TimeoutSec = "5s";
|
TimeoutSec = "5s";
|
||||||
RestartSec="5s";
|
RestartSec="5s";
|
||||||
|
|
|
@ -7,8 +7,25 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.home-assistant.config.input_boolean.felix_at_work.name = "Felix auf Arbeit";
|
services.home-assistant.config.input_boolean.felix_at_work.name = "Felix auf Arbeit";
|
||||||
|
services.home-assistant.config.script.start_office_radio.sequence =
|
||||||
|
[
|
||||||
|
{ service = "media_player.play_media";
|
||||||
|
data = {
|
||||||
|
media_content_id = "http://radio.lassul.us:8000/radio.mp3";
|
||||||
|
media_content_type = "music";
|
||||||
|
};
|
||||||
|
target.entity_id = "media_player.office";
|
||||||
|
}
|
||||||
|
];
|
||||||
services.home-assistant.config.automation =
|
services.home-assistant.config.automation =
|
||||||
[
|
[
|
||||||
|
{ service = "media_player.play_media";
|
||||||
|
data = {
|
||||||
|
media_content_id = "http://radio.lassul.us:8000/radio.mp3";
|
||||||
|
media_content_type = "music";
|
||||||
|
};
|
||||||
|
target.entity_id = "media_player.office";
|
||||||
|
}
|
||||||
{ alias = "Push Check-in Button Felix with button";
|
{ alias = "Push Check-in Button Felix with button";
|
||||||
trigger = [
|
trigger = [
|
||||||
{
|
{
|
||||||
|
@ -41,7 +58,7 @@ in
|
||||||
[
|
[
|
||||||
{ service = "media_player.play_media";
|
{ service = "media_player.play_media";
|
||||||
data = {
|
data = {
|
||||||
media_content_id = "https://radio.lassul.us/radio.mp3";
|
media_content_id = "http://radio.lassul.us:8000/radio.mp3";
|
||||||
media_content_type = "music";
|
media_content_type = "music";
|
||||||
};
|
};
|
||||||
target.entity_id = "media_player.office";
|
target.entity_id = "media_player.office";
|
||||||
|
|
|
@ -59,7 +59,7 @@ in {
|
||||||
})).override {
|
})).override {
|
||||||
extraPackages = p: [
|
extraPackages = p: [
|
||||||
(p.callPackage ./deps/dwdwfsapi.nix {})
|
(p.callPackage ./deps/dwdwfsapi.nix {})
|
||||||
(p.callPackage ./signal-rest/pkg.nix {})
|
# (p.callPackage ./signal-rest/pkg.nix {})
|
||||||
(p.callPackage ./deps/pykodi.nix {})
|
(p.callPackage ./deps/pykodi.nix {})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
hardware.pulseaudio = {
|
hardware.pulseaudio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pulseaudioFull;
|
package = pkgs.pulseaudioFull;
|
||||||
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
|
||||||
# systemWide = true;
|
# systemWide = true;
|
||||||
support32Bit = true;
|
support32Bit = true;
|
||||||
configFile = pkgs.writeText "default.pa" ''
|
configFile = pkgs.writeText "default.pa" ''
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.makefu.packages = with pkgs; [
|
users.users.makefu.packages = with pkgs; [
|
||||||
at_spi2_core
|
at-spi2-core
|
||||||
chromium
|
chromium
|
||||||
feh
|
feh
|
||||||
clipit
|
clipit
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
users.users.makefu.packages = with pkgs; [
|
users.users.makefu.packages = with pkgs; [
|
||||||
pcmanfm
|
pcmanfm
|
||||||
lxqt.lxqt-policykit
|
lxqt.lxqt-policykit
|
||||||
shared_mime_info
|
shared-mime-info
|
||||||
lxmenu-data
|
lxmenu-data
|
||||||
];
|
];
|
||||||
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ];
|
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
obs-studio
|
obs-studio
|
||||||
studio-link
|
studio-link
|
||||||
audacity
|
audacity
|
||||||
darkice
|
#darkice
|
||||||
# owncloudclient
|
# owncloudclient
|
||||||
(pkgs.writeScriptBin "prepare-pulseaudio" ''
|
(pkgs.writeScriptBin "prepare-pulseaudio" ''
|
||||||
pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming"
|
pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
, libgcrypt,zlib,glib,fontconfig,freetype,libdrm
|
, libgcrypt,zlib,glib,fontconfig,freetype,libdrm
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
, xlibs
|
, xorg
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, krb5
|
, krb5
|
||||||
, alsaLib
|
, alsaLib
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
|
||||||
buildInputs = with xlibs; [ stdenv.cc.cc.lib libglvnd libgcrypt zlib glib fontconfig freetype libdrm
|
buildInputs = with xorg; [ stdenv.cc.cc.lib libglvnd libgcrypt zlib glib fontconfig freetype libdrm
|
||||||
libxkbcommon libpulseaudio alsaLib
|
libxkbcommon libpulseaudio alsaLib
|
||||||
xcbutilwm xcbutilimage xcbutilrenderutil xcbutilkeysyms
|
xcbutilwm xcbutilimage xcbutilrenderutil xcbutilkeysyms
|
||||||
gst_all_1.gst-plugins-base gst_all_1.gstreamer krb5
|
gst_all_1.gst-plugins-base gst_all_1.gstreamer krb5
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchzip, lib
|
{ stdenv, fetchzip, lib
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
, xlibs
|
, xorg
|
||||||
, gnome3
|
, gnome3
|
||||||
, libpng12
|
, libpng12
|
||||||
}:
|
}:
|
||||||
|
@ -15,13 +15,13 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1cnyydsmrcpfwpdiry7qybh179499wpbvlzq5rk442hq9ak416ri";
|
sha256 = "1cnyydsmrcpfwpdiry7qybh179499wpbvlzq5rk442hq9ak416ri";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with xlibs; [ libX11 libXxf86vm libSM gnome3.gtk libpng12 ];
|
buildInputs = with xorg; [ libX11 libXxf86vm libSM gnome3.gtk libpng12 ];
|
||||||
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
|
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D -m755 NS-Atmosphere $out/bin/NS-Atmosphere
|
install -D -m755 NS-Atmosphere $out/bin/NS-Atmosphere
|
||||||
wrapProgram $out/bin/NS-Atmosphere --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
wrapProgram $out/bin/NS-Atmosphere --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
||||||
--suffix XDG_DATA_DIRS : '${gnome3.defaultIconTheme}/share'
|
--suffix XDG_DATA_DIRS : '${pkgs.gnome.adwaita-icon-theme}/share'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
Loading…
Reference in a new issue