Adding rust
This commit is contained in:
@@ -10,7 +10,7 @@ in {
|
||||
../common/features/hyprland.nix
|
||||
../common/features/pipewire.nix
|
||||
../common/features/docker.nix
|
||||
../common/features/desktop-apps.nix
|
||||
../common/features/fonts.nix
|
||||
../common/features/syncthing.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
../common/global
|
||||
../common/features/hyprland.nix
|
||||
../common/features/docker.nix
|
||||
../common/features/desktop-apps.nix
|
||||
../common/features/fonts.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
||||
in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../common/global
|
||||
../common/features/networking.nix
|
||||
../common/features/hyprland.nix
|
||||
../common/features/docker.nix
|
||||
../common/features/desktop-apps.nix
|
||||
../common/features/syncthing.nix
|
||||
];
|
||||
|
||||
networking.hostName = "nixos-test";
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
useOSProber = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.naps62 = {
|
||||
isNormalUser = true;
|
||||
description = "Miguel Palhas";
|
||||
extraGroups = [ "networkmanager" "input" "wheel" "docker" ];
|
||||
shell = pkgs.zsh;
|
||||
hashedPassword =
|
||||
"$y$j9T$0p/ZYQsSA/FroVjV59pI/0$LKyzass6W9GjJR0GLWI6xhVrLi0b5AYYMR3MvQKNK11";
|
||||
};
|
||||
|
||||
fileSystems."mnt/nfs" = {
|
||||
device = "192.168.122.1:/home/naps62/projects/nixos";
|
||||
fsType = "nfs";
|
||||
options = [ "rw" "soft" ];
|
||||
};
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/f351eb61-2a35-416c-bad6-f49400917b2e";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Reference in New Issue
Block a user