edison: install steam
This commit is contained in:
parent
36613beb67
commit
aef6a4a7cd
5
base.nix
5
base.nix
|
@ -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"
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue