38 lines
836 B
Nix
38 lines
836 B
Nix
{ pkgs, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
# ./modules/gaming.nix
|
|
./modules/network.nix
|
|
./modules/office.nix
|
|
./modules/3dprint.nix
|
|
];
|
|
|
|
# Włączamy Flakes
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
# Bootloader (standard dla UEFI)
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Sieć
|
|
networking.hostName = "nix-latitude";
|
|
networking.networkmanager.enable = true;
|
|
|
|
# paczki systemowe
|
|
environment.systemPackages = with pkgs; [
|
|
neovim
|
|
git
|
|
openssh
|
|
wget
|
|
];
|
|
|
|
# Użytkownik
|
|
users.users.sasza = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "networkmanager" ];
|
|
shell = pkgs.zsh; # Możesz zmienić na bash
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
system.stateVersion = "24.11";
|
|
}
|