2026-04-12 17:09:00 +02:00
|
|
|
|
{ pkgs,
|
|
|
|
|
|
pkgs-unstable,
|
2026-04-15 17:01:35 +02:00
|
|
|
|
lib,
|
|
|
|
|
|
config,
|
2026-04-12 17:09:00 +02:00
|
|
|
|
hyprland-toggle-tiling,
|
|
|
|
|
|
legacy-launcher,
|
|
|
|
|
|
pass-autotype,
|
|
|
|
|
|
... }:
|
2026-04-08 02:55:42 +02:00
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2026-04-08 10:58:44 +02:00
|
|
|
|
|
2026-04-08 02:55:42 +02:00
|
|
|
|
boot = {
|
|
|
|
|
|
loader = {
|
|
|
|
|
|
grub = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
device = "nodev";
|
|
|
|
|
|
efiSupport = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
plymouth = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
#theme = "bgrt";
|
|
|
|
|
|
|
|
|
|
|
|
theme = "cross_hud";
|
|
|
|
|
|
themePackages = with pkgs; [
|
|
|
|
|
|
# By default we would install all themes
|
|
|
|
|
|
(adi1090x-plymouth-themes.override {
|
|
|
|
|
|
selected_themes = [ "cross_hud" ];
|
|
|
|
|
|
})
|
|
|
|
|
|
];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Enable "Silent boot"
|
|
|
|
|
|
consoleLogLevel = 3;
|
|
|
|
|
|
initrd.verbose = false;
|
|
|
|
|
|
kernelParams = [
|
|
|
|
|
|
"quiet"
|
|
|
|
|
|
"udev.log_level=3"
|
|
|
|
|
|
"systemd.show_status=auto"
|
|
|
|
|
|
];
|
|
|
|
|
|
|
2026-04-08 11:58:45 +02:00
|
|
|
|
loader.timeout = lib.mkForce 1;
|
2026-04-08 02:55:42 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
2026-04-15 17:01:35 +02:00
|
|
|
|
networking.networkmanager.enable = true;
|
2026-04-08 02:55:42 +02:00
|
|
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Budapest";
|
|
|
|
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
console = {
|
|
|
|
|
|
font = "Lat2-Terminus16";
|
|
|
|
|
|
#keyMap = "hu";
|
|
|
|
|
|
useXkbConfig = true; # use xkb.options in tty.
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
|
|
|
|
users.users = {
|
|
|
|
|
|
typo = {
|
|
|
|
|
|
description = "Typo Mustakes";
|
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
|
|
|
|
|
home = "/home/typo";
|
|
|
|
|
|
shell = pkgs.fish;
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2026-04-15 17:01:35 +02:00
|
|
|
|
home-manager = {
|
|
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
|
|
useUserPackages = true;
|
|
|
|
|
|
extraSpecialArgs = {
|
|
|
|
|
|
inherit
|
|
|
|
|
|
hyprland-toggle-tiling
|
|
|
|
|
|
legacy-launcher
|
|
|
|
|
|
pass-autotype;
|
|
|
|
|
|
|
|
|
|
|
|
hostName = config.networking.hostName;
|
|
|
|
|
|
};
|
2026-04-10 17:26:52 +02:00
|
|
|
|
|
2026-04-15 17:01:35 +02:00
|
|
|
|
users.typo = ../home/common.nix;
|
|
|
|
|
|
};
|
2026-04-08 02:55:42 +02:00
|
|
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
|
|
# firefox.enable = true;
|
|
|
|
|
|
steam.enable = true;
|
|
|
|
|
|
fish.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
# Hyprland
|
|
|
|
|
|
hyprland = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
withUWSM = false;
|
2026-04-09 22:34:12 +02:00
|
|
|
|
package = pkgs-unstable.hyprland;
|
2026-04-08 02:55:42 +02:00
|
|
|
|
xwayland.enable = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Some programs need SUID wrappers, can be configured further or are
|
|
|
|
|
|
# started in user sessions.
|
|
|
|
|
|
# programs.mtr.enable = true;
|
|
|
|
|
|
gnupg.agent = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
pinentryPackage = with pkgs; pinentry-all;
|
|
|
|
|
|
enableSSHSupport = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
environment = {
|
|
|
|
|
|
# List packages installed in system profile.
|
|
|
|
|
|
# You can use https://search.nixos.org/ to find more packages (and options).
|
|
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
|
|
gnupg
|
|
|
|
|
|
firefox
|
|
|
|
|
|
wget
|
|
|
|
|
|
nautilus
|
|
|
|
|
|
libwacom
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
gnome.excludePackages = (with pkgs; [
|
|
|
|
|
|
atomix
|
|
|
|
|
|
epiphany
|
|
|
|
|
|
geary
|
|
|
|
|
|
hitori
|
|
|
|
|
|
iagno
|
|
|
|
|
|
]);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# List services that you want to enable:
|
|
|
|
|
|
services = {
|
|
|
|
|
|
# Enable the X11 windowing system.
|
|
|
|
|
|
xserver.enable = false;
|
|
|
|
|
|
|
|
|
|
|
|
displayManager = {
|
|
|
|
|
|
gdm = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
wayland = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
desktopManager = {
|
|
|
|
|
|
gnome = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Enable sound.
|
|
|
|
|
|
pulseaudio.enable = false;
|
|
|
|
|
|
|
|
|
|
|
|
pipewire = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
pulse.enable = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Enable touchpad support (enabled default in most desktopManager).
|
|
|
|
|
|
libinput.enable = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# Configure keymap in X11
|
|
|
|
|
|
# services.xserver.xkb.layout = "us";
|
|
|
|
|
|
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
|
|
|
|
|
|
|
|
|
|
|
# Enable CUPS to print documents.
|
|
|
|
|
|
# services.printing.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
# Configure network proxy if necessary
|
|
|
|
|
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
|
|
|
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
|
|
|
|
|
|
|
|
|
|
# Enable the OpenSSH daemon.
|
|
|
|
|
|
# services.openssh.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
# Open ports in the firewall.
|
|
|
|
|
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
|
|
|
|
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
|
|
|
|
# Or disable the firewall altogether.
|
|
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Copy the NixOS configuration file and link it from the resulting system
|
|
|
|
|
|
# (/run/current-system/configuration.nix). This is useful in case you
|
|
|
|
|
|
# accidentally delete configuration.nix.
|
|
|
|
|
|
# system.copySystemConfiguration = true;
|
|
|
|
|
|
|
|
|
|
|
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
|
|
|
|
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
|
|
|
|
|
#
|
|
|
|
|
|
# Most users should NEVER change this value after the initial install, for any reason,
|
|
|
|
|
|
# even if you've upgraded your system to a new NixOS release.
|
|
|
|
|
|
#
|
|
|
|
|
|
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
|
|
|
|
|
|
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
|
|
|
|
|
|
# to actually do that.
|
|
|
|
|
|
#
|
|
|
|
|
|
# This value being lower than the current NixOS release does NOT mean your system is
|
|
|
|
|
|
# out of date, out of support, or vulnerable.
|
|
|
|
|
|
#
|
|
|
|
|
|
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
|
|
|
|
|
# and migrated your data accordingly.
|
|
|
|
|
|
#
|
|
|
|
|
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
|
|
|
|
|
system.stateVersion = "25.11"; # Did you read the comment?
|
|
|
|
|
|
}
|