parent
80f09cb54b
commit
36897e6ae4
5 changed files with 9 additions and 13 deletions
|
@ -12,7 +12,6 @@
|
|||
# Enable sound.
|
||||
nixpkgs.config.pulseaudio = true;
|
||||
|
||||
|
||||
services.pulseaudio.enable = false;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
|
11
flake.nix
11
flake.nix
|
@ -63,6 +63,7 @@
|
|||
"ochsenchopf"
|
||||
];
|
||||
in
|
||||
with pkgsUnstable.lib;
|
||||
{
|
||||
# Build with `nixos-rebuild --flake .#<hostname>` or
|
||||
# `nix build .#nixosConfigurations.<hostname>.config.system.build.toplevel
|
||||
|
@ -100,19 +101,13 @@
|
|||
] ++ (if host == "bachtel" then [ ] else [ home-manager-config ]);
|
||||
};
|
||||
in
|
||||
pkgsUnstable.lib.genAttrs hosts mapHostnameToAttr;
|
||||
genAttrs hosts mapHostnameToAttr;
|
||||
|
||||
# Nix development shell
|
||||
devShells.${system}.default = import ./shell.nix { pkgs = pkgsUnstable; };
|
||||
|
||||
# Run checks and build all hosts as default package
|
||||
packages.${system}.default =
|
||||
with pkgsUnstable.lib;
|
||||
let
|
||||
checks = attrValues self.checks.${system};
|
||||
nixosConfigs = mapAttrsToList (n: v: v.config.system.build.toplevel) self.nixosConfigurations;
|
||||
in
|
||||
pkgsUnstable.linkFarmFromDrvs "allHosts" (checks ++ nixosConfigs);
|
||||
pkgsUnstable.linkFarmFromDrvs "all" nixosConfigs;
|
||||
|
||||
formatter.${system} = pkgsUnstable.nixfmt-rfc-style;
|
||||
};
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
"personal-cipher-preferences" = "AES256 AES192 AES CAST5";
|
||||
"cert-digest-algo" = "SHA512";
|
||||
"personal-digest-preferences" = "SHA512 SHA384 SHA256 SHA224";
|
||||
"default-preference-list" = "SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
|
||||
"default-preference-list" =
|
||||
"SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
|
||||
"display-charset" = "utf-8";
|
||||
"fixed-list-mode" = true;
|
||||
"with-fingerprint" = true;
|
||||
|
@ -42,7 +43,7 @@
|
|||
enableScDaemon = true;
|
||||
enableSshSupport = true;
|
||||
enableExtraSocket = true;
|
||||
# TODO: pinentryPackage =
|
||||
# TODO: pinentryPackage =
|
||||
extraConfig =
|
||||
let
|
||||
pinentryBemenu = pkgs.writeShellApplication {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
settings = [
|
||||
{
|
||||
position = "top";
|
||||
#height =
|
||||
#height =
|
||||
modules-left = [
|
||||
"sway/mode"
|
||||
"sway/workspaces"
|
||||
|
|
|
@ -57,7 +57,8 @@
|
|||
libdvbpsi # librtmp
|
||||
xvidcore
|
||||
x264
|
||||
] ++ (with gst_all_1; [
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
gstreamer
|
||||
gst-vaapi
|
||||
gst-rtsp-server
|
||||
|
|
Loading…
Add table
Reference in a new issue