2025-01-13 21:01:09 +01:00
{
config ,
pkgs ,
user ,
. . .
} :
2025-01-09 09:34:41 +01:00
{
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/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
./configs/neofetch.nix
./configs/logseq.nix
./configs/i3.nix
./configs/rofi.nix
./configs/picom.nix
./configs/polybar.nix
./configs/btop.nix
./configs/dunst.nix
./configs/ollama.nix
./configs/vscode.nix
./configs/gpu-screen-recorder.nix
./configs/firefox.nix
./configs/waydroid.nix
./configs/element.nix
./configs/nvim.nix
./configs/node_exporter.nix
./configs/tmux.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
# drivers
./system/drivers/shitvidia-patch.nix
] ;
# 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 "
] ;
2025-01-11 12:03:31 +01:00
home-manager . users . " ${ user } " =
2025-01-09 09:34:41 +01:00
{ . . . }:
{
home . stateVersion = " 2 4 . 1 1 " ;
} ;
nixpkgs . config . permittedInsecurePackages = [
" e l e c t r o n - 2 7 . 3 . 1 1 "
] ;
# Bootloader.
boot . loader . systemd-boot . enable = true ;
boot . loader . efi . canTouchEfiVariables = true ;
# kernel
#boot.kernelPackages = pkgs.linuxPackages_xanmod; # Gaming
#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 " ;
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 ;
nix . settings . auto-optimise-store = true ;
system . stateVersion = " 2 4 . 1 1 " ;
}