2024-08-22 09:50:54 +00:00
|
|
|
# vim: tabstop=2 shiftwidth=2 expandtab
|
2024-08-22 09:37:38 +00:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
|
imports = [
|
|
|
|
|
./hardware-configuration.nix
|
2024-08-22 10:23:05 +00:00
|
|
|
./sourcehut.nix
|
2024-08-22 09:37:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
];
|
|
|
|
|
|
2024-08-22 09:37:55 +00:00
|
|
|
programs.git = {
|
|
|
|
|
enable = true;
|
|
|
|
|
config = {
|
|
|
|
|
user = {
|
|
|
|
|
email = "khais.colin@gmail.com";
|
|
|
|
|
name = "Khaïs COLIN";
|
|
|
|
|
};
|
|
|
|
|
core.editor = "nvim";
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-08-22 09:50:54 +00:00
|
|
|
|
|
|
|
|
programs.neovim = {
|
|
|
|
|
enable = true;
|
|
|
|
|
defaultEditor = true;
|
|
|
|
|
vimAlias = true;
|
|
|
|
|
viAlias = true;
|
|
|
|
|
configure = {
|
|
|
|
|
customRC = ''
|
|
|
|
|
set modeline
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-08-22 09:37:55 +00:00
|
|
|
|
2024-08-22 09:37:38 +00:00
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
|
|
|
zramSwap.enable = true;
|
|
|
|
|
networking.hostName = "quasar";
|
|
|
|
|
networking.domain = "";
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKQNIDqvhcfLKIDJybVI0o32CSDZpBXxjRxXj6OVQ93E khais@nixos'' ];
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
|
}
|