Switch to flake-based configuration

This commit is contained in:
Kevin Kandlbinder 2023-02-27 13:34:57 +00:00
parent fad1c56a56
commit f17713236d
25 changed files with 578 additions and 216 deletions

23
nixos/modules/common.nix Normal file
View file

@ -0,0 +1,23 @@
{ pkgs, ... }: {
imports = [ ./ssh.nix ];
nixpkgs.config.allowUnfree = true;
i18n.defaultLocale = "en_US.UTF-8";
kevin.ssh.server.enable = true;
console = {
font = "Lat2-Terminus16";
keyMap = "de";
};
services.xserver.layout = "de";
environment.systemPackages = with pkgs; [
vim
wget
curl
tmux
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}