Compare commits
10 commits
e367d8458e
...
0c40e210f4
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c40e210f4 | |||
| 49d5c51357 | |||
| d9f2ed8f2c | |||
| 1baf17728f | |||
| a40239264c | |||
| d1d3299883 | |||
| fc6a9c9fde | |||
| 7d752d8290 | |||
| 61fd1e6546 | |||
| 8df15d275e |
5 changed files with 11 additions and 3 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
niri.url = "github:sodiboo/niri-flake";
|
niri.url = "github:sodiboo/niri-flake";
|
||||||
nixcord.url = "github:FlameFlag/nixcord";
|
nixcord.url = "github:FlameFlag/nixcord";
|
||||||
winegdk.url = "github:fmbearmf/winegdk-nix";
|
winegdk.url = "github:fmbearmf/winegdk-nix";
|
||||||
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
|
|
||||||
honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes/4a84e576bb544afbdfc76dbe40ffc50a5c2b16de";
|
honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes/4a84e576bb544afbdfc76dbe40ffc50a5c2b16de";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
{libs, ...}: {
|
{
|
||||||
|
lib,
|
||||||
|
libs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./device.nix
|
./device.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,12 @@
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.git = {
|
users.users.forgejo = {
|
||||||
group = "forgejo";
|
group = "forgejo";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
|
home = "/var/lib/forgejo";
|
||||||
|
createHome = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups = {
|
users.groups = {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
START_SSH_SERVER = false;
|
START_SSH_SERVER = false;
|
||||||
SSH_CREATE_AUTHORIZED_KEYS_FILE = true;
|
SSH_CREATE_AUTHORIZED_KEYS_FILE = true;
|
||||||
SSH_DOMAIN = "server.asakiyuki.com";
|
SSH_DOMAIN = "server.asakiyuki.com";
|
||||||
SSH_USER = "git";
|
|
||||||
ROOT_URL = "https://git.asakiyuki.com/";
|
ROOT_URL = "https://git.asakiyuki.com/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
AllowUsers = [
|
AllowUsers = [
|
||||||
"asakiyuki"
|
"asakiyuki"
|
||||||
"junko"
|
"junko"
|
||||||
|
"forgejo"
|
||||||
];
|
];
|
||||||
PasswordAuthentication = true;
|
PasswordAuthentication = true;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
|
|
|
||||||
Reference in a new issue