mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 14:43:59 +05:30
openssh regression?
This commit is contained in:
parent
f319787c69
commit
cb5659541e
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, pkgs-stable, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
|
|
@ -127,7 +127,7 @@
|
||||||
# FIXME this thing doesn't work at all
|
# FIXME this thing doesn't work at all
|
||||||
systemd.services."phoenix-system-builder" = lib.mkIf config.systemSettings.systemBuilder.enable {
|
systemd.services."phoenix-system-builder" = lib.mkIf config.systemSettings.systemBuilder.enable {
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
openssh git nix nixos-rebuild
|
pkgs-stable.openssh git nix nixos-rebuild
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, osConfig, ... }:
|
{ config, lib, pkgs, pkgs-stable, osConfig, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.userSettings.git;
|
cfg = config.userSettings.git;
|
||||||
|
|
@ -10,7 +10,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = [ pkgs.git pkgs.openssh ];
|
home.packages = [ pkgs.git pkgs-stable.openssh ];
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
programs.git.userName = config.userSettings.name;
|
programs.git.userName = config.userSettings.name;
|
||||||
programs.git.userEmail = config.userSettings.email;
|
programs.git.userEmail = config.userSettings.email;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue