Compare commits
6 Commits
342cc61c08
...
249e0758dc
Author | SHA1 | Date |
---|---|---|
|
249e0758dc | |
|
369c4a4502 | |
|
cc27858ea9 | |
|
f2ee5e10fc | |
|
4e0cdbfe4c | |
|
d7b1e228df |
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -1 +1 @@
|
|||
import ../modules/disko.zfs-encrypted-root.nix
|
||||
import ../../modules/disko.zfs-encrypted-root.nix
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue