diff --git a/README.md b/README.md index 09f2c37..a30d4e7 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,16 @@ ## Installing on a system: +* setup the filesystem as you see fit +* run `nixos-generate-config --root /mnt` * create a new folder in machine for the system configuration * create a symlink in the machine folder to the actual machine, called current > e.g. $/etc/nixos/machine/> ln -s nucturne/ current +* add home-manager channel to the channel list (nix-channel add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manage) +* install the system (nixos-install --no-root-passwd) ## Steps to fully finish home-setup: -* add home-manager channel to private channel-list (nix-channel add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager) -* install home-manager (nix-shell '' -A install) -* generate home-instance * add unlock-secret to secret-store (secret-tool store --label='keepassxc' keepass unlock) * add certs and keyfiles diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 43d6e91..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,38 +0,0 @@ -# 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 = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/da267a3c-34e3-4218-933f-10738ee61eb6"; - fsType = "ext4"; - }; - - fileSystems."/home" = - { device = "/dev/disk/by-uuid/9ebd7aff-629b-449b-83d8-6381a04eb708"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/DE6D-C383"; - fsType = "vfat"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/0069f1fa-dd8e-4c0a-8f01-a576af29909e"; } - ]; - - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - # high-resolution display - hardware.video.hidpi.enable = lib.mkDefault true; -} diff --git a/machine/current b/machine/current deleted file mode 120000 index 73eff5b..0000000 --- a/machine/current +++ /dev/null @@ -1 +0,0 @@ -stel-xps/ \ No newline at end of file