Compare commits

...

3 commits

Author SHA1 Message Date
Harry a1a4943664 fixed typo 2024-10-17 10:33:14 +02:00
Harry d35814cc6a tried fixing config 2024-10-12 22:21:23 +02:00
Harry a2f761d5ef small update to proxmox image 2024-10-12 22:11:54 +02:00
3 changed files with 38 additions and 2 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
result/ result

View file

@ -64,6 +64,16 @@
]; ];
}; };
dionysos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit specialArgs;
};
modules = [
./hosts/dionysos/configuration.nix
];
};
}; };
isos = { isos = {
@ -96,6 +106,12 @@
inherit specialArgs; inherit specialArgs;
}; };
modules = [ modules = [
(
{ ... }:
{
nix.registry.nixpkgs.flake = nixpkgs;
}
)
./hosts/dionysos/configuration.nix ./hosts/dionysos/configuration.nix
]; ];
format = "proxmox"; format = "proxmox";

View file

@ -1,4 +1,11 @@
{ config, pkgs, ... }: {
config,
pkgs,
...
}:
let
username = "harry123";
in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
weechat weechat
@ -10,4 +17,17 @@
enable = true; enable = true;
clock24 = true; clock24 = true;
}; };
system.stateVersion = "24.05";
users.users.${username} = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA8sdToNavEQv7PTMJ97HIGM6UlChwGS3x9O8hFilzui harryh@ik.me"
];
};
users.users.${username}.initialHashedPassword = "$y$j9T$s4isXqWcg4N8TEPjmj0fD/$zog2cpUwstnvwDnQsFmH3br/WAeD2Uu/L7ePr00cKkA";
environment.variables.EDITOR = "nvim";
} }