use unstable nixos

This commit is contained in:
2024-11-25 22:27:37 +01:00
parent aa819813ee
commit da10edad83
8 changed files with 52 additions and 111 deletions

View File

@ -24,7 +24,10 @@
networking.hostName = "MaxNixosLaptop"; # Define your hostname.
# NIXOS
nix.settings.experimental-features = ["nix-command" "flakes"];
nix.settings = {
experimental-features = ["nix-command" "flakes"];
substituters = ["https://nix-community.cachix.org" "https://cache.nixos.org"];
};
# Define a user account. Don't forget to set a password with passwd.
users.users.max = {
@ -47,16 +50,16 @@
# $ nix search wget
environment.systemPackages = with pkgs; [
bambu-studio
unstable.neovim
neovim
wget
fprintd
qemu
quickemu
home-manager
(let
base = pkgs.appimageTools.defaultFhsEnvArgs;
base = appimageTools.defaultFhsEnvArgs;
in
pkgs.buildFHSUserEnv (base
buildFHSUserEnv (base
// {
name = "fhs";
targetPkgs = pkgs: (
@ -92,7 +95,7 @@
# };
programs.ssh.startAgent = true;
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
programs.nix-ld.libraries = [
];
programs.zsh.enable = true;
@ -116,7 +119,7 @@
ovmf = {
enable = true;
packages = [
(pkgs.unstable.OVMF.override {
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
})