initial configuration of home-manager
This commit is contained in:
parent
bef8999368
commit
a96e5b7e79
|
@ -51,12 +51,11 @@
|
|||
|
||||
services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’. # quitar esto
|
||||
users.users.host = {
|
||||
users.users.fabian = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
|
||||
|
||||
users.users.temp = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
|
@ -64,9 +63,6 @@
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
users.users.temp.packages = with pkgs; [ firefox jetbrains.pycharm-professional neovim git tdesktop python310 gcc discord xournalpp zoom-us jq zip unzip signal-desktop verilog vscodium pipenv runelite calc units vlc file btrfs-progs ];
|
||||
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
|
@ -77,8 +73,7 @@
|
|||
|
||||
services.openssh.enable = true;
|
||||
|
||||
# NO TOCAR ESTO
|
||||
system.stateVersion = "21.11"; # Did you read the comment?
|
||||
system.stateVersion = "21.11"; # No tocar esto
|
||||
|
||||
}
|
||||
|
||||
|
|
24
fabian/default.nix
Normal file
24
fabian/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
# man page: https://rycee.gitlab.io/home-manager/options.html
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
home = {
|
||||
stateVersion = "21.11"; # No tocar esto
|
||||
username = "fabian";
|
||||
homeDirectory = "/home/fabian";
|
||||
packages = import ./path.nix pkgs;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# configurable = [ neovim zsh keyboardlayout pulsaudio vscodium i3-gaps dunst rofi ];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "fabian@cluster451.org";
|
||||
userName = "Fabián Montero";
|
||||
# signing.key = "" poner mi key luego
|
||||
};
|
||||
}
|
||||
|
17
fabian/path.nix
Normal file
17
fabian/path.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgs: with pkgs; [
|
||||
calc
|
||||
discord
|
||||
file
|
||||
firefox
|
||||
jetbrains.pycharm-professional
|
||||
jq
|
||||
pipenv
|
||||
signal-desktop
|
||||
tdesktop
|
||||
units
|
||||
unzip
|
||||
vlc
|
||||
xournalpp
|
||||
zip
|
||||
zoom-us
|
||||
]
|
Loading…
Reference in a new issue