update f2fs-tools

This commit is contained in:
Dmitriy Kholkin 2020-09-04 23:32:11 +04:00
parent 299dad13bc
commit 89da7d69df
6 changed files with 24 additions and 16 deletions

View File

@ -14,11 +14,11 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/37acf829-e092-4232-85a0-3876f0b34cc8";
{ device = "/dev/disk/by-uuid/ac8a1cde-9a8b-4181-acd2-719580160943";
fsType = "f2fs";
};
boot.initrd.luks.devices."cryptnixos".device = "/dev/disk/by-uuid/ec31faea-a697-42b2-b12c-021bfd176d5b";
boot.initrd.luks.devices."cryptnixos".device = "/dev/disk/by-uuid/5cc91d59-4341-48c8-9e72-a5169b3d9a41";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/7294-A273";

16
install/install Normal file → Executable file
View File

@ -4,15 +4,15 @@ cd ..
CONFIG_FOLDER=$(pwd)
cd install
ENCRYPT_ROOT=false
FORMAT_BOOT_PARTITION=true
ENCRYPT_ROOT=true
FORMAT_BOOT_PARTITION=false
DEVICE_NAME=NixOS-VM
MAX_JOBS=4
DEVICE=/dev/sda
BOOT_PARTITION=/dev/sda1
SWAP_PARTITION=/dev/sda3
ROOT_PARTITION=/dev/sda2
DEVICE_NAME=Dell-Laptop
MAX_JOBS=8
DEVICE=/dev/nvme0n1
BOOT_PARTITION=/dev/nvme0n1p1
SWAP_PARTITION=/dev/nvme0n1p3
ROOT_PARTITION=/dev/nvme0n1p2
ROOT_NAME=cryptnixos
gdisk $DEVICE

BIN
misc/Passwords.kdbx Executable file → Normal file

Binary file not shown.

Binary file not shown.

View File

@ -4,6 +4,7 @@ with rec {
};
with deviceSpecific; {
programs.adb.enable = true;
programs.java = {
enable = true;
package = if (device == "AMD-Workstation") then pkgs.jdk13 else pkgs.jre;
@ -66,6 +67,10 @@ with deviceSpecific; {
] ++ lib.optionals (!isVM) [
# rust-stable
libreoffice
# Android dev
androidenv.androidPkgs_9_0.androidsdk
android-studio
# scrcpy
] ++ lib.optionals isGaming [
# lutris
# protontricks

View File

@ -43,12 +43,14 @@
];
});
discord = super.discord.overrideAttrs (old: rec {
version = "0.0.11";
src = pkgs.fetchurl {
url = "https://dl.discordapp.net/apps/linux/0.0.11/discord-0.0.11.tar.gz";
sha256 = "1saqwigi1gjgy4q8rgnwyni57aaszi0w9vqssgyvfgzff8fpcx54";
};
#TODO: Remove after nixpkgs will update to v1.14.0
f2fs-tools = super.f2fs-tools.overrideAttrs (old: rec {
version = "1.14.0";
src = pkgs.fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git";
rev = "refs/tags/v${version}";
sha256 = "06ss05n87i1c3149qb3n7j1qp2scv3g2adx0v6ljkl59ab9b5saj";
};
});
spotifyd = super.spotifyd.override { withPulseAudio = true; };
@ -64,6 +66,7 @@
nixpkgs.config = {
allowUnfree = true;
android_sdk.accept_license = true;
};
environment.etc.nixpkgs.source = inputs.nixpkgs;