Adding asdf
This commit is contained in:
Generated
+17
@@ -348,6 +348,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hardware": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1728056216,
|
||||||
|
"narHash": "sha256-IrO06gFUDTrTlIP3Sz+mRB6WUoO2YsgMtOD3zi0VEt0=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"rev": "b7ca02c7565fbf6d27ff20dd6dbd49c5b82eef28",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hercules-ci-effects": {
|
"hercules-ci-effects": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
@@ -837,6 +853,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"catppuccin": "catppuccin",
|
"catppuccin": "catppuccin",
|
||||||
"foundry": "foundry",
|
"foundry": "foundry",
|
||||||
|
"hardware": "hardware",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
url = "github:shazow/foundry.nix/monthly";
|
url = "github:shazow/foundry.nix/monthly";
|
||||||
};
|
};
|
||||||
utils.url = "github:numtide/flake-utils";
|
utils.url = "github:numtide/flake-utils";
|
||||||
|
hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|||||||
@@ -1,4 +1,13 @@
|
|||||||
{ inputs, lib, pkgs, config, outputs, catppuccin, ... }: {
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
outputs,
|
||||||
|
catppuccin,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nix-colors.homeManagerModule
|
inputs.nix-colors.homeManagerModule
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
@@ -19,7 +28,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
monitor = [ "eDP-1, preferred, 0x1080, 1.2, bitdepth, 8" ];
|
monitor = [ "eDP-1, preferred, 0x1080, 1, bitdepth, 8" ];
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"float, class:thunar"
|
"float, class:thunar"
|
||||||
"move cursor -50% -50%, class:thunar"
|
"move cursor -50% -50%, class:thunar"
|
||||||
@@ -27,7 +36,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.kitty.settings.font_size = 8;
|
programs.kitty.settings.font_size = 12;
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = lib.mkDefault "naps62";
|
username = lib.mkDefault "naps62";
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [ asdf-vm ];
|
||||||
|
}
|
||||||
@@ -1,5 +1,13 @@
|
|||||||
{ lib, config, ... }: {
|
{ lib, config, ... }:
|
||||||
imports = [ ./zsh.nix ./neovim ./rust.nix ./git ./solidity.nix ];
|
{
|
||||||
|
imports = [
|
||||||
|
./zsh.nix
|
||||||
|
./neovim
|
||||||
|
./rust.nix
|
||||||
|
./git
|
||||||
|
./solidity.nix
|
||||||
|
./asdf.nix
|
||||||
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|||||||
@@ -1,17 +1,20 @@
|
|||||||
{ config, pkgs, ... }: let
|
{ config, pkgs, ... }:
|
||||||
rofiLaunchers = import ../../../pkgs/rofi-launchers/package.nix {};
|
let
|
||||||
in {
|
rofiLaunchers = import ../../../pkgs/rofi-launchers/package.nix { };
|
||||||
imports = [./rofi.nix];
|
in
|
||||||
|
{
|
||||||
|
imports = [ ./rofi.nix ];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [ hyprcursor ];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
HYPRCURSOR_THEME = "Phinger Cursors";
|
|
||||||
HYPRCURSOR_SIZE = 32;
|
|
||||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||||
XCURSOR_SIZE = 32;
|
XCURSOR_SIZE = 32;
|
||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
catppuccin.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
decoration = {
|
decoration = {
|
||||||
blur = {
|
blur = {
|
||||||
@@ -33,11 +36,15 @@ in {
|
|||||||
repeat_delay = 150;
|
repeat_delay = 150;
|
||||||
repeat_rate = 25;
|
repeat_rate = 25;
|
||||||
|
|
||||||
touchpad = { natural_scroll = "yes"; };
|
touchpad = {
|
||||||
|
natural_scroll = "yes";
|
||||||
|
};
|
||||||
numlock_by_default = "true";
|
numlock_by_default = "true";
|
||||||
};
|
};
|
||||||
|
|
||||||
cursor = { no_hardware_cursors = "yes"; };
|
cursor = {
|
||||||
|
no_hardware_cursors = "yes";
|
||||||
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 2;
|
gaps_in = 2;
|
||||||
@@ -81,8 +88,8 @@ in {
|
|||||||
"$mod, f, fullscreen, 0"
|
"$mod, f, fullscreen, 0"
|
||||||
"$mod SHIFT, f, fullscreen, 1"
|
"$mod SHIFT, f, fullscreen, 1"
|
||||||
|
|
||||||
# rofi
|
# rofi
|
||||||
"$mod, space, exec, launcher_t2"
|
"$mod, space, exec, launcher_t2"
|
||||||
|
|
||||||
# move focus with mod + arrows
|
# move focus with mod + arrows
|
||||||
"$mod, h, movefocus, l"
|
"$mod, h, movefocus, l"
|
||||||
|
|||||||
@@ -1,12 +1,19 @@
|
|||||||
{ inputs, pkgs, ... }:
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||||
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../common/global
|
../common/global
|
||||||
../common/features/networking.nix
|
../common/features/networking.nix
|
||||||
|
../common/features/nvidia.nix
|
||||||
../common/features/hyprland.nix
|
../common/features/hyprland.nix
|
||||||
../common/features/pipewire.nix
|
../common/features/pipewire.nix
|
||||||
../common/features/docker.nix
|
../common/features/docker.nix
|
||||||
@@ -30,9 +37,13 @@ in {
|
|||||||
users.users.naps62 = {
|
users.users.naps62 = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Miguel Palhas";
|
description = "Miguel Palhas";
|
||||||
extraGroups = [ "networkmanager" "input" "wheel" "docker" ];
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
"input"
|
||||||
|
"wheel"
|
||||||
|
"docker"
|
||||||
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
initialHashedPassword =
|
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
|
||||||
"$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
@@ -26,15 +26,14 @@
|
|||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices = [ ];
|
||||||
[ { device = "/dev/disk/by-uuid/bf830d6d-0a67-4d26-a6a9-e7954269d71d"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (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
|
# 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`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ in
|
|||||||
{
|
{
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.hyprcursor ];
|
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
open = false;
|
open = false;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.xwayland.enable = true;
|
programs.xwayland.enable = true;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.home-manager
|
pkgs.home-manager
|
||||||
pkgs.zsh
|
pkgs.zsh
|
||||||
pkgs.asdf-vm
|
|
||||||
];
|
];
|
||||||
|
|
||||||
time = {
|
time = {
|
||||||
|
|||||||
Reference in New Issue
Block a user