Compare commits
5 commits
c028fc200d
...
f77fdb73d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f77fdb73d9 | ||
| 5416043551 | |||
| dd1c2b3cab | |||
| 31c2c681c7 | |||
| c95b071af6 |
5 changed files with 13 additions and 9 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -47,5 +47,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
#server.SSH_PORT = 69;
|
#server.SSH_PORT = 69;
|
||||||
service.DISABLE_REGISTRATION = lib.mkDefault true;
|
DISABLE_REGISTRATION = lib.mkDefault true;
|
||||||
|
ROOT_URL = "http://everest.local:3000";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue