update
This commit is contained in:
parent
a425290cc8
commit
4949659d36
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
.direnv
|
.direnv
|
||||||
|
.VSCodeCounter
|
||||||
result
|
result
|
||||||
*.bak
|
*.bak
|
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -1,3 +1,6 @@
|
|||||||
{
|
{
|
||||||
"files.eol": "\n"
|
"files.eol": "\n",
|
||||||
|
"[nix]": {
|
||||||
|
"editor.tabSize": 2
|
||||||
|
}
|
||||||
}
|
}
|
17
flake.lock
generated
17
flake.lock
generated
@ -84,6 +84,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"multimc-cracked": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1624669240,
|
||||||
|
"narHash": "sha256-JNiP5brnWmdbBJikWPJet7Hki7JZgq7ZeDevrIRPcXk=",
|
||||||
|
"owner": "AfoninZ",
|
||||||
|
"repo": "MultiMC5-Cracked",
|
||||||
|
"rev": "6d6218a21ba54e77c4fc76b3ae8cddf3334f1a5d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "AfoninZ",
|
||||||
|
"repo": "MultiMC5-Cracked",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix": {
|
"nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
@ -218,6 +234,7 @@
|
|||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"i3lock-fancy-rapid": "i3lock-fancy-rapid",
|
"i3lock-fancy-rapid": "i3lock-fancy-rapid",
|
||||||
"materia-theme": "materia-theme",
|
"materia-theme": "materia-theme",
|
||||||
|
"multimc-cracked": "multimc-cracked",
|
||||||
"nix": "nix",
|
"nix": "nix",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
|
@ -46,6 +46,10 @@
|
|||||||
url = gitlab:rycee/nur-expressions;
|
url = gitlab:rycee/nur-expressions;
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
multimc-cracked = {
|
||||||
|
url = github:AfoninZ/MultiMC5-Cracked;
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, nix, self, ... }@inputs: {
|
outputs = { nixpkgs, nix, self, ... }@inputs: {
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
CONFIG_FOLDER="$(dirname "$(pwd)")"
|
CONFIG_FOLDER="$(dirname "$(pwd)")"
|
||||||
DEVICE_NAME=Dell-Laptop
|
DEVICE_NAME=AMD-Workstation
|
||||||
MAX_JOBS=8
|
MAX_JOBS=12
|
||||||
SWAP_SIZE=8GiB
|
SWAP_SIZE=16GiB
|
||||||
NIXOS_COMMIT="1905f5f2e55e0db0bb6244cfe62cb6c0dbda391d"
|
NIXOS_COMMIT="1905f5f2e55e0db0bb6244cfe62cb6c0dbda391d"
|
||||||
USE_ECNRYPTION=false
|
USE_ECNRYPTION=false
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
@ -13,35 +14,50 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
|
{ device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nixos" ];
|
options = [ "subvol=nixos" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/.snapshots" =
|
fileSystems."/nix" =
|
||||||
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
|
{ device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@snapshots" ];
|
options = [ "subvol=nix" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" =
|
fileSystems."/home" =
|
||||||
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
|
{ device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@home" ];
|
options = [ "subvol=home" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix/store" =
|
fileSystems."/var" =
|
||||||
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
|
{ device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nix-store" ];
|
options = [ "subvol=var" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/media/bittorrent" =
|
||||||
|
{ device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=bittorrent" "nodatacow" "ssd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/9850-7AEE";
|
{ device = "/dev/disk/by-uuid/948B-11EC";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/dev/disk/by-partuuid/417966a4-f0f1-4cf4-8954-f30007268a09";
|
||||||
|
randomEncryption.enable = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 12;
|
# high-resolution display
|
||||||
|
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||||
|
networking.hostId = "fb781078";
|
||||||
|
boot.initrd.supportedFilesystems = [ "btrfs" ];
|
||||||
|
boot.supportedFilesystems = [ "btrfs" ];
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -27,17 +27,16 @@ in
|
|||||||
# bpytop = pkgs.callPackage ./packages/bpytop.nix { };
|
# bpytop = pkgs.callPackage ./packages/bpytop.nix { };
|
||||||
ibm-plex-powerline = pkgs.callPackage ./packages/ibm-plex-powerline.nix { };
|
ibm-plex-powerline = pkgs.callPackage ./packages/ibm-plex-powerline.nix { };
|
||||||
bibata-cursors = pkgs.callPackage ./packages/bibata-cursors.nix { };
|
bibata-cursors = pkgs.callPackage ./packages/bibata-cursors.nix { };
|
||||||
# spotifyd = pkgs.callPackage ./packages/spotifyd.nix { };
|
|
||||||
foliate = pkgs.callPackage ./packages/foliate.nix { };
|
foliate = pkgs.callPackage ./packages/foliate.nix { };
|
||||||
vscode = master.vscode;
|
vscode = master.vscode;
|
||||||
vivaldi = master.vivaldi;
|
vivaldi = master.vivaldi;
|
||||||
multimc = super.multimc.overrideAttrs (old: rec {
|
multimc = super.multimc.overrideAttrs (old: rec {
|
||||||
version = "unstable-2021-04-15";
|
version = "unstable-cracked";
|
||||||
src = super.fetchFromGitHub {
|
src = super.fetchFromGitHub {
|
||||||
owner = "AfoninZ";
|
owner = "AfoninZ";
|
||||||
repo = "MultiMC5-Cracked";
|
repo = "MultiMC5-Cracked";
|
||||||
rev = "22008d9267f9c818bd4b0098e3f0f4a303687b5a";
|
rev = "6d6218a21ba54e77c4fc76b3ae8cddf3334f1a5d";
|
||||||
sha256 = "9+Hq+0/8HhNURZ3HbJx4ClZgU5pfHl1c7l7wAYFFw1s=";
|
sha256 = "0k59pnqdlzqp75c1lbpqy2i09mmy5qisikalm427i16b07ga9xcl";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
@ -46,17 +45,16 @@ in
|
|||||||
pipewire
|
pipewire
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# qbittorrent = super.qbittorrent.overrideAttrs (old: rec {
|
wine = super.wineWowPackages.staging;
|
||||||
# version = "4.3.4.11";
|
qbittorrent = super.qbittorrent.overrideAttrs (old: rec {
|
||||||
# src = super.fetchFromGitHub {
|
version = "4.3.6.10";
|
||||||
# owner = "c0re100";
|
src = super.fetchFromGitHub {
|
||||||
# repo = "qBittorrent-Enhanced-Edition";
|
owner = "c0re100";
|
||||||
# # rev = "71404629f86b8b95ea5e4bef9805068678720673";
|
repo = "qBittorrent-Enhanced-Edition";
|
||||||
# rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
# sha256 = "XVjx1fOgNiLGRsvIu0Ny5nai++Mxw4V/uM5zqXCytow=";
|
sha256 = "1pfwg95vi1yig36qkganhqw1rz28qfzlfpixnbb3hibvzsjl2p8m";
|
||||||
# fetchSubmodules = true;
|
};
|
||||||
# };
|
});
|
||||||
# });
|
|
||||||
rust-stable = pkgs.latest.rustChannels.stable.rust.override {
|
rust-stable = pkgs.latest.rustChannels.stable.rust.override {
|
||||||
extensions = [
|
extensions = [
|
||||||
"rls-preview"
|
"rls-preview"
|
||||||
|
@ -32,7 +32,8 @@
|
|||||||
minimalFontSize = "8";
|
minimalFontSize = "8";
|
||||||
|
|
||||||
cursorPackage = pkgs.bibata-cursors;
|
cursorPackage = pkgs.bibata-cursors;
|
||||||
cursorSize = if bigScreen then 32 else 16;
|
# cursorSize = if bigScreen then 32 else 16;
|
||||||
|
cursorSize = 16;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
home-manager.users.alukard = {
|
home-manager.users.alukard.programs = {
|
||||||
programs.direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
nix-direnv = {
|
nix-direnv = {
|
||||||
|
@ -117,9 +117,9 @@ in {
|
|||||||
# weather_thunder = ""
|
# weather_thunder = ""
|
||||||
# xrandr = ""
|
# xrandr = ""
|
||||||
|
|
||||||
[[block]]
|
# [[block]]
|
||||||
block = "music"
|
# block = "music"
|
||||||
buttons = ["play", "next"]
|
# buttons = ["play", "next"]
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "net"
|
block = "net"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ iconfont, ... }: ''
|
{ iconfont, ... }: ''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo '<span font="${iconfont} Solid"></span>'
|
echo "<span font="${iconfont} Solid"></span> `_ btrfs fi usage / | head -n7 | tail -n1 | awk '{print $3}'`"
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user