diff options
Diffstat (limited to 'system/default.nix')
-rw-r--r-- | system/default.nix | 69 |
1 files changed, 6 insertions, 63 deletions
diff --git a/system/default.nix b/system/default.nix index a026eb1..4695ea6 100644 --- a/system/default.nix +++ b/system/default.nix @@ -4,6 +4,11 @@ pkgs, ... }: { + imports = [ + ./hardware.nix + ./sshd.nix + ]; + # allow flakes nix.settings.experimental-features = ["nix-command" "flakes"]; @@ -121,15 +126,11 @@ openFirewall = true; }; - # docker - virtualisation.docker.enable = true; - virtualisation.docker.storageDriver = "btrfs"; - # create user account users.users.${config.user} = { isNormalUser = true; description = config.fullName; - extraGroups = ["networkmanager" "wheel" "sys" "video" "audio" "docker" "libvirtd"]; + extraGroups = ["networkmanager" "wheel" "sys" "video" "audio"]; home = config.homePath; shell = pkgs.zsh; }; @@ -139,62 +140,4 @@ ../files/certs/freyanet.crt ../files/certs/tinternet.crt ]; - - # mime - environment.pathsToLink = [ - "/share/mime" - ]; - - # fonts - fonts.packages = - (with pkgs; [ - corefonts - dejavu_fonts - fira-code - fira-code-symbols - jetbrains-mono - material-icons - nerd-fonts.fira-code - noto-fonts - noto-fonts-cjk-sans - noto-fonts-emoji - twemoji-color-font - vistafonts - ]) - ++ (with inputs.apple-fonts.packages.${pkgs.system}; [ - sf-pro - sf-mono - sf-compact - ]); - - fonts.fontconfig = { - enable = true; - defaultFonts = { - serif = [ - "Twemoji" - "DejaVu Serif" - ]; - sansSerif = [ - "Twemoji" - "DejaVu Sans" - ]; - monospace = [ - "Fira Code" - "FiraCode Nerd Font Mono" - "Font Awesome 6 Pro Regular" - "Twemoji" - "DejaVu Sans Mono" - ]; - emoji = [ - "Twemoji" - "Noto Color Emoji" - ]; - }; - }; - - # vms - programs.virt-manager.enable = true; - users.groups.libvirtd.members = [config.user]; - virtualisation.libvirtd.enable = true; - virtualisation.spiceUSBRedirection.enable = true; } |