some changes
This commit is contained in:
parent
24f7403bd2
commit
4a12dd74ea
1 changed files with 19 additions and 4 deletions
|
@ -61,13 +61,23 @@
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.libinput.enable = true;
|
||||
|
||||
services.mbpfan = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.runner = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "docker" ]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [];
|
||||
packages = with pkgs; [
|
||||
btop
|
||||
zellij
|
||||
powertop
|
||||
];
|
||||
};
|
||||
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
programs.bash = {
|
||||
|
@ -76,6 +86,11 @@
|
|||
enableCompletion = true;
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "set -g fish_key_bindings fish_vi_key_bindings";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
@ -90,7 +105,7 @@
|
|||
neovim
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "vim";
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
@ -118,8 +133,8 @@
|
|||
services.openssh.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
networking.firewall.allowedTCPPorts = [ 2222 ];
|
||||
networking.firewall.allowedUDPPorts = [ 2222 ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue