Compare commits
1 Commits
744cb9eb0d
...
work
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f2baf4651 |
@@ -23,9 +23,11 @@
|
|||||||
outputs = { self, nixpkgs, nixos-wsl, home-manager, nix-darwin, ... }@inputs:
|
outputs = { self, nixpkgs, nixos-wsl, home-manager, nix-darwin, ... }@inputs:
|
||||||
let
|
let
|
||||||
linuxSystem = "x86_64-linux";
|
linuxSystem = "x86_64-linux";
|
||||||
|
linuxAarchSystem = "aarch64-linux";
|
||||||
darwinSystem = "aarch64-darwin";
|
darwinSystem = "aarch64-darwin";
|
||||||
|
|
||||||
pkgsLinux = nixpkgs.legacyPackages.${linuxSystem};
|
pkgsLinux = nixpkgs.legacyPackages.${linuxSystem};
|
||||||
|
pkgsLinuxAarch = nixpkgs.legacyPackages.${linuxAarchSystem};
|
||||||
pkgsDarwin = nixpkgs.legacyPackages.${darwinSystem};
|
pkgsDarwin = nixpkgs.legacyPackages.${darwinSystem};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -51,7 +53,7 @@
|
|||||||
|
|
||||||
# Home
|
# Home
|
||||||
home = nixpkgs.lib.nixosSystem {
|
home = nixpkgs.lib.nixosSystem {
|
||||||
system = linuxSystem;
|
system = linuxAarchSystem;
|
||||||
specialArgs = { inherit self; };
|
specialArgs = { inherit self; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/home/nixos/configuration.nix
|
./hosts/home/nixos/configuration.nix
|
||||||
|
|||||||
@@ -22,12 +22,7 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.spice-vdagentd.enable = true;
|
services.openssh.enable = true;
|
||||||
services.qemuGuest.enable = true;
|
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "virtio" ];
|
|
||||||
|
|
||||||
hardware.graphics.enable = true;
|
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user