mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-20 16:44:10 +01:00
feat: redesign the project structure
This commit is contained in:
@@ -3,31 +3,8 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../modules/darwin/common.nix
|
||||
../../modules/darwin/core.nix
|
||||
];
|
||||
|
||||
# # enable flakes globally
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
# Use this instead of services.nix-daemon.enable if you
|
||||
# don't wan't the daemon service to be managed for you.
|
||||
# nix.useDaemon = true;
|
||||
|
||||
nix.package = pkgs.nix;
|
||||
|
||||
programs.nix-index.enable = true;
|
||||
|
||||
# Add ability to used TouchID for sudo authentication
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
|
||||
# Keyboard
|
||||
system.keyboard.enableKeyMapping = true;
|
||||
system.keyboard.remapCapsLockToEscape = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Asia/Shanghai";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../modules/fhs-fonts.nix
|
||||
# ../../modules/hyprland.nix
|
||||
../../modules/i3.nix
|
||||
../../modules/nur-packages.nix
|
||||
../../modules/system.nix
|
||||
../../modules/user_group.nix
|
||||
../../modules/nixos/fhs-fonts.nix
|
||||
# ../../modules/nixos/hyprland.nix
|
||||
../../modules/nixos/i3.nix
|
||||
../../modules/nixos/gui-apps.nix
|
||||
../../modules/nixos/core-desktop.nix
|
||||
../../modules/nixos/user_group.nix
|
||||
|
||||
../../secrets
|
||||
];
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../modules/fhs-fonts.nix
|
||||
../../modules/hyprland.nix
|
||||
#../../modules/i3.nix
|
||||
../../modules/nur-packages.nix
|
||||
../../modules/system.nix
|
||||
../../modules/user_group.nix
|
||||
../../modules/nixos/fhs-fonts.nix
|
||||
../../modules/nixos/hyprland.nix
|
||||
# ../../modules/nixos/i3.nix
|
||||
../../modules/nixos/gui-apps.nix
|
||||
../../modules/moxps/core-desktop.nix
|
||||
../../modules/nixos/user_group.nix
|
||||
|
||||
../../secrets
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user