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-06-11 20:09:58 +02:00
./system/cursor.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
2024-06-11 20:09:58 +02:00
#./configs/prometheus.nix
2024-07-31 12:35:08 +02:00
./configs/neofetch.nix
2024-08-02 16:23:15 +02:00
./configs/logseq.nix
./configs/i3.nix
./configs/rofi.nix
./configs/picom.nix
./configs/polybar.nix
./configs/btop.nix
./configs/ollama.nix
./configs/vscode.nix
./configs/gpu-screen-recorder.nix
./configs/firefox.nix
./configs/waydroid.nix
#./configs/builders.nix
./configs/element.nix
./configs/nvim.nix
# terminal
#./configs/st.nix # too minimal, most things dont work without a million tweaks
#./configs/kitty.nix # uses their own stupid xterm extension...
./configs/alacritty.nix # just perfect, tho too much gpu usage
# apps
./apps/graphics.nix
# other
./configs/firewall.nix
2024-05-18 01:10:04 +02:00
2024-04-28 11:35:35 +02:00
] ;
# adding nur
nixpkgs . config . packageOverrides = pkgs : {
nur = import ( builtins . fetchTarball " h t t p s : / / g i t h u b . c o m / n i x - c o m m u n i t y / N U R / a r c h i v e / m a s t e r . t a r . g z " ) {
inherit pkgs ;
} ;
} ;
# adding flake support
nix . settings . experimental-features = [ " n i x - c o m m a n d " " f l a k e s " ] ;
home-manager . users . grape = { . . . }: {
2024-06-11 20:09:58 +02:00
home . stateVersion = " 2 4 . 0 5 " ;
2024-04-28 11:35:35 +02:00
} ;
# Bootloader.
boot . loader . systemd-boot . enable = true ;
boot . loader . efi . canTouchEfiVariables = true ;
2024-07-31 07:17:52 +02:00
#boot.initrd.luks.devices."luks-f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b".device = "/dev/disk/by-uuid/f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b"; # old dead ssd rip 24.07.28
boot . initrd . luks . devices . " l u k s - d a 1 b 2 f 8 c - 8 7 7 a - 4 c 3 9 - 8 9 6 5 - a 4 a f 6 2 5 7 1 8 c " . device = " / d e v / d i s k / b y - u u i d / d a 1 b 2 f 8 c - 8 7 7 a - 4 c 3 9 - 8 9 6 5 - a 4 a f 6 a 2 5 7 1 8 c " ;
2024-04-28 11:35:35 +02:00
networking . hostName = " s t r i x " ;
# Enable networking
networking . networkmanager . enable = true ;
# Set your time zone.
time . timeZone = " E u r o p e / B u d a p e s t " ;
# Select internationalisation properties.
i18n . defaultLocale = " e n _ U S . U T F - 8 " ;
i18n . extraLocaleSettings = {
LC_ADDRESS = " h u _ H U . U T F - 8 " ;
LC_IDENTIFICATION = " h u _ H U . U T F - 8 " ;
LC_MEASUREMENT = " h u _ H U . U T F - 8 " ;
LC_MONETARY = " h u _ H U . U T F - 8 " ;
LC_NAME = " h u _ H U . U T F - 8 " ;
LC_NUMERIC = " h u _ H U . U T F - 8 " ;
LC_PAPER = " h u _ H U . U T F - 8 " ;
LC_TELEPHONE = " h u _ H U . U T F - 8 " ;
LC_TIME = " h u _ H U . U T F - 8 " ;
} ;
users . users . grape = {
isNormalUser = true ;
description = " g r a p e " ;
extraGroups = [ " n e t w o r k m a n a g e r " " w h e e l " " a u d i o " " d o c k e r " ] ;
} ;
nixpkgs . config . allowUnfree = true ;
2024-07-13 17:48:39 +02:00
nix . settings . auto-optimise-store = true ;
system . stateVersion = " 2 4 . 1 1 " ;
2024-04-28 11:35:35 +02:00
}