Started role/laptop
This commit is contained in:
parent
1cd1786ad0
commit
3598067158
|
@ -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 = {
|
programs.foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../roles/all.nix
|
../../roles/all.nix
|
||||||
|
../../roles/laptop.nix
|
||||||
../../modules/luks.nix
|
../../modules/luks.nix
|
||||||
../../modules/grub.nix
|
../../modules/grub.nix
|
||||||
];
|
];
|
||||||
|
@ -20,8 +21,6 @@
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../roles/all.nix
|
../../roles/all.nix
|
||||||
../../modules/luks.nix
|
../../roles/laptop.nix
|
||||||
../../modules/grub.nix
|
../../modules/luks.nix
|
||||||
|
../../modules/grub.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "milhouse"; # Define your hostname.
|
networking.hostName = "milhouse"; # Define your hostname.
|
||||||
|
|
|
@ -32,5 +32,8 @@
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
environment.systemPackages = with pkgs; [ vim wget curl git ];
|
environment.systemPackages = with pkgs; [ vim wget curl git ];
|
||||||
|
|
||||||
|
networking.extraHosts = ''
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
3
roles/laptop.nix
Normal file
3
roles/laptop.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
}
|
Loading…
Reference in a new issue