nix/nixos
genofire b30cff45db fix: dump current state 2023-03-20 22:59:54 +01:00
..
files nixos/default: add my tmux config ;) 2021-10-15 19:50:54 +02:00
README.md fix: dump current state 2023-03-20 22:59:54 +01:00
configuration.nix nixos: add server.nix for monitoring 2021-10-15 02:14:09 +02:00
default-container.nix feat(nixos): add default for nix container 2023-01-13 22:33:15 +01:00
default-hardware.nix nixos: open hardware for zrepl and prometheus 2021-10-15 01:52:30 +02:00
default.nix fix: dump current state 2023-03-20 22:59:54 +01:00
desktop-gnome.nix fix(nixos): networkd vs. NetworkManager during nixos-rebuild 2023-01-13 22:27:03 +01:00
desktop-sway.nix chore(nixos): wifi and power 2022-07-05 22:39:45 +02:00
desktop.nix fix(nixos): networkd vs. NetworkManager during nixos-rebuild 2023-01-13 22:27:03 +01:00
hw-intel.nix home,nixos: add hw to firefox 2021-11-26 18:31:47 +01:00
server.nix nixos: add server.nix for monitoring 2021-10-15 02:14:09 +02:00
users.nix fix: dump current state 2023-03-20 22:59:54 +01:00

README.md

NixOS

Create /etc/nixos/configuration.nix with:

{ config, pkgs, ... }:

{
  imports =
    [
      ./hardware-configuration.nix
      ./repo/default.nix
      ./repo/desktop.nix
      ./repo/genofire.nix
    ];

  system.stateVersion = "21.05";

  # boot
  boot.zfs.requestEncryptionCredentials = []; # list -> default: true - always request for password

  # --------
  # specifical this maschine:
  # --------

  networking.hostId = "6a465f93"; # zfs needed
  networking.hostName = "fireEmerald"; # Define your hostname.
  # cryptsetup
  # boot.initrd.luks.enable = true;
  boot.initrd.luks.devices = {
    "croot" = {
      device = "/dev/disk/by-uuid/e75385e9-b733-49d4-91fd-6ac2fa821195" ;
    };
  };
}

and run nixos-rebuild switch --upgrade

my current package channels

nix-channel --list    
home-manager https://github.com/nix-community/home-manager/archive/master.tar.gz
nixos https://nixos.org/channels/nixos-unstable
nixpkgs https://nixos.org/channels/nixpkgs-unstable