Compare commits
3 Commits
771ff35589
...
95a84af1f7
Author | SHA1 | Date |
---|---|---|
|
95a84af1f7 | |
|
7ecb5a1237 | |
|
580e4a2cfb |
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -17,6 +17,16 @@
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
hardware.printers = {
|
||||||
|
ensureDefaultPrinter = "Brother_HLL8250CDW";
|
||||||
|
ensurePrinters = [{
|
||||||
|
name = "Brother_HLL8250CDW";
|
||||||
|
deviceUri = "ipp://192.168.1.10/ipp";
|
||||||
|
model = "everywhere";
|
||||||
|
description = "Brother HL-L8250CDW";
|
||||||
|
location = "study";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "nalai"; # Define your hostname.
|
networking.hostName = "nalai"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
@ -103,16 +113,22 @@
|
||||||
programs.neovim.enable = true;
|
programs.neovim.enable = true;
|
||||||
programs.neovim.defaultEditor = true;
|
programs.neovim.defaultEditor = true;
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
"spotify"
|
||||||
|
];
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
chezmoi
|
chezmoi
|
||||||
|
cups-filters
|
||||||
dig
|
dig
|
||||||
fish
|
fish
|
||||||
gimp-with-plugins
|
gimp-with-plugins
|
||||||
git
|
git
|
||||||
python3
|
|
||||||
neovim
|
neovim
|
||||||
|
python3
|
||||||
|
spotify
|
||||||
thunderbird
|
thunderbird
|
||||||
tmux
|
tmux
|
||||||
];
|
];
|
||||||
|
@ -129,6 +145,13 @@
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
publish.enable = true;
|
||||||
|
publish.workstation = true;
|
||||||
|
publish.addresses = true;
|
||||||
|
};
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
|
|
Loading…
Reference in New Issue