desktop-2024-11-21-18-15-49
This commit is contained in:
@ -12,6 +12,7 @@
|
|||||||
};
|
};
|
||||||
consoleLogLevel = 0;
|
consoleLogLevel = 0;
|
||||||
kernel.sysctl = {"vm.max_map_count" = 262144;};
|
kernel.sysctl = {"vm.max_map_count" = 262144;};
|
||||||
|
supportedFilesystems = ["ntfs"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Work around for https://github.com/NixOS/nixpkgs/issues/124215
|
# Work around for https://github.com/NixOS/nixpkgs/issues/124215
|
||||||
@ -24,19 +25,15 @@
|
|||||||
shells = with pkgs; [bashInteractive zsh];
|
shells = with pkgs; [bashInteractive zsh];
|
||||||
|
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
ack
|
|
||||||
borgbackup
|
borgbackup
|
||||||
borgmatic
|
btrfs-progs # utils for btrfs
|
||||||
|
|
||||||
btrfs-progs
|
|
||||||
exfatprogs
|
|
||||||
|
|
||||||
doggo # DNS Resolver
|
doggo # DNS Resolver
|
||||||
|
|
||||||
du-dust
|
du-dust
|
||||||
ncdu
|
ncdu
|
||||||
duf # dfc alternative
|
duf # dfc alternative
|
||||||
lsd # eza alternative
|
lsd # eza alternative
|
||||||
|
bat # cat alternative
|
||||||
|
pstree
|
||||||
|
|
||||||
# age key encryption
|
# age key encryption
|
||||||
ssh-to-age
|
ssh-to-age
|
||||||
@ -52,47 +49,44 @@
|
|||||||
nmap
|
nmap
|
||||||
nmon
|
nmon
|
||||||
bandwhich
|
bandwhich
|
||||||
|
lsof
|
||||||
|
lm_sensors
|
||||||
|
|
||||||
gnupg
|
gnupg
|
||||||
gocryptfs
|
|
||||||
graphviz
|
|
||||||
hdparm
|
hdparm
|
||||||
inxi
|
inxi # hardware list
|
||||||
lm_sensors
|
|
||||||
lsof
|
|
||||||
man-pages
|
|
||||||
man-pages-posix
|
|
||||||
kitty.terminfo
|
kitty.terminfo
|
||||||
|
|
||||||
tre-command
|
tre-command
|
||||||
|
|
||||||
nil
|
# nix
|
||||||
nix-du
|
nil # nix language server
|
||||||
|
nix-tree # like ncdu for nix store
|
||||||
nix-tree
|
nixd # nix diff
|
||||||
nixd
|
alejandra # nix formating
|
||||||
alejandra
|
|
||||||
|
|
||||||
parallel
|
parallel
|
||||||
pciutils
|
pciutils
|
||||||
progress
|
progress
|
||||||
unixtools.xxd
|
unixtools.xxd
|
||||||
unzip
|
|
||||||
usbutils
|
usbutils
|
||||||
wget
|
wget
|
||||||
|
|
||||||
broot
|
broot
|
||||||
ffmpeg
|
|
||||||
git-secret
|
git-secret
|
||||||
kubectl
|
|
||||||
neofetch
|
neofetch
|
||||||
pstree
|
ranger # terminal filemanager
|
||||||
ranger
|
|
||||||
sshfs
|
|
||||||
tealdeer
|
|
||||||
unrar
|
unrar
|
||||||
yt-dlp
|
unzip
|
||||||
nix-output-monitor
|
|
||||||
|
ffmpeg
|
||||||
|
yt-dlp # to download youtube stuff
|
||||||
|
gocryptfs # file encryption
|
||||||
|
sshfs
|
||||||
|
tealdeer # shorter man pages
|
||||||
|
man-pages
|
||||||
|
man-pages-posix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -89,10 +89,26 @@ in {
|
|||||||
tmp.useTmpfs = false;
|
tmp.useTmpfs = false;
|
||||||
supportedFilesystems = ["btrfs"];
|
supportedFilesystems = ["btrfs"];
|
||||||
kernelPackages = pkgs.linuxPackages_cachyos;
|
kernelPackages = pkgs.linuxPackages_cachyos;
|
||||||
kernelParams = ["clearcpuid=514"];
|
kernelParams = ["clearcpuid=514" "ip=dhcp"];
|
||||||
kernelModules = ["nct6775"];
|
kernelModules = ["nct6775"];
|
||||||
extraModulePackages = with pkgs.linuxPackages_cachyos; [ryzen-smu];
|
extraModulePackages = with pkgs.linuxPackages_cachyos; [ryzen-smu];
|
||||||
initrd = {
|
initrd = {
|
||||||
|
availableKernelModules = ["r8169"];
|
||||||
|
systemd.users.root.shell = "/bin/cryptsetup-askpass";
|
||||||
|
network = {
|
||||||
|
enable = true;
|
||||||
|
ssh = {
|
||||||
|
enable = true;
|
||||||
|
port = 22;
|
||||||
|
authorizedKeys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOYEaT0gH9yJM2Al0B+VGXdZB/b2qjZK7n01Weq0TcmQ alex@framework"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN99h5reZdz9+DOyTRh8bPYWO+Dtv7TbkLbMdvi+Beio alex@desktop"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIkURF5v9vRyEPhsK80kUgYh1vsS0APL4XyH4F3Fpyic alex@macbook"
|
||||||
|
];
|
||||||
|
hostKeys = ["/persist/pre_boot_ssh_host_rsa_key"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
luks.devices = {
|
luks.devices = {
|
||||||
root = {
|
root = {
|
||||||
device = "/dev/disk/by-uuid/cc43f1eb-49c3-41a6-9279-6766de3659e7";
|
device = "/dev/disk/by-uuid/cc43f1eb-49c3-41a6-9279-6766de3659e7";
|
||||||
@ -305,6 +321,5 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
@ -12,11 +9,6 @@
|
|||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "uas" "usb_storage" "usbhid" "sd_mod"];
|
|
||||||
boot.initrd.kernelModules = ["dm-snapshot"];
|
|
||||||
boot.kernelModules = ["kvm-amd"];
|
|
||||||
boot.extraModulePackages = [];
|
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/87c6b0fb-b921-47d5-a3a1-4b4c0a4f02ad";
|
device = "/dev/disk/by-uuid/87c6b0fb-b921-47d5-a3a1-4b4c0a4f02ad";
|
||||||
|
Reference in New Issue
Block a user