mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
Compare commits
No commits in common. "a1a4943664eee94898bb8cd34fd00e097db3808b" and "ecce73e7273e922a4bf631824f544ea9cdc0a434" have entirely different histories.
a1a4943664
...
ecce73e727
3 changed files with 2 additions and 38 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
||||||
result
|
result/
|
||||||
|
|
16
flake.nix
16
flake.nix
|
@ -64,16 +64,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
dionysos = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = {
|
|
||||||
inherit specialArgs;
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
|
|
||||||
./hosts/dionysos/configuration.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
isos = {
|
isos = {
|
||||||
|
@ -106,12 +96,6 @@
|
||||||
inherit specialArgs;
|
inherit specialArgs;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
(
|
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
nix.registry.nixpkgs.flake = nixpkgs;
|
|
||||||
}
|
|
||||||
)
|
|
||||||
./hosts/dionysos/configuration.nix
|
./hosts/dionysos/configuration.nix
|
||||||
];
|
];
|
||||||
format = "proxmox";
|
format = "proxmox";
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
{
|
{ config, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
username = "harry123";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
weechat
|
weechat
|
||||||
|
@ -17,17 +10,4 @@ in
|
||||||
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";
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue