moving server configs to be more modular
This commit is contained in:
parent
bac5142431
commit
69235e61fa
6 changed files with 20 additions and 136 deletions
|
@ -4,33 +4,11 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../modules/base.nix
|
||||
../../pkgs/base-packages.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
package = pkgs.nixFlakes;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnFree = true;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "dalinar"; # Define your hostname.
|
||||
# Pick only one of the below networking options.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
# services.xserver.enable = true;
|
||||
|
@ -59,9 +37,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
environment.homeBinInPath = true;
|
||||
programs.fish.enable = true;
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
|
@ -71,32 +46,6 @@
|
|||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
yt-dlp
|
||||
bat
|
||||
ripgrep
|
||||
ffmpeg-full
|
||||
rsync
|
||||
dutree
|
||||
tmux
|
||||
git
|
||||
samba
|
||||
exa
|
||||
jq
|
||||
fd
|
||||
bc
|
||||
sysstat
|
||||
procs
|
||||
btop
|
||||
htop
|
||||
unzip
|
||||
blesh
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue