Compare commits

...

4 commits

Author SHA1 Message Date
4068f391f2
Remove podman from global default 2024-06-02 11:11:40 +02:00
4d3850020b
Disable ipv4-only git 2024-06-02 11:11:21 +02:00
89e314d3bb
eustachius: user experiments 2024-06-02 11:11:03 +02:00
910cb992f8
Add riscv64 emulation 2024-06-02 11:10:44 +02:00
4 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{pkgs, ...}: {
#Prefer IPv4 for ssh
home.file.".ssh/config".text = "AddressFamily inet";
# home.file.".ssh/config".text = "AddressFamily inet";
programs.git = {
enable = true;

View file

@ -75,6 +75,7 @@
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"riscv64-linux"
];
programs = {

View file

@ -12,7 +12,6 @@
./fish.nix
./locale.nix
./nix.nix
./podman.nix
./power-button.nix
./documentation.nix
]

View file

@ -5,6 +5,7 @@
}: let
vars = import ../../vars.nix;
in {
imports = [../common/global/locale.nix];
# NixOS wants to enable GRUB by default
boot.loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
@ -90,7 +91,7 @@ in {
# put your own configuration here, for example ssh keys:
users.mutableUsers = true;
users.users.${vars.user} = {
users.users.nixos = {
isNormalUser = true;
password = "changeme";
extraGroups = ["wheel" "docker"];
@ -105,5 +106,12 @@ in {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIINCjLoirHMos7c9lRatWtSYAk68xbUGc8vPU0wFxIzj openpgp:0x7430326E"
];
};
users.users.admin = {
isNormalUser = true;
extraGroups = ["wheel"]; # Enable sudo for the user.
hashedPassword = "blablabla"; # generate with `mkpasswd`
};
nix.settings.trusted-users = ["admin" "ghoscht" "nixos"];
system.stateVersion = "23.11";
}