2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-22 04:07:28 +01:00

edison: install steam

This commit is contained in:
Felix Albrigtsen 2023-12-25 13:31:43 +01:00 committed by Felix Albrigtsen
parent 36613beb67
commit aef6a4a7cd
4 changed files with 21 additions and 4 deletions

View File

@ -72,7 +72,10 @@
users.users.felixalb = {
isNormalUser = true;
extraGroups = [ "wheel" ];
extraGroups = [
"wheel"
"docker"
];
uid = 1000;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKzPICGew7uN0cmvRmbwkwTCodTBUgEhkoftQnZuO4Q felixalbrigtsen@gmail.com"

View File

@ -9,6 +9,8 @@
./desktop.nix
];
virtualisation.docker.enable = true;
networking = {
hostName = "edison";
defaultGateway = "192.168.10.1";
@ -26,9 +28,14 @@
pavucontrol
];
programs.steam.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"nvidia-x11"
"nvidia-settings"
"steam"
"steam-original"
"steam-run"
];
system.stateVersion = "23.05";

View File

@ -7,8 +7,14 @@
layout = "us,no";
xkbVariant = "intl";
};
environment.systemPackages = with pkgs; [
xfce.xfce4-pulseaudio-plugin
];
services.picom.enable = true;
hardware.opengl.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
@ -18,7 +24,7 @@
fonts = {
fontDir.enable = true;
fonts = with pkgs; [
packages = with pkgs; [
noto-fonts
noto-fonts-emoji
noto-fonts-cjk-sans

View File

@ -3,6 +3,7 @@
home.packages = with pkgs; [
bat
bottom
mumble
ncdu
neofetch
nix-index
@ -13,11 +14,11 @@
];
programs = {
zsh.shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config";
alacritty.enable = true;
firefox.enable = true;
rofi.enable = true;
zsh.shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config";
};
};
home.stateVersion = "23.05";
}