Added disko and now installing
This commit is contained in:
parent
6954189271
commit
d3543972d0
4 changed files with 41 additions and 9 deletions
|
|
@ -1,8 +1,10 @@
|
|||
keys:
|
||||
- &desktop age1mt673rdh9g4ylt4se20vnv2mf7qul0ax9mwlhy5x97h4pxyypaascdyccn
|
||||
- &c4patino_arisu age1mt673rdh9g4ylt4se20vnv2mf7qul0ax9mwlhy5x97h4pxyypaascdyccn
|
||||
- &c4patino_kokoro age1u0jz3r6tz3a7rz64j02xpwuykslq9zruxasutvmum07ya7k3xduseme93n
|
||||
creation_rules:
|
||||
- path_regex: secrets/sops/secrets.yaml
|
||||
key_groups:
|
||||
- age:
|
||||
- *desktop
|
||||
- *c4patino_arisu
|
||||
- *c4patino_kokoro
|
||||
|
||||
|
|
|
|||
14
flake.lock
generated
14
flake.lock
generated
|
|
@ -712,11 +712,11 @@
|
|||
"nixos-config": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1723470643,
|
||||
"narHash": "sha256-Sue5BY+Vk5mLGBiG4zoFTl4mYgeUNhHChp5p1M8x4Qo=",
|
||||
"lastModified": 1723734988,
|
||||
"narHash": "sha256-T4rjsqaX3r9CBLI9Jf29vJLXBRCFIHCXmnfImirl3Yo=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "df2bd06417cd3dbab23a0f2e23f8ca24952564c2",
|
||||
"revCount": 1,
|
||||
"rev": "6954189271306dce99fc78f522a93b64fb1e6e2b",
|
||||
"revCount": 2,
|
||||
"type": "git",
|
||||
"url": "https://github.com/C4theBomb/nixos-config.git"
|
||||
},
|
||||
|
|
@ -1179,11 +1179,11 @@
|
|||
"rust-overlay": "rust-overlay_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1723713666,
|
||||
"narHash": "sha256-BoTMeLv9Fo5DtJDyYpolJe6nc0wx8+q4VfdX1SXWbsE=",
|
||||
"lastModified": 1723732776,
|
||||
"narHash": "sha256-tK2dm+WIEJGSq/PbRyagt7x43nd/o1HxP8HMj23HfnQ=",
|
||||
"owner": "sxyazi",
|
||||
"repo": "yazi",
|
||||
"rev": "fc304ca043490c524211e615bdc9e197d5b0032e",
|
||||
"rev": "4112bf451faa995f34763b2de3efb5aa715d107a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
28
hosts/arisu/hardware-configuration-no-drives.nix
Normal file
28
hosts/arisu/hardware-configuration-no-drives.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# 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, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# 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
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp42s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.vboxnet0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
@ -2,6 +2,8 @@
|
|||
{
|
||||
imports = [
|
||||
../../nixosModules
|
||||
inputs.disko.nixosModules.default
|
||||
(import ./disko.nix { device = "/dev/nvme0n1"; })
|
||||
];
|
||||
|
||||
networking.hostName = "kokoro";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue