dotfiles/etc/configuration.nix
2005 a9f0e0bd12 💫 some look changes
added rofi theme but it kinda looks scuffed. (last update broke the theme)
added waydroid
few more applications
enabled ollama once again
vscode: added typescript prettier linter
2024-07-13 17:48:39 +02:00

108 lines
2.4 KiB
Nix
Executable file

{ 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
./system/cursor.nix
./system/ssd.nix
# 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
./apps/office.nix
# node xporter
#./configs/prometheus.nix
];
# adding nur
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
};
# adding flake support
nix.settings.experimental-features = [ "nix-command" "flakes" ];
home-manager.users.grape = { ... }: {
home.stateVersion = "24.05";
};
# 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;
nix.settings.auto-optimise-store = true;
system.stateVersion = "24.11";
}