framework-2024-11-21-13-52-39
This commit is contained in:
@ -54,7 +54,7 @@
|
|||||||
keepassxc
|
keepassxc
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
pinta
|
pinta
|
||||||
rustdesk-flutter
|
# rustdesk-flutter
|
||||||
simple-scan
|
simple-scan
|
||||||
|
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
|
24
flake.lock
generated
24
flake.lock
generated
@ -8,11 +8,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731977366,
|
"lastModified": 1732047192,
|
||||||
"narHash": "sha256-UufePQLAmJtLG2ghOSYG/asD+sSo2qubwdozd9Bj9f4=",
|
"narHash": "sha256-QVvcbiOgQIMLM5+NrpKxpB3IRKH4ZbP7+WKBISKO1zM=",
|
||||||
"owner": "chaotic-cx",
|
"owner": "chaotic-cx",
|
||||||
"repo": "nyx",
|
"repo": "nyx",
|
||||||
"rev": "a5536db0de3357bee3a78725ebecb6c0b660e3f6",
|
"rev": "d3ec352824dbec68aa0c17851f7424fdc735ecc4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -82,11 +82,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731887066,
|
"lastModified": 1732025103,
|
||||||
"narHash": "sha256-uw7K/RsYioJicV79Nl39yjtfhdfTDU2aRxnBgvFhkZ8=",
|
"narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f3a2ff69586f3a54b461526e5702b1a2f81e740a",
|
"rev": "a46e702093a5c46e192243edbd977d5749e7f294",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -102,11 +102,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731968878,
|
"lastModified": 1732025103,
|
||||||
"narHash": "sha256-+hTCwETOE9N8voTAaF+IzdUZz28Ws3LDpH90FWADrEE=",
|
"narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "a42fa14b53ceab66274a21da480c9f8e06204173",
|
"rev": "a46e702093a5c46e192243edbd977d5749e7f294",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -140,11 +140,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731736013,
|
"lastModified": 1732032028,
|
||||||
"narHash": "sha256-AYB3yeogE9vtBuSStdFFmGR0kzGuumW4nrpdlcuZ/As=",
|
"narHash": "sha256-NjyfJQQxs/a2a/KwTmXM44K7XjeJwGsf4YFtebueQzo=",
|
||||||
"owner": "Jovian-Experiments",
|
"owner": "Jovian-Experiments",
|
||||||
"repo": "Jovian-NixOS",
|
"repo": "Jovian-NixOS",
|
||||||
"rev": "a2c6d8d1acce49de8dc7ed951428aae901908316",
|
"rev": "65dc04371cf914c9af4f073638821e4787303005",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -83,7 +83,7 @@ in {
|
|||||||
|
|
||||||
tmp.useTmpfs = false;
|
tmp.useTmpfs = false;
|
||||||
supportedFilesystems = ["btrfs"];
|
supportedFilesystems = ["btrfs"];
|
||||||
kernelPackages = pkgs.linuxPackages_cachyos;
|
kernelPackages = pkgs.linuxPackages_cachyos-hardened;
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
luks.devices = {
|
luks.devices = {
|
||||||
@ -206,9 +206,10 @@ in {
|
|||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
# rtkit is optional but recommended
|
# rtkit is optional but recommended
|
||||||
services = {
|
services = {
|
||||||
# foldingathome.enable = true;
|
|
||||||
power-profiles-daemon.enable = true;
|
power-profiles-daemon.enable = true;
|
||||||
colord.enable = true;
|
colord.enable = true;
|
||||||
|
fprintd.enable = false;
|
||||||
|
tailscale.enable = true;
|
||||||
|
|
||||||
btrfs.autoScrub = {
|
btrfs.autoScrub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -242,8 +243,6 @@ in {
|
|||||||
extraPruneArgs = "--save-space --list --stats";
|
extraPruneArgs = "--save-space --list --stats";
|
||||||
exclude = map (x: "/home/alex/" + x) be.borg-exclude;
|
exclude = map (x: "/home/alex/" + x) be.borg-exclude;
|
||||||
};
|
};
|
||||||
|
|
||||||
tailscale.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
@ -260,10 +259,7 @@ in {
|
|||||||
environment = {
|
environment = {
|
||||||
sessionVariables = {LIBVA_DRIVER_NAME = "iHD";}; # Force intel-media-driver
|
sessionVariables = {LIBVA_DRIVER_NAME = "iHD";}; # Force intel-media-driver
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
# psensor
|
|
||||||
# mission-center
|
|
||||||
resources
|
resources
|
||||||
|
|
||||||
gnumake
|
gnumake
|
||||||
pkg-config
|
pkg-config
|
||||||
libftdi
|
libftdi
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
"usb_storage"
|
"usb_storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [];
|
# boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = ["kvm-intel"];
|
# boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = [];
|
# boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
@ -86,25 +86,24 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = ["fmask=0022" "dmask=0022"];
|
options = ["fmask=0022" "dmask=0022"];
|
||||||
};
|
};
|
||||||
"/home/alex/shared/storage" = {
|
# "/home/alex/shared/storage" = {
|
||||||
device = "/dev/disk/by-uuid/58259976-4f63-4f60-a755-7870b08286e7";
|
# device = "/dev/disk/by-uuid/58259976-4f63-4f60-a755-7870b08286e7";
|
||||||
fsType = "btrfs";
|
# fsType = "btrfs";
|
||||||
options = [
|
# options = [
|
||||||
"subvol=@data"
|
# "subvol=@data"
|
||||||
"discard=async"
|
# "discard=async"
|
||||||
"compress=zstd"
|
# "compress=zstd"
|
||||||
"nodiratime"
|
# "nodiratime"
|
||||||
"noatime"
|
# "noatime"
|
||||||
"nofail"
|
# "nofail"
|
||||||
"x-systemd.automount"
|
# "x-systemd.automount"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc.crypttab.text = ''
|
# environment.etc.crypttab.text = ''
|
||||||
luks-e36ec189-2211-4bcc-bb9d-46650443d76b UUID=e36ec189-2211-4bcc-bb9d-46650443d76b /etc/luks-key01
|
# luks-e36ec189-2211-4bcc-bb9d-46650443d76b UUID=e36ec189-2211-4bcc-bb9d-46650443d76b /persist/luks-key01
|
||||||
'';
|
# '';
|
||||||
# boot.initrd.luks.devices."luks-e36ec189-2211-4bcc-bb9d-46650443d76b".device = "/dev/disk/by-uuid/e36ec189-2211-4bcc-bb9d-46650443d76b";
|
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user