mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 09:55:38 +01:00
formatting
This commit is contained in:
parent
9e4582d351
commit
68d67965f5
2 changed files with 179 additions and 177 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue