Compare commits
No commits in common. "4068f391f2d0b0857ac624fe8087a6a76f6b9c50" and "92a980dab2b0a2061e6ab1af413ec04e7dcac875" have entirely different histories.
4068f391f2
...
92a980dab2
4 changed files with 3 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
#Prefer IPv4 for ssh
|
#Prefer IPv4 for ssh
|
||||||
# home.file.".ssh/config".text = "AddressFamily inet";
|
home.file.".ssh/config".text = "AddressFamily inet";
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -75,7 +75,6 @@
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = [
|
boot.binfmt.emulatedSystems = [
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
"riscv64-linux"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./locale.nix
|
./locale.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
./podman.nix
|
||||||
./power-button.nix
|
./power-button.nix
|
||||||
./documentation.nix
|
./documentation.nix
|
||||||
]
|
]
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
}: let
|
}: let
|
||||||
vars = import ../../vars.nix;
|
vars = import ../../vars.nix;
|
||||||
in {
|
in {
|
||||||
imports = [../common/global/locale.nix];
|
|
||||||
# NixOS wants to enable GRUB by default
|
# NixOS wants to enable GRUB by default
|
||||||
boot.loader.grub.enable = false;
|
boot.loader.grub.enable = false;
|
||||||
# Enables the generation of /boot/extlinux/extlinux.conf
|
# Enables the generation of /boot/extlinux/extlinux.conf
|
||||||
|
@ -91,7 +90,7 @@ in {
|
||||||
|
|
||||||
# put your own configuration here, for example ssh keys:
|
# put your own configuration here, for example ssh keys:
|
||||||
users.mutableUsers = true;
|
users.mutableUsers = true;
|
||||||
users.users.nixos = {
|
users.users.${vars.user} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
password = "changeme";
|
password = "changeme";
|
||||||
extraGroups = ["wheel" "docker"];
|
extraGroups = ["wheel" "docker"];
|
||||||
|
@ -106,12 +105,5 @@ in {
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIINCjLoirHMos7c9lRatWtSYAk68xbUGc8vPU0wFxIzj openpgp:0x7430326E"
|
"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";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue