Skip to content

Commit b842911

Browse files
committed
feat(nixos): enable X13Gen2 configuration and improve service setup
- Activated the X13Gen2 configuration in `flake.nix` - Fixed `home-manager` module references in `hosts/X13Gen2/default.nix` - Moved `pulseaudio` configuration to `services.nix` for better organization - Refactored `displayManager` for clarity and consistency
1 parent 2541df8 commit b842911

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
OPL2212-2 = import ./hosts/OPL2212-2 { inherit inputs; };
6666
};
6767
nixosConfigurations = {
68-
# X13Gen2 = import ./hosts/X13Gen2 { inherit inputs; };
68+
X13Gen2 = import ./hosts/X13Gen2 { inherit inputs; };
6969
};
7070
nixOnDroidConfigurations = {
7171
OPPO-A79 = import ./hosts/OPPO-A79 { inherit inputs; };

hosts/X13Gen2/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ nixpkgs.lib.nixosSystem {
1919
home-manager.nixosModules.home-manager
2020
{
2121
home-manager.useUserPackages = true;
22-
sharedModules = [ sops-nix.homeManagerModules.sops ];
22+
home-manager.sharedModules = [ sops-nix.homeManagerModules.sops ];
2323
home-manager.users."${username}" = import ../../home-manager/advanced.nix;
24-
extraSpecialArgs = {
24+
home-manager.extraSpecialArgs = {
2525
inherit system;
2626
inherit (inputs) nixpkgs;
2727
inherit (inputs) mcp-servers-nix;

nixos/config/hardware.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
hardware = {
3-
pulseaudio.enable = false;
43
bluetooth.enable = true;
54
};
65
}

nixos/config/services.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@
1414
xserver = {
1515
enable = true;
1616
xkb.layout = "jp";
17-
displayManager.gdm.enable = true;
1817
};
1918

20-
displayManager.autoLogin = {
21-
enable = true;
22-
user = username;
19+
displayManager = {
20+
gdm.enable = true;
21+
autoLogin = {
22+
enable = true;
23+
user = username;
24+
};
2325
};
2426

27+
pulseaudio.enable = false;
28+
2529
pipewire = {
2630
enable = true;
2731
alsa = {

0 commit comments

Comments
 (0)