Run alejandra
Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
parent
1bbb38031c
commit
3a2886df79
5 changed files with 59 additions and 54 deletions
|
@ -1,13 +1,13 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
@ -137,7 +137,6 @@
|
|||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
|
@ -156,5 +155,4 @@
|
|||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
(emoji +unicode) ; 🙂
|
||||
;;(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;hydra
|
||||
;;indent-guides ; highlighted indent columns
|
||||
|
|
|
@ -19,7 +19,11 @@
|
|||
};
|
||||
|
||||
outputs = {
|
||||
self, home-manager, nixpkgs, tuxedo-nixos, nix-doom-emacs
|
||||
self,
|
||||
home-manager,
|
||||
nixpkgs,
|
||||
tuxedo-nixos,
|
||||
nix-doom-emacs,
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
nixos-pulse = nixpkgs.lib.nixosSystem {
|
||||
|
@ -43,4 +47,3 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
# 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")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "uas" "sd_mod"];
|
||||
|
@ -13,20 +17,20 @@
|
|||
boot.kernelModules = ["kvm-amd" "amdgpu"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/6ae6ea01-72d5-4cee-a512-7aab551577a0";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/6ae6ea01-72d5-4cee-a512-7aab551577a0";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-0ebc7402-5f50-4549-a407-b1f859285102".device = "/dev/disk/by-uuid/0ebc7402-5f50-4549-a407-b1f859285102";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/B471-B193";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/B471-B193";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/5b3a6fa6-bdec-4bfb-914d-48d870776a53"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/5b3a6fa6-bdec-4bfb-914d-48d870776a53";}
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
@ -49,5 +53,4 @@
|
|||
systemd.tmpfiles.rules = [
|
||||
"L+ /opt/rocm/hip - - - - ${pkgs.hip}"
|
||||
];
|
||||
|
||||
}
|
||||
|
|
7
home.nix
7
home.nix
|
@ -1,5 +1,4 @@
|
|||
{ nix-doom-emacs-module, ... }:
|
||||
{
|
||||
{nix-doom-emacs-module, ...}: {
|
||||
home-manager.users.tristand = {pkgs, ...}: {
|
||||
imports = [
|
||||
nix-doom-emacs-module
|
||||
|
@ -49,6 +48,8 @@
|
|||
thunderbird
|
||||
];
|
||||
home.stateVersion = "23.05";
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue