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 = { users.users.felixalb = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [
"wheel"
"docker"
];
uid = 1000; uid = 1000;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKzPICGew7uN0cmvRmbwkwTCodTBUgEhkoftQnZuO4Q felixalbrigtsen@gmail.com" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKzPICGew7uN0cmvRmbwkwTCodTBUgEhkoftQnZuO4Q felixalbrigtsen@gmail.com"

View File

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

View File

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

View File

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