aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-12-23 22:45:25 +0530
committerAkshay Nair <phenax5@gmail.com>2020-12-23 22:45:25 +0530
commitc0b5675e3a33ab561a6a79fc66e90cbd23db8e8b (patch)
treeeb2ec50ee5ca5edaff61c493a951af8121cec6c1 /configuration.nix
parent4bf63088aa2776b4d28b062609b9ce57a7d28c21 (diff)
downloadnixos-config-c0b5675e3a33ab561a6a79fc66e90cbd23db8e8b.tar.gz
nixos-config-c0b5675e3a33ab561a6a79fc66e90cbd23db8e8b.zip
Adds bslock package
Diffstat (limited to '')
-rw-r--r--configuration.nix23
1 files changed, 8 insertions, 15 deletions
diff --git a/configuration.nix b/configuration.nix
index c2c32fa..1270a75 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -4,7 +4,9 @@
{ config, pkgs, ... }:
-{
+let
+ localPkgs = import ./packages/default.nix { pkgs = pkgs; };
+in {
imports = [
<home-manager/nixos>
./hardware-configuration.nix
@@ -18,8 +20,10 @@
};
# Network
- networking.hostName = "dickhead";
- networking.networkmanager.enable = true;
+ networking = {
+ hostName = "dickhead";
+ networkmanager.enable = true;
+ };
virtualisation.docker.enable = true;
@@ -58,16 +62,5 @@
sound.enable = true;
# hardware.pulseaudio.enable = true;
- #programs.gnupg.agent = {
- #enable = true;
- #enableSSHSupport = false;
- #};
-
- # This value determines the NixOS release from which the default
- # settings for stateful data, like file locations and database versions
- # on your system were taken. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "20.09"; # Did you read the comment?
+ system.stateVersion = "20.09";
}