Skip to content

Commit

Permalink
cambios
Browse files Browse the repository at this point in the history
  • Loading branch information
facu-01 committed Apr 28, 2022
1 parent 6da21b5 commit 4390e6a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions hardware/laptop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

{
hardware.bluetooth.enable = true;
services.xserver.libinput.enable = true;
services.xserver.libinput.touchpad = {
additionalOptions = ''
Option "ScrollPixelDistance" "5"
'';
};
}
10 changes: 10 additions & 0 deletions programs/docker.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ config, pkgs, ... }:

{
environment.systemPackages = with pkgs; [
docker-compose
];

virtualisation.docker.enable = true;
users.users.facu.extraGroups = [ "docker" ];
}
7 changes: 6 additions & 1 deletion programs/home.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, options, ... }:

let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
Expand All @@ -13,17 +13,22 @@ in
vscode
spotify
lm_sensors
gparted
p7zip
];

# Terminal config
programs.xonsh.enable = true;
users.defaultUserShell = pkgs.xonsh;
# programs.zsh.enable = true;
# users.defaultUserShell = pkgs.zsh;
services.ntp.enable = true;
networking.timeServers = options.networking.timeServers.default ++ [ "ntp.example.com" ];

imports = [
(import "${home-manager}/nixos")
./plasma.nix
./docker.nix
];

# Home manager config
Expand Down

0 comments on commit 4390e6a

Please sign in to comment.