Merge pull request 'Upgrade nixpkgs, home-manager and stateVersion to 23.05' (#1) from upgrade-to-23.05 into main

Reviewed-on: http://everest.local:3000/Toast/nix-stuff/pulls/1
This commit is contained in:
Toast 2023-06-15 14:07:53 +02:00
commit f77fdb73d9
5 changed files with 13 additions and 9 deletions

View file

@ -2,7 +2,7 @@
description = "Configuration for Everest";
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11";
nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
agenix = {
@ -13,7 +13,7 @@ agenix = {
};
};
home-manager.url = "github:nix-community/home-manager/release-22.11";
home-manager.url = "github:nix-community/home-manager/release-23.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-impermanence.url = "github:nix-community/impermanence";

View file

@ -76,7 +76,7 @@
useGlobalPkgs = true;
users.toast = { config, ... }: {
home = {
stateVersion = "22.11";
stateVersion = "23.05";
file = {
# This symlinks the Transmission downloads folder into my user's downloads folder for easy access
"Downloads/Transmission".source = config.lib.file.mkOutOfStoreSymlink "/var/lib/transmission/Downloads";

View file

@ -47,5 +47,5 @@
};
};
system.stateVersion = "22.11";
system.stateVersion = "23.05";
}

View file

@ -5,10 +5,12 @@
services.gitea = {
enable = true;
# TODO: Make this not be hardcoded
rootUrl = "http://everest.local:3000";
settings = {
server = {
#server.SSH_PORT = 69;
service.DISABLE_REGISTRATION = lib.mkDefault true;
DISABLE_REGISTRATION = lib.mkDefault true;
ROOT_URL = "http://everest.local:3000";
};
};
};
networking.firewall = {

View file

@ -3,8 +3,10 @@
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
startWhenNeeded = true;
permitRootLogin = "no";
passwordAuthentication = false;
};
}