Started role/laptop

This commit is contained in:
fleaz 2022-06-21 15:34:34 +02:00
parent 1cd1786ad0
commit 3598067158
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
5 changed files with 12 additions and 5 deletions

View file

@ -274,7 +274,8 @@ in
};
services.blueman-applet.enable = config.networking.hostName == "jimbo";
# Enable blueman-applet when the machine has bluetooth enabled
services.blueman-applet.enable = config.hardware.bluetooth.enable == true;
programs.foot = {
enable = true;

View file

@ -4,6 +4,7 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
../../roles/all.nix
../../roles/laptop.nix
../../modules/luks.nix
../../modules/grub.nix
];
@ -20,8 +21,6 @@
driSupport = true;
};
hardware.bluetooth.enable = true;
services.openssh.enable = true;
programs.ssh.startAgent = true;

View file

@ -4,8 +4,9 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../roles/all.nix
../../modules/luks.nix
../../modules/grub.nix
../../roles/laptop.nix
../../modules/luks.nix
../../modules/grub.nix
];
networking.hostName = "milhouse"; # Define your hostname.

View file

@ -32,5 +32,8 @@
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [ vim wget curl git ];
networking.extraHosts = ''
'';
}

3
roles/laptop.nix Normal file
View file

@ -0,0 +1,3 @@
{
hardware.bluetooth.enable = true;
}