Compare commits

...

6 Commits

4 changed files with 23 additions and 4 deletions

View File

@ -1,3 +1,9 @@
# nixos
My NixOS config
My NixOS config
```
git clone https://git.hektormisplon.xyz/hektor/nix.git
cd nix
sudo nix --experimental-features "nix-command flakes" run 'github:nix-community/disko/latest#disko-install' -- --flake .#vm --disk root /dev/vda
```

View File

@ -18,12 +18,25 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# These are needed for ZFS
networking.hostId = "25698a58";
# https://discourse.nixos.org/t/zfs-with-disko-faluire-to-import-zfs-pool/61988/3
boot = {
zfs = {
devNodes = "/dev/disk/by-uuid";
};
};
programs.git.enable = true;
programs.firefox.enable = true;
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ neovim ];
environment.systemPackages = with pkgs; [
neovim
kitty
];
services.spice-vdagentd.enable = true;
services.openssh = {

View File

@ -1 +1 @@
import ../modules/disko.zfs-encrypted-root.nix
import ../../modules/disko.zfs-encrypted-root.nix

View File

@ -6,7 +6,7 @@
home.username = "h";
home.homeDirectory = "/home/h";
home.file.".inputrc".source = ./dots/.inputrc;
home.file.".inputrc".source = ../../dots/.inputrc;
programs.home-manager.enable = true;
}