40 lines
870 B
Nix
40 lines
870 B
Nix
{ self, pkgs, username, version, ... }: {
|
|
imports = [
|
|
./mount.nix
|
|
./network.nix
|
|
./hardware-configuration.nix
|
|
|
|
"${self}/modules/nixos/core"
|
|
"${self}/modules/nixos/fonts"
|
|
"${self}/modules/nixos/user.nix"
|
|
"${self}/modules/nixos/audio.nix"
|
|
"${self}/modules/nixos/samba.nix"
|
|
"${self}/modules/nixos/virtualize/appimage.nix"
|
|
"${self}/modules/nixos/virtualize/docker.nix"
|
|
"${self}/modules/nixos/gnome.nix"
|
|
];
|
|
|
|
hardware.graphics = {
|
|
enable = true;
|
|
extraPackages = with pkgs; [
|
|
vaapiIntel
|
|
intel-media-driver
|
|
];
|
|
};
|
|
|
|
services = {
|
|
gnome.gnome-keyring.enable = true;
|
|
};
|
|
|
|
security.pam.services.swaylock = { };
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
};
|
|
|
|
users.users."${username}".shell = pkgs.zsh;
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = version;
|
|
}
|