2024-04-28 11:35:35 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
|
|
# system stuff
|
|
|
|
./system/display.nix
|
|
|
|
./system/sound.nix
|
|
|
|
./system/essentials.nix
|
|
|
|
./system/shell.nix
|
|
|
|
./system/remap.nix
|
2024-05-18 01:10:04 +02:00
|
|
|
./system/ssd.nix
|
2024-04-28 11:35:35 +02:00
|
|
|
|
|
|
|
# rice and other usefull apps
|
|
|
|
./desktop.nix
|
|
|
|
|
|
|
|
# developing tools
|
|
|
|
./dev.nix
|
|
|
|
|
|
|
|
# music
|
|
|
|
./apps/music.nix
|
|
|
|
|
|
|
|
# gayming
|
|
|
|
./gaming.nix
|
|
|
|
|
|
|
|
# communcations apps
|
|
|
|
./apps/communication.nix
|
|
|
|
|
|
|
|
# password manager
|
|
|
|
./apps/keepassxc.nix
|
|
|
|
|
|
|
|
# productivity apps
|
|
|
|
./apps/prod.nix
|
|
|
|
|
|
|
|
# enabling sandboxing and other security measures
|
|
|
|
./system/security.nix
|
|
|
|
|
|
|
|
# file sync
|
|
|
|
./apps/syncthing.nix
|
|
|
|
|
|
|
|
|
|
|
|
# libreoffice
|
2024-05-18 01:10:04 +02:00
|
|
|
./apps/office.nix
|
|
|
|
|
|
|
|
|
|
|
|
# node xporter
|
|
|
|
./configs/prometheus.nix
|
|
|
|
|
2024-04-28 11:35:35 +02:00
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
# adding nur
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# Permitting insecure package for walpepper
|
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"libav-12.3"
|
|
|
|
];
|
|
|
|
|
|
|
|
# adding flake support
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
home-manager.users.grape = { ... }: {
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."luks-f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b".device = "/dev/disk/by-uuid/f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b";
|
|
|
|
networking.hostName = "strix";
|
|
|
|
|
|
|
|
# Enable networking
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
# Set your time zone.
|
|
|
|
time.timeZone = "Europe/Budapest";
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
i18n.extraLocaleSettings = {
|
|
|
|
LC_ADDRESS = "hu_HU.UTF-8";
|
|
|
|
LC_IDENTIFICATION = "hu_HU.UTF-8";
|
|
|
|
LC_MEASUREMENT = "hu_HU.UTF-8";
|
|
|
|
LC_MONETARY = "hu_HU.UTF-8";
|
|
|
|
LC_NAME = "hu_HU.UTF-8";
|
|
|
|
LC_NUMERIC = "hu_HU.UTF-8";
|
|
|
|
LC_PAPER = "hu_HU.UTF-8";
|
|
|
|
LC_TELEPHONE = "hu_HU.UTF-8";
|
|
|
|
LC_TIME = "hu_HU.UTF-8";
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.grape = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "grape";
|
|
|
|
extraGroups = [ "networkmanager" "wheel" "audio" "docker" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|