install solaar for use on yukari
This commit is contained in:
parent
183db10312
commit
75a38fab65
17 changed files with 21 additions and 302 deletions
|
@ -1,11 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
{ inputs, lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
../common
|
||||
./hardware-configuration.nix
|
||||
|
@ -14,31 +7,25 @@
|
|||
../desktop/plasma.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
nixpkgs = { config = { allowUnfree = true; }; };
|
||||
|
||||
nix = let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
|
||||
in {
|
||||
settings = {
|
||||
flake-registry = "";
|
||||
nix-path = config.nix.nixPath;
|
||||
};
|
||||
channel.enable = false;
|
||||
|
||||
registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs;
|
||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||
};
|
||||
|
||||
nix =
|
||||
let
|
||||
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
|
||||
in
|
||||
{
|
||||
settings = {
|
||||
flake-registry = "";
|
||||
nix-path = config.nix.nixPath;
|
||||
};
|
||||
channel.enable = false;
|
||||
|
||||
registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs;
|
||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
hardware.graphics.enable = true;
|
||||
hardware.logitech.wireless.enable = true;
|
||||
|
||||
networking.hostName = "yukari";
|
||||
|
||||
|
@ -66,17 +53,12 @@
|
|||
lu = {
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"storage"
|
||||
];
|
||||
extraGroups = [ "wheel" "storage" ];
|
||||
};
|
||||
};
|
||||
|
||||
# network stuff
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
networking.networkmanager = { enable = true; };
|
||||
|
||||
# fish shell
|
||||
programs.fish = {
|
||||
|
@ -89,9 +71,7 @@
|
|||
};
|
||||
|
||||
# hyprland stuff
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
};
|
||||
programs.hyprland = { enable = true; };
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = "23.11";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue