67 lines
1.5 KiB
Nix
67 lines
1.5 KiB
Nix
{ pkgs, ... }:
|
||
{
|
||
imports = [
|
||
../../config-manager/default.nix
|
||
../../shared-modules/syncthing.nix
|
||
./hardware-configuration.nix
|
||
./modules
|
||
];
|
||
|
||
nix.settings.experimental-features = [
|
||
"nix-command"
|
||
"flakes"
|
||
];
|
||
nixpkgs.config.allowUnfree = true;
|
||
|
||
console.keyMap = "sv-latin1";
|
||
|
||
services.pulseaudio.enable = false;
|
||
security.rtkit.enable = true;
|
||
services.pipewire = {
|
||
enable = true;
|
||
alsa.enable = true;
|
||
alsa.support32Bit = true;
|
||
pulse.enable = true;
|
||
};
|
||
|
||
hardware = {
|
||
graphics = {
|
||
enable = true;
|
||
extraPackages = [
|
||
pkgs.intel-media-driver
|
||
pkgs.libvdpau-va-gl
|
||
];
|
||
};
|
||
};
|
||
|
||
users.users.alex = {
|
||
isNormalUser = true;
|
||
description = "alex";
|
||
extraGroups = [
|
||
"networkmanager"
|
||
"wheel"
|
||
"video"
|
||
"render"
|
||
];
|
||
packages = [ ];
|
||
};
|
||
|
||
environment.variables.EDITOR = "vim";
|
||
|
||
environment.systemPackages = [
|
||
pkgs.vim
|
||
];
|
||
|
||
config-manager = {
|
||
flakePath = "/home/alex/config";
|
||
};
|
||
|
||
# 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.
|
||
# Before changing this value read the documentation for this option
|
||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||
system.stateVersion = "24.05"; # Did you read the comment?
|
||
}
|