Compare commits

..

No commits in common. "a9a9eff3a3b713e2003dca3f811a187159c7ce79" and "056b899d77b0e0267450d9fe78790832a4bd2260" have entirely different histories.

5 changed files with 6 additions and 70 deletions

2
.envrc
View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
use flake

View file

@ -1,4 +0,0 @@
[[language]]
name = "nix"
auto-format = true
formatter = { command = "alejandra" }

View file

@ -18,16 +18,12 @@
};
};
outputs = {
self,
nixpkgs,
home-manager,
hy3,
...
}: let
outputs = { self, nixpkgs, home-manager, hy3, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
in
{
homeConfigurations."culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
@ -36,19 +32,5 @@
./nix/profiles/culisg.nix
];
};
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
git
helix
pkgs.home-manager
alejandra
nil
];
shellHook = ''
export EDITOR=hx
'';
};
};
}

View file

@ -1,13 +0,0 @@
{
pkgs,
lib,
config,
...
}: {
imports = [
./hardware-configuration.nix
];
# Set your time zone.
time.timeZone = "Europe/Paris";
}

View file

@ -1,27 +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 + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
# 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.enp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp7s0f4u2.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}