/etc/nixos copied

This commit is contained in:
Nico
2025-04-28 23:10:42 +02:00
parent ca27831f4a
commit 9476766bb0
11 changed files with 95 additions and 25 deletions

View File

@@ -8,6 +8,7 @@
inputs.home-manager.nixosModules.default
];
# home manager
home-manager = {
extraSpecialArgs = { inherit inputs; };
@@ -29,17 +30,15 @@ boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
swapDevices = [ ];
fileSystems."mnt/win" = {
device = "/dev/sdb1";
fsType = "ntfs";
};
# fileSystems."mnt/win" = {
# device = "/dev/sdb1";
# fsType = "ntfs";
# };
# Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
networking.hostName = "nico-nixos"; # Define your hostname.
networking.hostName = "nixos"; # Define your hostname.
networking.enableIPv6 = false;
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -51,11 +50,11 @@ boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true;
# VM
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.enableExtensionPack = true;
virtualisation.virtualbox.host.enableKvm = true;
virtualisation.virtualbox.host.addNetworkInterface = false;
users.extraGroups.vboxusers.members = [ "nico" ];
# virtualisation.virtualbox.host.enable = true;
# virtualisation.virtualbox.host.enableExtensionPack = true;
# virtualisation.virtualbox.host.enableKvm = true;
# virtualisation.virtualbox.host.addNetworkInterface = false;
# users.extraGroups.vboxusers.members = [ "nico" ];
# virtualisation.virtualbox.guest.enable = true;
# virtualisation.virtualbox.guest.dragAndDrop = true;
# virtualisation.docker.enable = true;
@@ -109,23 +108,16 @@ services.mullvad-vpn.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.nico = { isNormalUser = true; description = "nico"; extraGroups = [ "networkmanager"
"wheel" "adbusers" "docker"]; packages = with pkgs; [
obsidian
musescore
mullvad-vpn
];
};
users.defaultUserShell = pkgs.nushell;
users.defaultUserShell = pkgs.zsh;
environment.shells = with pkgs; [ zsh nushell ];
programs.zsh.enable = true;
# Install firefox.
programs.firefox.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run: $ nix search wget
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed