trying flakes

This commit is contained in:
ari committed 2024-04-27 13:52:14 -04:00
1 parent 5412fe0b7b
commit 5b2e284501
11 files changed
+152 -103

No files matched your search

+4 -49
View File
@@ -1,17 +1,6 @@
{ hostName, firewall, user }:
{ user }:
{ pkgs, ... }:
{
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.useTmpfs = true;
networking.hostName = hostName; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;
networking.firewall = firewall;
# Set your time zone.
time.timeZone = "America/Toronto";
@@ -21,8 +10,6 @@
# System Packages
programs.zsh.enable = true;
programs.nix-ld.enable = true;
services.tailscale.enable = true;
services.tailscale.useRoutingFeatures = "client";
environment.systemPackages = with pkgs; [
zsh
git
@@ -40,40 +27,8 @@
glib-networking
(import (fetchTarball "https://install.devenv.sh/latest")).default
];
boot.kernelPackages = pkgs.linuxPackages_latest;
services.nfs.server.enable = true;
services.hydra.useSubstitutes = true;
nix.settings.trusted-substituters = [
"https://cache.flox.dev"
"https://devenv.cachix.org"
];
nix.settings.trusted-users = [ "root" user.name ];
nix.settings.trusted-public-keys = [
"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
];
# Fonts
fonts = {
packages = with pkgs; [
fira-code
fira-code-symbols
font-awesome
liberation_ttf
mplus-outline-fonts.githubRelease
nerdfonts
noto-fonts
noto-fonts-emoji
proggyfonts
flatpak
];
fontDir.enable = true;
fontconfig = {
enable = true;
defaultFonts = {
serif = [ "FiraCode" "DroidSansMono" ];
sansSerif = [ "FiraCode" "DroidSansMono" ];
monospace = [ "FiraCode" ];
};
};
programs.tmux = {
enable = true;
clock24 = true;
};
}