add the ares config

This commit is contained in:
Osman Faruk Bayram 2025-12-15 22:21:15 +03:00
parent bd20c97f76
commit 592a0223b1
3 changed files with 70 additions and 4 deletions

View file

@ -1,13 +1,15 @@
{ inputs, ... }:
{
imports = [
# ./hardware-configuration.nix
./hardware-configuration.nix
../../../modules/nixos
inputs.jovian-nixos.nixosModules.default
];
osbmModules = {
desktopEnvironment = {
plasma.enable = true;
};
# desktopEnvironment = {
# plasma.enable = true;
# };
familyUser.enable = true;
programs = {
adbFastboot.enable = true;
@ -20,6 +22,18 @@
i18n.enable = true;
};
jovian = {
devices.steamdeck = {
enable = true;
autoUpdate = true;
};
steam = {
enable = true;
autoStart = true;
user = "osbm";
};
decky-loader.enable = true;
};
networking = {
hostName = "ares";

View file

@ -0,0 +1,48 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"usb_storage"
"usbhid"
"sd_mod"
"sdhci_pci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/ec49c05b-3d2b-4d9f-8634-ab4f3597b843";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/E3FC-D8F9";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/f4477674-7104-43d7-b28c-6a8a8a86e8db"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -38,6 +38,10 @@
"nvidia-settings"
# blender with cuda is not foss?!?
"blender"
# steam
"steamdeck-hw-theme"
"steam-jupiter-unwrapped"
];
allowAliases = false;
};