multi system support
This commit is contained in:
parent
1bc17d56f5
commit
beaab5fdda
|
|
@ -20,13 +20,13 @@
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
pkgs-stable = nixpkgs-stable.legacyPackages.${system};
|
pkgs-stable = nixpkgs-stable.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.hyuganatsu = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit pkgs-stable;
|
inherit pkgs-stable;
|
||||||
inherit flake-programs-sqlite;
|
inherit flake-programs-sqlite;
|
||||||
};
|
};
|
||||||
modules = [ ./system ];
|
modules = [ system/hyuganatsu ];
|
||||||
};
|
};
|
||||||
homeConfigurations.ahnwuoa = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations.ahnwuoa = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,8 @@
|
||||||
|
|
||||||
boot.tmp.useTmpfs = true;
|
boot.tmp.useTmpfs = true;
|
||||||
|
|
||||||
networking.hostName = "nixos";
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
time.timeZone = "America/Chicago";
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
wget
|
wget
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./display.nix
|
./display.nix
|
||||||
./hardware-configuration.nix
|
|
||||||
./locale.nix
|
./locale.nix
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
./security.nix
|
./security.nix
|
||||||
|
|
@ -9,8 +9,6 @@
|
||||||
desktopManager.plasma5.enable = true;
|
desktopManager.plasma5.enable = true;
|
||||||
autoRepeatDelay = 200;
|
autoRepeatDelay = 200;
|
||||||
autoRepeatInterval = 30;
|
autoRepeatInterval = 30;
|
||||||
videoDrivers = [ "amdgpu" ];
|
|
||||||
deviceSection = ''Option "TearFree" "true"'';
|
|
||||||
};
|
};
|
||||||
services.libinput = {
|
services.libinput = {
|
||||||
enable = true;
|
enable = true;
|
||||||
15
system/hyuganatsu/default.nix
Normal file
15
system/hyuganatsu/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "hyuganatsu";
|
||||||
|
time.timeZone = "America/Chicago";
|
||||||
|
services.xserver = {
|
||||||
|
videoDrivers = [ "amdgpu" ];
|
||||||
|
deviceSection = ''Option "TearFree" "true"'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue