alejandra, nix lsp
This commit is contained in:
parent
d44a2ff849
commit
a4e5b89f0e
3 changed files with 157 additions and 151 deletions
13
flake.nix
13
flake.nix
|
|
@ -23,15 +23,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, nix-colors, disko, ... } @ inputs:
|
||||
let
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nix-colors,
|
||||
disko,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
in {
|
||||
nixosConfigurations.virgil = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {inherit inputs;};
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
# 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, self, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
config,
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
# ./disko.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
@ -116,7 +116,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
powerManagement.powertop.enable = true;
|
||||
services = {
|
||||
power-profiles-daemon.enable = false;
|
||||
|
|
@ -152,5 +151,4 @@
|
|||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
services.displayManager.ly.enable = true;
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,20 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
dots = "${config.home.homeDirectory}/nixdots/config";
|
||||
symlink = path: config.lib.file.mkOutOfStoreSymlink path;
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
||||
in
|
||||
{
|
||||
in {
|
||||
imports = [
|
||||
inputs.zen-browser.homeModules.twilight
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
|
||||
];
|
||||
# Home Manager settings
|
||||
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||
home.username = "tulg";
|
||||
home.homeDirectory = "/home/tulg";
|
||||
home.stateVersion = "25.05";
|
||||
|
|
@ -21,6 +24,7 @@ in
|
|||
nwg-look
|
||||
rose-pine-gtk-theme
|
||||
xfce.thunar
|
||||
alejandra
|
||||
arc-theme
|
||||
tmux
|
||||
fastfetch
|
||||
|
|
@ -32,6 +36,7 @@ in
|
|||
parsec-bin
|
||||
file-roller
|
||||
hyprpolkitagent
|
||||
pkgs.nixd
|
||||
swww
|
||||
grim
|
||||
slurp
|
||||
|
|
@ -94,6 +99,7 @@ in
|
|||
|
||||
shellAliases = {
|
||||
a = "echo ids";
|
||||
rb = "nixos-rebuild switch --flake";
|
||||
};
|
||||
|
||||
bashrcExtra = ''
|
||||
|
|
@ -119,11 +125,8 @@ in
|
|||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue