7ea20554a6
- Created Librewolf configuration in `home/programs/librewolf/system.nix` with telemetry disabled, enhanced security settings, and enforced extensions. - Added Zen browser configuration in `home/programs/zen/default.nix` and `home/programs/zen/system.nix`, including similar privacy policies and default search engine settings. - Introduced `hosts/home-pc/configuration.nix` for system-wide settings, including USBGuard rules and firewall configurations. - Established `hosts/home-pc/flake.nix` to manage NixOS modules and configurations. - Generated `hosts/home-pc/hardware-configuration.nix` for hardware-specific settings. - Created `hosts/home-pc/home.nix` to import various user-specific applications and settings. - Added profile picture in `hosts/home-pc/profile_picture.jpg`. - Implemented secrets management in `hosts/home-pc/secrets/default.nix` and `hosts/home-pc/secrets/secrets.yaml` using SOPS for encryption. - Defined user-specific variables in `hosts/home-pc/variables.nix`, including hostname, username, and locale settings. - Added profile picture for laptop in `hosts/laptop/profile_picture.jpg`.
43 lines
756 B
Nix
43 lines
756 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
imports = [
|
|
# System configuration
|
|
../../nixos/audio.nix
|
|
../../nixos/bluetooth.nix
|
|
../../nixos/fonts.nix
|
|
../../nixos/home-manager.nix
|
|
../../nixos/nix.nix
|
|
../../nixos/systemd-boot.nix
|
|
../../nixos/tuigreet.nix
|
|
../../nixos/users.nix
|
|
../../nixos/utils.nix
|
|
../../nixos/hyprland.nix
|
|
../../nixos/usbguard.nix
|
|
../../home/programs/helium/system.nix
|
|
|
|
# Machine-specific files
|
|
./hardware-configuration.nix
|
|
./variables.nix
|
|
|
|
];
|
|
|
|
# Disable the author's USBGuard policy.
|
|
|
|
# Generate your own after installation:
|
|
|
|
#
|
|
|
|
# sudo usbguard generate-policy
|
|
|
|
#
|
|
|
|
# Then add the generated rules and switch to a stricter policy.
|
|
|
|
services.usbguard.enable = false;
|
|
|
|
home-manager.users."${config.var.username}" = import ./home.nix;
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|