Upgrade nixpkgs, home-manager and stateVersion to 23.05 #1

Merged
Toast merged 4 commits from upgrade-to-23.05 into main 2023-06-15 14:07:54 +02:00
5 changed files with 13 additions and 9 deletions

View file

@ -2,7 +2,7 @@
description = "Configuration for Everest"; description = "Configuration for Everest";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11"; nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
agenix = { 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"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-impermanence.url = "github:nix-community/impermanence"; nix-impermanence.url = "github:nix-community/impermanence";

View file

@ -76,7 +76,7 @@
useGlobalPkgs = true; useGlobalPkgs = true;
users.toast = { config, ... }: { users.toast = { config, ... }: {
home = { home = {
stateVersion = "22.11"; stateVersion = "23.05";
file = { file = {
# This symlinks the Transmission downloads folder into my user's downloads folder for easy access # 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"; "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 = { services.gitea = {
enable = true; enable = true;
# TODO: Make this not be hardcoded # TODO: Make this not be hardcoded
rootUrl = "http://everest.local:3000";
settings = { settings = {
#server.SSH_PORT = 69; server = {
service.DISABLE_REGISTRATION = lib.mkDefault true; #server.SSH_PORT = 69;
DISABLE_REGISTRATION = lib.mkDefault true;
ROOT_URL = "http://everest.local:3000";
};
}; };
}; };
networking.firewall = { networking.firewall = {

View file

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