This commit is contained in:
albert 2024-04-26 08:31:29 +09:00
parent 76e814b5bc
commit 3c40f43bfe
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 38 additions and 37 deletions

View file

@ -1,4 +1,4 @@
{ inputs, config, lib, pkgs, ... }: {
{ inputs, config, lib, username, ... }: {
imports = [
inputs.jovian.nixosModules
./disks.nix
@ -20,17 +20,18 @@
# Set the networking hostname:
networking.hostName = "steamdeck";
# jovian = {
# decky-loader.enable = true;
# steam.enable = true;
# steam.autoStart = true;
# steam.user = username;
# steamos.useSteamOSConfig = true;
# devices.steamdeck.enable = true;
# hardwarhas.amd.gpu = true;
# };
# environment.systemPackages = with pkgs; [
# jupiter-dock-updater-bin
# steamdeck-firmware
#];
jovian = {
decky-loader.enable = true;
steam.enable = true;
steam.autoStart = true;
steam.user = username;
steamos.useSteamOSConfig = true;
devices.steamdeck.enable = true;
hardwarhas.amd.gpu = true;
};
environment.systemPackages = with inputs.jovaian.pkgs; [
jupiter-dock-updater-bin
steamdeck-firmware
];
}

View file

@ -49,28 +49,28 @@
}; # content
}; # disko.devices.disk.nvme0
# mmcblk0 = {
# type = "disk";
# device = "/dev/mmcblk0";
# content = {
# type = "gpt";
# partitions = {
# SD_CARD = {
# start = "0%";
# end = "100%";
# content = {
# type = "btrfs";
# extraArgs = [ "-f" ];
# subvolumes = {
# "/sd_card" = {
# mountpoint = "/sd_card";
# mountOptions = [ "compress=none" "noatime" ];
# }; # sd_card
# }; # subvolumes
# }; # content
# }; # partition 2 (SD_CARD BTRFS)
# }; # partitions
# }; # content
# }; # disko.devices.disk.mmcblk0
mmcblk0 = {
type = "disk";
device = "/dev/mmcblk0p1";
content = {
type = "gpt";
partitions = {
SD_CARD = {
start = "0%";
end = "100%";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/sd_card" = {
mountpoint = "/sd_card";
mountOptions = [ "compress=none" "noatime" ];
}; # sd_card
}; # subvolumes
}; # content
}; # partition 2 (SD_CARD BTRFS)
}; # partitions
}; # content
}; # disko.devices.disk.mmcblk0
}; # disko.devices
} # root