2023-03-01 12:26:25 +01:00
{ config , pkgs , . . . }:
{
imports =
2023-05-26 12:31:26 +02:00
[
2023-03-01 12:26:25 +01:00
../../base.nix
./hardware-configuration.nix
] ;
2023-05-26 12:31:26 +02:00
networking . hostName = " r e d s h i r t " ;
2023-03-01 12:26:25 +01:00
networking . networkmanager . enable = true ;
# Select internationalisation properties.
i18n . defaultLocale = " e n _ U S . U T F - 8 " ;
console = {
font = " L a t 2 - T e r m i n u s 1 6 " ;
# keyMap = "no";
useXkbConfig = true ; # use xkbOptions in tty.
} ;
# Enable the X11 windowing system.
services . xserver = {
enable = true ;
windowManager = {
qtile . enable = true ;
} ;
# Enable touchpad support (enabled default in most desktopManager).
libinput . enable = true ;
} ;
2023-05-26 12:31:26 +02:00
# The NixOS module enables critical components needed to run Hyprland properly, such as: polkit, xdg-desktop-portal-hyprland, graphics drivers, fonts, dconf, xwayland, and adding a proper Desktop Entry to your Display Manager.
2023-05-26 13:48:43 +02:00
#programs.hyprland = {
# enable = true;
# package = pkgs.unstable.hyprland;
#};
2023-05-26 12:31:26 +02:00
services . xserver . displayManager = {
lightdm . enable = true ;
2023-05-26 13:48:43 +02:00
#defaultSession = "hyprland";
2023-05-26 12:31:26 +02:00
} ;
2023-03-01 12:26:25 +01:00
# Configure keymap in X11
services . xserver . layout = " n o " ;
fonts . fonts = with pkgs ; [
( nerdfonts . override { fonts = [ " F i r a C o d e " " H a c k " ] ; } )
] ;
sound . enable = true ;
security . rtkit . enable = true ;
services . pipewire = {
enable = true ;
alsa . enable = true ;
pulse . enable = true ;
jack . enable = true ;
} ;
users . users . felixalb = {
2023-05-26 13:48:43 +02:00
extraGroups = [ " n e t w o r k m a n a g e r " ] ;
2023-03-01 12:26:25 +01:00
} ;
environment . systemPackages = with pkgs ; [
zsh
2023-05-26 13:48:43 +02:00
neovim
git
ripgrep
rsync
2023-03-01 12:26:25 +01:00
cifs-utils
] ;
documentation . man . generateCaches = true ;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘ s perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
2023-05-26 12:31:26 +02:00
system . stateVersion = " 2 2 . 1 1 " ;
2023-03-01 12:26:25 +01:00
}