Setup nix on new SSD
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
let python-packages = ps: with ps; [ ];
|
||||
in rec {
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
@ -131,7 +132,7 @@
|
||||
uid = 1000;
|
||||
group = "julian";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
packages = with pkgs; [
|
||||
hunspell
|
||||
hunspellDicts.de_DE
|
||||
@ -152,16 +153,16 @@
|
||||
};
|
||||
|
||||
users.groups.julian = { gid = 1000; };
|
||||
users.groups.wolfi = { gid = 1001; };
|
||||
# users.groups.wolfi = { gid = 1001; };
|
||||
|
||||
users.users.wolfi = {
|
||||
isNormalUser = true;
|
||||
description = "Wolfi";
|
||||
uid = 1001;
|
||||
group = "wolfi";
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
# users.users.wolfi = {
|
||||
# isNormalUser = true;
|
||||
# description = "Wolfi";
|
||||
# uid = 1001;
|
||||
# group = "wolfi";
|
||||
# shell = pkgs.fish;
|
||||
# extraGroups = [ "networkmanager" "wheel" ];
|
||||
# };
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
@ -198,11 +199,15 @@
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.python3.withPackages python-packages)
|
||||
firefox
|
||||
thunderbird
|
||||
nextcloud-client
|
||||
qalculate-gtk
|
||||
libqalculate
|
||||
|
||||
schildichat-desktop
|
||||
tdesktop
|
||||
|
||||
@ -300,6 +305,11 @@
|
||||
|
||||
poppler_utils # Pdf utils including pdfimages
|
||||
matlab # Using nix-matlab overlay defined in flake
|
||||
sage
|
||||
|
||||
devbox
|
||||
parted
|
||||
du-dust # Like du tree but better
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
@ -321,6 +331,8 @@
|
||||
source-code-pro
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
Reference in New Issue
Block a user