Packages
This commit is contained in:
parent
2bee29889e
commit
c685350d50
|
@ -2,14 +2,9 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running 'nixos-help').
|
# and in the NixOS manual (accessible by running 'nixos-help').
|
||||||
|
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }: {
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
|
||||||
in
|
|
||||||
{
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
# <sops-nix/modules/sops>
|
# <sops-nix/modules/sops>
|
||||||
./beefcake-hardware.nix
|
./beefcake-hardware.nix
|
||||||
];
|
];
|
||||||
|
@ -40,7 +35,7 @@ in
|
||||||
# for use as a user password
|
# for use as a user password
|
||||||
# neededForUsers = true;
|
# neededForUsers = true;
|
||||||
};
|
};
|
||||||
"myservice/my_subdir/my_secret" = {};
|
"myservice/my_subdir/my_secret" = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -136,8 +131,8 @@ in
|
||||||
|
|
||||||
# search for packages: `nix search $PACKAGE_NAME`
|
# search for packages: `nix search $PACKAGE_NAME`
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
unstable.helix
|
helix
|
||||||
unstable.zellij
|
zellij
|
||||||
mosh
|
mosh
|
||||||
btrfs-progs
|
btrfs-progs
|
||||||
iperf3
|
iperf3
|
||||||
|
@ -312,7 +307,7 @@ in
|
||||||
dataDir = "/storage/postgres";
|
dataDir = "/storage/postgres";
|
||||||
enableTCPIP = true;
|
enableTCPIP = true;
|
||||||
|
|
||||||
package = unstable.postgresql_15;
|
package = pkgs.postgresql_15;
|
||||||
|
|
||||||
authentication = pkgs.lib.mkOverride 10 ''
|
authentication = pkgs.lib.mkOverride 10 ''
|
||||||
#type database DBuser auth-method
|
#type database DBuser auth-method
|
||||||
|
@ -347,7 +342,6 @@ in
|
||||||
|
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = unstable.tailscale;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
|
@ -549,4 +543,3 @@ in
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "22.05"; # Did you read the comment?
|
system.stateVersion = "22.05"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue