summaryrefslogtreecommitdiff
path: root/modules/system.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-01-23 09:26:51 -0500
committerFreya Murphy <freya@freyacat.org>2025-01-23 09:26:51 -0500
commit1a51f2f555b182673e3f9b3e38fb2ab0e57dd6c2 (patch)
treeeecdad132615a4469c22ee6d4ccd1df087b6159d /modules/system.nix
parentuse base16 in neovim and starship (diff)
downloaddotfiles-nix-1a51f2f555b182673e3f9b3e38fb2ab0e57dd6c2.tar.gz
dotfiles-nix-1a51f2f555b182673e3f9b3e38fb2ab0e57dd6c2.tar.bz2
dotfiles-nix-1a51f2f555b182673e3f9b3e38fb2ab0e57dd6c2.zip
reconfigure
Diffstat (limited to 'modules/system.nix')
-rw-r--r--modules/system.nix104
1 files changed, 0 insertions, 104 deletions
diff --git a/modules/system.nix b/modules/system.nix
deleted file mode 100644
index 06806ac..0000000
--- a/modules/system.nix
+++ /dev/null
@@ -1,104 +0,0 @@
-{ config, pkgs, ... }:
-
-{
-
- # common system packages
- environment.systemPackages = with pkgs; [
- # editor
- vim
- # lib
- libz
- openssl
- # shell
- bash
- zsh
- # utility
- acpi
- curl
- htop
- openssh
- p7zip
- ripgrep
- sbctl
- tree
- unzip
- wget
- ];
-
- # use the latest kernel
- boot.kernelPackages = pkgs.linuxPackages_latest;
-
- # timezone
- time.timeZone = "America/New_York";
-
- # locale
- i18n.defaultLocale = "en_US.UTF-8";
-
- # system component
- networking.networkmanager.enable = config.system.enable;
- services.fwupd.enable = config.system.enable;
- services.pcscd.enable = config.system.enable;
- services.printing.enable = config.system.enable;
- services.pipewire = {
- enable = config.system.enable;
- alsa.enable = config.system.enable;
- pulse.enable = config.system.enable;
- jack.enable = config.system.enable;
- };
-
- # gui component
- services.libinput.enable = config.desktop.enable;
-
- # create user account
- users.users.${config.user} = {
- isNormalUser = true;
- description = config.fullName;
- extraGroups = if config.system.enable then [ "networkmanager" "wheel" "sys" "video" "audio" ] else [ "wheel" ];
- home = config.homePath;
- shell = pkgs.zsh;
- };
-
- # certs
- security.pki.certificateFiles = [
- ../files/certs/freyanet.crt
- ];
-
- # fonts
- fonts.packages = with pkgs; [
- dejavu_fonts
- fira-code
- fira-code-symbols
- jetbrains-mono
- material-icons
- nerd-fonts.fira-code
- noto-fonts
- noto-fonts-cjk-sans
- noto-fonts-emoji
- twemoji-color-font
- ];
-
- fonts.fontconfig = {
- enable = true;
- defaultFonts = {
- serif = [
- "Twemoji"
- "DejaVu Serif"
- ];
- sansSerif = [
- "Twemoji"
- "DejaVu Sans"
- ];
- monospace = [
- "Fira Code"
- "FiraCode Nerd Font Mono"
- "Font Awesome 6 Pro Regular"
- "Twemoji"
- "DejaVu Sans Mono"
- ];
- emoji = [
- "Twemoji"
- "Noto Color Emoji"
- ];
- };
- };
-}