mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 05:19:33 +01:00
Compare commits
3 commits
ecce73e727
...
a1a4943664
Author | SHA1 | Date | |
---|---|---|---|
Harry | a1a4943664 | ||
Harry | d35814cc6a | ||
Harry | a2f761d5ef |
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
result/
|
||||
result
|
||||
|
|
16
flake.nix
16
flake.nix
|
@ -64,6 +64,16 @@
|
|||
];
|
||||
};
|
||||
|
||||
dionysos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit specialArgs;
|
||||
};
|
||||
modules = [
|
||||
|
||||
./hosts/dionysos/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
isos = {
|
||||
|
@ -96,6 +106,12 @@
|
|||
inherit specialArgs;
|
||||
};
|
||||
modules = [
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
}
|
||||
)
|
||||
./hosts/dionysos/configuration.nix
|
||||
];
|
||||
format = "proxmox";
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
username = "harry123";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
weechat
|
||||
|
@ -10,4 +17,17 @@
|
|||
enable = 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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue