Added configuration-common.nix

This commit is contained in:
2025-08-21 11:34:23 -04:00
parent f63f0f897a
commit be99293472
4 changed files with 77 additions and 27 deletions

View File

@@ -8,11 +8,11 @@
imports =
[ # Include the results of the hardware scan.
./xps13-hardware-configuration.nix
./modules/shares.nix
./modules/sops.nix
./modules/configuration-common.nix
# ./modules/shares.nix
# ./modules/sops.nix
./modules/laptop.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Bootloader.
boot = {
kernelPackages = pkgs.linuxPackages_latest;
@@ -31,22 +31,6 @@
'';
};
# Set your time zone.
time.timeZone = "America/New_York";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
@@ -122,11 +106,9 @@
programs.firefox.enable = true;
programs.hyprland.enable = true;
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.variables.EDITOR = "nvim";
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
@@ -139,10 +121,6 @@
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
# List services that you want to enable: