Odin: unstable
This commit is contained in:
parent
c272cf2394
commit
7df5a68565
5 changed files with 36 additions and 55 deletions
|
|
@ -290,15 +290,15 @@
|
|||
{ home-manager.users.bertof.imports = [ ./modules/hm/hyprland.nix ]; }
|
||||
|
||||
./modules/nixos/musa.nix
|
||||
] ++ homeManagerModules ++ [{ home-manager.users.bertof = import ./instances/odin/hm.nix; }];
|
||||
] ++ homeManagerUModules ++ [{ home-manager.users.bertof = import ./instances/odin/hm.nix; }];
|
||||
in
|
||||
rec {
|
||||
odin-nvidia = nixpkgs.lib.nixosSystem {
|
||||
odin-nvidia = nixpkgs-u.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = commonModules ++ odinCommonModules ++ [ ./instances/odin/configuration-nvidia.nix ];
|
||||
};
|
||||
|
||||
odin-intel = nixpkgs.lib.nixosSystem {
|
||||
odin-intel = nixpkgs-u.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = commonModules ++ odinCommonModules ++ [ ./instances/odin/configuration-intel.nix ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -39,22 +39,9 @@
|
|||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
|
||||
pulseaudio.enable = false;
|
||||
graphics.enable = true;
|
||||
|
||||
# Enable opengl support
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
extraPackages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
intel-media-driver
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
;
|
||||
};
|
||||
};
|
||||
pulseaudio.enable = false;
|
||||
|
||||
# Tablet
|
||||
opentabletdriver = {
|
||||
|
|
@ -332,7 +319,6 @@
|
|||
security = {
|
||||
rtkit.enable = true;
|
||||
pam.services = {
|
||||
login.fprintAuth = true;
|
||||
xscreensaver.fprintAuth = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,17 +11,18 @@
|
|||
kernelPackages = pkgs.unstable_pkgs.linuxPackages;
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
# modesetting.enable = true;
|
||||
# package = pkgs.linuxPackages.nvidia_x11;
|
||||
|
||||
prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = true;
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
hardware.nvidia =
|
||||
{
|
||||
# modesetting.enable = true;
|
||||
# package = pkgs.linuxPackages.nvidia_x11;
|
||||
open = false;
|
||||
prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = true;
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -13,56 +13,50 @@
|
|||
};
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
# element-desktop # matrix client
|
||||
# evolution
|
||||
# freecad
|
||||
# krita
|
||||
# minecraft
|
||||
# mycrypto
|
||||
# pcmanfm
|
||||
# pulseaudio
|
||||
# retroarchFull
|
||||
# shotwell
|
||||
# signal-desktop
|
||||
# slack
|
||||
# wineFull
|
||||
authenticator
|
||||
brave
|
||||
cava
|
||||
discord
|
||||
droidcam
|
||||
# element-desktop # matrix client
|
||||
eog
|
||||
evince
|
||||
# evolution
|
||||
# freecad
|
||||
file-roller
|
||||
gallery-dl
|
||||
gnome-font-viewer
|
||||
gnome-screenshot
|
||||
gnome-system-monitor
|
||||
gucharmap
|
||||
inkscape
|
||||
keyboard-switch
|
||||
# krita
|
||||
# minecraft
|
||||
# mycrypto
|
||||
openvpn
|
||||
p7zip
|
||||
pavucontrol
|
||||
# pcmanfm
|
||||
procps
|
||||
# pulseaudio
|
||||
pulseaudio
|
||||
# retroarchFull
|
||||
# shotwell
|
||||
# signal-desktop
|
||||
skypeforlinux
|
||||
# slack
|
||||
spotify
|
||||
tdesktop
|
||||
teams-for-linux
|
||||
thunderbird
|
||||
totem
|
||||
transmission-gtk
|
||||
# wineFull
|
||||
wireguard-tools
|
||||
xournalpp
|
||||
zoom-us
|
||||
;
|
||||
inherit (pkgs.gnome)
|
||||
# geary
|
||||
# gnome-calendar
|
||||
# gnome-sound-recorder
|
||||
# seahorse
|
||||
eog
|
||||
file-roller
|
||||
gnome-font-viewer
|
||||
gnome-screenshot
|
||||
gnome-system-monitor
|
||||
totem
|
||||
;
|
||||
inherit (pkgs.unstable_pkgs)
|
||||
# heroic
|
||||
proton-pass;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
hardware = {
|
||||
brillo.enable = true;
|
||||
opengl.enable = true;
|
||||
graphics.enable = true;
|
||||
nvidia.modesetting.enable = builtins.elem "nvidia" config.services.xserver.videoDrivers;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue