moved zsh to home-manger with p10k

This commit is contained in:
Alexander Szczepanski
2021-08-01 18:40:42 +02:00
parent c446c9d356
commit 7348a34b86
11 changed files with 1765 additions and 205 deletions

View File

@ -10,6 +10,7 @@ in
../configs/gui.nix
../configs/virtualisation.nix
../configs/common.nix
../configs/user-gui.nix
../configs/user.nix
];
@ -132,12 +133,5 @@ in
# Or disable the firewall altogether.
# networking.firewall.enable = 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. Its 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 = "21.05"; # Did you read the comment?
system.stateVersion = "21.05";
}

View File

@ -6,6 +6,7 @@
/etc/nixos/hardware-configuration.nix
../configs/common.nix
../configs/virtualisation.nix
../configs/user.nix
];
# Use the systemd-boot EFI boot loader.
@ -20,15 +21,6 @@
networking.useDHCP = false;
networking.interfaces.enp3s0.useDHCP = true;
# Define a user account. Don't forget to set a password with passwd.
users = {
defaultUserShell = pkgs.zsh;
users.alex = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "render" ]; # Enable sudo for the user.
};
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
@ -174,20 +166,7 @@
} ];
}];
# Open ports in the firewall.
# networking.firewall.enable = true;
# networking.firewall.allowPing = true;
# networking.firewall.allowedTCPPorts = [ 445 139 19999 ];
# networking.firewall.allowedUDPPorts = [ 137 138 19999 ];
# Or disable the firewall altogether.
networking.firewall.enable = 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. Its 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 = "21.05"; # Did you read the comment?
system.stateVersion = "21.05";
}

View File

@ -6,6 +6,7 @@
/etc/nixos/hardware-configuration.nix
../configs/virtualisation.nix
../configs/common.nix
../configs/user.nix
];
# Use the systemd-boot EFI boot loader.
@ -16,24 +17,7 @@
networking.useDHCP = false;
networking.interfaces.enp3s0.useDHCP = true;
users.users.alex = {
defaultUserShell = pkgs.zsh;
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = 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. Its 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 = "21.05"; # Did you read the comment?
system.stateVersion = "21.05";
}

View File

@ -10,6 +10,7 @@ in
../configs/gui.nix
../configs/common.nix
../configs/user.nix
../configs/user-gui.nix
../configs/desktop.nix
];
@ -45,12 +46,5 @@ in
# Or disable the firewall altogether.
# networking.firewall.enable = 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. Its 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 = "21.05"; # Did you read the comment?
system.stateVersion = "21.05";
}

View File

@ -21,6 +21,7 @@ in
../configs/virtualisation.nix
../configs/common.nix
../configs/user.nix
../configs/user-gui.nix
];
# boot.initrd.luks.devices = {
@ -170,17 +171,7 @@ in
# enableSSHSupport = true;
# };
# Open ports in the firewall.
#networking.firewall.allowedTCPPorts = [ 52698 ];
#networking.firewall.allowedUDPPorts = [ 52698 ];
# Or disable the firewall altogether.
networking.firewall.enable = 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. Its 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 = "21.05"; # Did you read the comment?
system.stateVersion = "21.05";
}

View File

@ -6,6 +6,7 @@
/etc/nixos/hardware-configuration.nix
../configs/common.nix
../configs/virtualisation.nix
../configs/user.nix
];
# Use the GRUB 2 boot loader.
@ -20,16 +21,6 @@
networking.useDHCP = false;
networking.interfaces.ens3.useDHCP = true;
# Define a user account. Don't forget to set a password with passwd.
users = {
defaultUserShell = pkgs.zsh;
users.alex = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
};
};
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [
docker-compose
@ -105,19 +96,9 @@
# Limit stack size to reduce memory usage
systemd.services.fail2ban.serviceConfig.LimitSTACK = 256 * 1024;
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
# Or disable the firewall altogether.
# networking.firewall.enable = 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. Its 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 = "21.05"; # Did you read the comment?
system.stateVersion = "21.05";
}