This commit is contained in:
Miguel Palhas
2024-10-12 10:06:53 +01:00
parent e15c5afea1
commit cd733e5fb6
5 changed files with 56 additions and 19 deletions
+1
View File
@@ -6,6 +6,7 @@
./rust.nix
./git
./solidity.nix
./dev.nix
];
programs = {
+6
View File
@@ -0,0 +1,6 @@
{ lib, config, ... }:
{
programs = {
direnv.enable = true;
};
}
+11
View File
@@ -3,6 +3,17 @@
home.packages = with pkgs; [
rustup
bacon
openssl
openssl_3
pkg-config
glib
glib.dev
gtk3
libsoup
webkitgtk
dbus
librsvg
];
home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ];
}
+1 -1
View File
@@ -51,7 +51,7 @@ in
let
authorizedKeys = pkgs.fetchurl {
url = "https://github.com/naps62.keys";
sha256 = "sha256-dP8LjaburPwfIr2jhly9rMwOLJyUkQP7Em5IKH/qXbY=";
sha256 = "sha256-Y3/sfaV0ZJDs7g0xllMSUjP+n/CxbBjDBMXX4VVecoE=";
};
in
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
+37 -18
View File
@@ -1,34 +1,53 @@
# 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, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/a9390fca-9ec2-4248-b003-a6ce47ad4fab";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/a9390fca-9ec2-4248-b003-a6ce47ad4fab";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-aa168861-6ecf-4fcc-8a0d-6e1555892747".device = "/dev/disk/by-uuid/aa168861-6ecf-4fcc-8a0d-6e1555892747";
boot.initrd.luks.devices = {
"luks-aa168861-6ecf-4fcc-8a0d-6e1555892747".device = "/dev/disk/by-uuid/aa168861-6ecf-4fcc-8a0d-6e1555892747";
"luks-92db61c9-eb4c-4cde-bd08-7042ff8db4ad".device = "/dev/disk/by-uuid/92db61c9-eb4c-4cde-bd08-7042ff8db4ad";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/90C1-FFCD";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/a3d4d835-23fe-4e63-9c4e-887bd4f21592"; }
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/90C1-FFCD";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/mapper/luks-92db61c9-eb4c-4cde-bd08-7042ff8db4ad"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's