formatting

This commit is contained in:
Rouven Seifert 2022-12-18 17:07:40 +01:00
parent 9e4582d351
commit 68d67965f5
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 179 additions and 177 deletions

View file

@ -11,6 +11,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hosts/thinkpad/configuration.nix ./hosts/thinkpad/configuration.nix
home-manager.nixosModules.home-manager
]; ];
}; };
}; };

View file

@ -2,7 +2,8 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -15,7 +16,7 @@
networking.hostName = "thinkpad"; # Define your hostname. networking.hostName = "thinkpad"; # Define your hostname.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
networking.firewall = { networking.firewall = {
allowedUDPPorts = [51820]; allowedUDPPorts = [ 51820 ];
checkReversePath = false; checkReversePath = false;
}; };
@ -75,17 +76,17 @@
# Define a user account. # Define a user account.
users.users.rouven = { users.users.rouven = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "video" "network" "libvirtd"]; extraGroups = [ "wheel" "video" "network" "libvirtd" ];
}; };
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
((vim_configurable.override { }).customize{ ((vim_configurable.override { }).customize {
name = "vim"; name = "vim";
vimrcConfig.packages.myplugins = with pkgs.vimPlugins; { vimrcConfig.packages.myplugins = with pkgs.vimPlugins; {
start = [ vim-nix vim-lastplace ]; start = [ vim-nix vim-lastplace ];
opt = []; opt = [ ];
}; };
vimrcConfig.customRC = '' vimrcConfig.customRC = ''