changes to io
This commit is contained in:
parent
f2646e891d
commit
7e466f8eaa
5 changed files with 34 additions and 33 deletions
|
|
@ -144,7 +144,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
io = {
|
io = {
|
||||||
hostname = "io";
|
hostname = "192.168.1.5";
|
||||||
profilesOrder = [ "system" "user" ];
|
profilesOrder = [ "system" "user" ];
|
||||||
profiles = {
|
profiles = {
|
||||||
system = {
|
system = {
|
||||||
|
|
|
||||||
|
|
@ -79,26 +79,26 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = with pkgs;
|
# nixpkgs.overlays = with pkgs;
|
||||||
[
|
# [
|
||||||
(final: prev: {
|
# (final: prev: {
|
||||||
alsa-ucm-conf = prev.alsa-ucm-conf.overrideAttrs (old: {
|
# alsa-ucm-conf = prev.alsa-ucm-conf.overrideAttrs (old: {
|
||||||
wttsrc = (fetchFromGitHub {
|
# wttsrc = (fetchFromGitHub {
|
||||||
owner = "WeirdTreeThing";
|
# owner = "WeirdTreeThing";
|
||||||
repo = "chromebook-ucm-conf";
|
# repo = "chromebook-ucm-conf";
|
||||||
rev = "484f5c581ac45c4ee6cfaf62bdecedfa44353424";
|
# rev = "484f5c581ac45c4ee6cfaf62bdecedfa44353424";
|
||||||
hash = "sha256-Jal+VfxrPSAPg9ZR+e3QCy4jgSWT4sSShxICKTGJvAI=";
|
# hash = "sha256-Jal+VfxrPSAPg9ZR+e3QCy4jgSWT4sSShxICKTGJvAI=";
|
||||||
});
|
# });
|
||||||
|
|
||||||
installPhase = ''
|
# installPhase = ''
|
||||||
runHook preInstall
|
# runHook preInstall
|
||||||
mkdir -p $out/share/alsa
|
# mkdir -p $out/share/alsa
|
||||||
cp -r ucm ucm2 $out/share/alsa
|
# cp -r ucm ucm2 $out/share/alsa
|
||||||
mkdir -p $out/share/alsa/ucm2/conf.d
|
# mkdir -p $out/share/alsa/ucm2/conf.d
|
||||||
cp -r $wttsrc/{hdmi,dmic}-common $wttsrc/tgl/* $out/share/alsa/ucm2/conf.d
|
# cp -r $wttsrc/{hdmi,dmic}-common $wttsrc/tgl/* $out/share/alsa/ucm2/conf.d
|
||||||
runHook postInstall
|
# runHook postInstall
|
||||||
'';
|
# '';
|
||||||
});
|
# });
|
||||||
})
|
# })
|
||||||
];
|
# ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
mkdir /btrfs_tmp
|
mkdir /btrfs_tmp
|
||||||
mount /dev/disk/by-uuid/ef1916a9-e15c-450e-8100-4b2af9f6e1a5 /btrfs_tmp
|
mount /dev/disk/by-uuid/1ce9c049-0736-4305b21e-34244004acf50 /btrfs_tmp
|
||||||
|
|
||||||
if [[ -e /btrfs_tmp/@root ]]; then
|
if [[ -e /btrfs_tmp/@root ]]; then
|
||||||
mkdir -p /btrfs_tmp/old_roots
|
mkdir -p /btrfs_tmp/old_roots
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,12 @@
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by_uuid/ef1916a9-e15c-450e-8100-4b2af9f6e1a5";
|
device = "/dev/disk/by_uuid/1ce9c049-0736-4305b21e-34244004acf50";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@root" "noatime" "compress=zstd" ];
|
options = [ "subvol=@root" "noatime" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
"/home" = {
|
"/home" = {
|
||||||
device = "/dev/disk/by_uuid/ef1916a9-e15c-450e-8100-4b2af9f6e1a5";
|
device = "/dev/disk/by_uuid/1ce9c049-0736-4305b21e-34244004acf50 ";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@home" "noatime" "compress=zstd" ];
|
options = [ "subvol=@home" "noatime" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
|
|
@ -30,12 +30,12 @@
|
||||||
options = [ "noatime" "fmask=0077" "dmask=0077" ];
|
options = [ "noatime" "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
"/nix" = {
|
"/nix" = {
|
||||||
device = "/dev/disk/by_uuid/ef1916a9-e15c-450e-8100-4b2af9f6e1a5";
|
device = "/dev/disk/by_uuid/1ce9c049-0736-4305b21e-34244004acf50 ";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nix" "noatime" "compress=zstd" ];
|
options = [ "subvol=@nix" "noatime" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
"/persistent" = {
|
"/persistent" = {
|
||||||
device = "/dev/disk/by_uuid/ef1916a9-e15c-450e-8100-4b2af9f6e1a5";
|
device = "/dev/disk/by_uuid/1ce9c049-0736-4305b21e-34244004acf50 ";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@persistent" "noatime" "compress=zstd" ];
|
options = [ "subvol=@persistent" "noatime" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
1
result
Symbolic link
1
result
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/h6v84r1i1w5s4s7a2bqxldvlvjdg4x8w-nixos-system-io-24.05.20240216.5863c27
|
||||||
Loading…
Add table
Add a link
Reference in a new issue