update, reformatted with alejandra
This commit is contained in:
parent
9b931aed52
commit
23f622a378
17
flake.lock
17
flake.lock
|
@ -302,22 +302,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"mpd-discord-rpc": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696275938,
|
||||
"narHash": "sha256-hIbODswDa50BoAysXXT2HEoJJIp4d28NAQBm3DzYILg=",
|
||||
"owner": "JakeStanger",
|
||||
"repo": "mpd-discord-rpc",
|
||||
"rev": "f887d05794a6dffb1cc4e143e8155d6b318e0e1a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "JakeStanger",
|
||||
"repo": "mpd-discord-rpc",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -437,7 +421,6 @@
|
|||
"hyprland": "hyprland",
|
||||
"hyprland-contrib": "hyprland-contrib",
|
||||
"hyprpicker": "hyprpicker",
|
||||
"mpd-discord-rpc": "mpd-discord-rpc",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixd": "nixd",
|
||||
"nixpkgs": "nixpkgs",
|
||||
|
|
20
flake.nix
20
flake.nix
|
@ -80,8 +80,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
||||
let
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
|
@ -100,18 +104,20 @@
|
|||
inputs.nixd.overlays.default
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
overlays = (import ./overlay.nix { inherit inputs; });
|
||||
in {
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
overlays = import ./overlay.nix {inherit inputs;};
|
||||
|
||||
nixosConfigurations.terra = nixpkgs.lib.nixosSystem
|
||||
nixosConfigurations.terra =
|
||||
nixpkgs.lib.nixosSystem
|
||||
{
|
||||
inherit system;
|
||||
inherit pkgs;
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./system/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
users.manuel = import ./user/home.nix;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
{inputs, ...}: {
|
||||
default = final: prev: {
|
||||
|
||||
gruvbox-plus-icon-pack = final.callPackage ./pkgs/gruvbox-plus-icon-pack {inherit inputs;};
|
||||
|
||||
ncmpcpp = prev.ncmpcpp.override {
|
||||
|
@ -32,7 +30,7 @@
|
|||
extraLibraries = prev: [];
|
||||
};
|
||||
|
||||
nvim-hmts = prev.vimUtils.buildVimPluginFrom2Nix {
|
||||
nvim-hmts = prev.vimUtils.buildVimPlugin {
|
||||
pname = "nvim-hmts";
|
||||
version = "1";
|
||||
src = inputs.nvim-hmts;
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{ stdenvNoCC, fetchFromGitHub, inputs, gtk3, fd, gnome-icon-theme, hicolor-icon-theme }:
|
||||
|
||||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
inputs,
|
||||
gtk3,
|
||||
fd,
|
||||
gnome-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "gruvbox-plus-icon-pack";
|
||||
version = "9999";
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{ pkgs, lib, config, inputs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./hardware
|
||||
|
@ -12,11 +17,9 @@
|
|||
|
||||
kernel.sysctl."vm.max_map_count" = 16777216; #Star Citizen crash fix
|
||||
|
||||
#kernelPackages = pkgs.linuxPackages_latest;
|
||||
supportedFilesystems = [ "bcachefs" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelModules = ["i2c-dev" "i2c-piix4"];
|
||||
kernelParams =
|
||||
[
|
||||
kernelParams = [
|
||||
"amdgpu.ppfeaturemask=0xffffffff"
|
||||
"net.ifnames=0"
|
||||
"amd_pstate.shared_mem=1"
|
||||
|
@ -26,7 +29,7 @@
|
|||
loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
|
||||
grub = {
|
||||
|
@ -76,7 +79,6 @@
|
|||
keyMap = "us-acentos";
|
||||
};
|
||||
|
||||
|
||||
# Enable sound.
|
||||
sound.enable = true;
|
||||
|
||||
|
@ -89,11 +91,13 @@
|
|||
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [{
|
||||
extraRules = [
|
||||
{
|
||||
users = ["manuel"];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -167,7 +171,6 @@
|
|||
"https://nyx.chaotic.cx"
|
||||
"https://hyprland.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
|
||||
];
|
||||
|
||||
trusted-public-keys = [
|
||||
|
@ -181,4 +184,3 @@
|
|||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
||||
|
|
|
@ -1,39 +1,48 @@
|
|||
# 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 = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "bcache" ];
|
||||
boot.initrd.availableKernelModules = ["nvme"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/nvme1n1p2";
|
||||
fsType = "bcachefs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/BE4D-EFA9";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/hdd" =
|
||||
{ device = "/dev/disk/by-uuid/ecbbfb05-ada8-4044-81a6-9a280f93802f";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/cc08e6a4-46ef-4207-a2d9-195e36e06179";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/nvme0n1p1";
|
||||
fsType = "bcachefs";
|
||||
fileSystems."/boot/efi" = {
|
||||
device = "/dev/disk/by-uuid/BE4D-EFA9";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
fileSystems."/mnt/hdd" = {
|
||||
device = "/dev/disk/by-uuid/ecbbfb05-ada8-4044-81a6-9a280f93802f";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/9d1be271-ca41-43cc-a334-016103bfde1a";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/swapfile";
|
||||
size = 8 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
# 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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = [pkgs.libvdpau-va-gl];
|
||||
|
@ -14,6 +13,4 @@
|
|||
enable = true;
|
||||
extraBackends = [pkgs.sane-airscan];
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
fish.enable = true;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./avahi
|
||||
./locate
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.locate = {
|
||||
enable = true;
|
||||
locate = pkgs.plocate;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
services.printing = {
|
||||
enable = true;
|
||||
drivers = [pkgs.cnijfilter2];
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
services.udev = {
|
||||
packages = [pkgs.openrgb];
|
||||
};
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = [pkgs.cava];
|
||||
|
||||
xdg.configFile."cava/config".text = lib.generators.toINI {} {
|
||||
|
@ -16,4 +19,3 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.dircolors = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
|
@ -68,7 +72,6 @@
|
|||
".zip" = "01;31";
|
||||
".zoo" = "01;31";
|
||||
|
||||
|
||||
".anx" = "01;35";
|
||||
".asf" = "01;35";
|
||||
".avi" = "01;35";
|
||||
|
@ -155,8 +158,6 @@
|
|||
".xls" = "38;5;109";
|
||||
".xlsx" = "38;5;109";
|
||||
".xml" = "38;5;109";
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
programs.browserpass = {
|
||||
enable = true;
|
||||
browsers = ["firefox"];
|
||||
|
|
|
@ -1,11 +1,21 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
||||
plugins = [
|
||||
{ name = "gruvbox-theme"; src = inputs.fish-plugin-gruvbox-theme; }
|
||||
{ name = "bobthefish"; src = inputs.fish-plugin-bobthefish; }
|
||||
{
|
||||
name = "gruvbox-theme";
|
||||
src = inputs.fish-plugin-gruvbox-theme;
|
||||
}
|
||||
{
|
||||
name = "bobthefish";
|
||||
src = inputs.fish-plugin-bobthefish;
|
||||
}
|
||||
];
|
||||
|
||||
interactiveShellInit = ''
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
home.packages = [
|
||||
pkgs.libsForQt5.qtstyleplugin-kvantum
|
||||
];
|
||||
|
|
|
@ -68,8 +68,7 @@
|
|||
alternative_header_second_line_format = "$7{%t}|{%f}$0";
|
||||
progressbar_look = "─╼ ";
|
||||
|
||||
song_columns_list_format =
|
||||
"(25)[5]{a:artist} (3f)[5]{n: } (50)[cyan]{t|f:title} (5)[cyan]{lr:duration}";
|
||||
song_columns_list_format = "(25)[5]{a:artist} (3f)[5]{n: } (50)[cyan]{t|f:title} (5)[cyan]{lr:duration}";
|
||||
playlist_display_mode = "columns";
|
||||
browser_display_mode = "columns";
|
||||
search_engine_display_mode = "columns";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
vim.opt.list = true
|
||||
vim.opt.listchars:append "eol:↴"
|
||||
|
||||
require("indent_blankline").setup {
|
||||
require("ibl").setup {
|
||||
show_end_of_line = true,
|
||||
}
|
|
@ -5,7 +5,7 @@ require("plugins.colorizer")
|
|||
require("plugins.colorscheme")
|
||||
require("plugins.comment")
|
||||
require("plugins.dressing")
|
||||
require("plugins.indent-blankline")
|
||||
require("plugins.ibl")
|
||||
require("plugins.lspconfig")
|
||||
require("plugins.lualine")
|
||||
require("plugins.smartsplits")
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
||||
|
@ -45,7 +44,8 @@
|
|||
lspkind-nvim
|
||||
];
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
extraPackages = with pkgs;
|
||||
[
|
||||
nodePackages.bash-language-server
|
||||
clang-tools
|
||||
lua-language-server
|
||||
|
@ -57,7 +57,8 @@
|
|||
nodePackages.typescript-language-server
|
||||
nodePackages.vscode-css-languageserver-bin
|
||||
zls
|
||||
] ++ [
|
||||
]
|
||||
++ [
|
||||
pkgs.nvim-hmts
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
@ -8,16 +8,16 @@ const Workspaces = (monitor) => Box({
|
|||
if (monitor == 0) {
|
||||
box.children = [1,2,3].map(i => Button({
|
||||
onClicked: () => execAsync(`hyprctl dispatch workspace ${i}`),
|
||||
onScrollUp: () => execAsync(`hyprctl dispatch workspace +1`),
|
||||
onScrollDown: () => execAsync(`hyprctl dispatch workspace -1`),
|
||||
onScrollDown: () => execAsync(`hyprctl dispatch workspace +1`),
|
||||
onScrollUp: () => execAsync(`hyprctl dispatch workspace -1`),
|
||||
child: Label({ label: `${i}` }),
|
||||
className: Hyprland.active.workspace.id == i ? 'focused' : '',
|
||||
}));
|
||||
} else if (monitor == 1) {
|
||||
box.children = [4,5,6].map(i => Button({
|
||||
onClicked: () => execAsync(`hyprctl dispatch workspace ${i}`),
|
||||
onScrollUp: () => execAsync(`hyprctl dispatch workspace +1`),
|
||||
onScrollDown: () => execAsync(`hyprctl dispatch workspace -1`),
|
||||
onScrollDown: () => execAsync(`hyprctl dispatch workspace +1`),
|
||||
onScrollUp: () => execAsync(`hyprctl dispatch workspace -1`),
|
||||
child: Label({ label: `${i}` }),
|
||||
className: Hyprland.active.workspace.id == i ? 'focused' : '',
|
||||
}));
|
||||
|
@ -25,7 +25,6 @@ const Workspaces = (monitor) => Box({
|
|||
}]],
|
||||
});
|
||||
|
||||
|
||||
const WindowTitle = () => Label({
|
||||
connections: [[Hyprland, label => {
|
||||
label.label = Hyprland.active.client.title || '';
|
||||
|
@ -78,9 +77,9 @@ const Volume = () => Button({
|
|||
|
||||
const Media = () => Button({
|
||||
className: 'media',
|
||||
onPrimaryClick: () => Mpris.getPlayer('mpd')?.playPause(),
|
||||
onScrollUp: () => Mpris.getPlayer('mpd')?.previous(),
|
||||
onScrollDown: () => Mpris.getPlayer('mpd')?.next(),
|
||||
onPrimaryClick: () => Mpris.getPlayer('')?.playPause(),
|
||||
onScrollUp: () => Mpris.getPlayer('')?.previous(),
|
||||
onScrollDown: () => Mpris.getPlayer('')?.next(),
|
||||
|
||||
child: Box({
|
||||
children: [
|
||||
|
@ -92,7 +91,7 @@ const Media = () => Button({
|
|||
],
|
||||
|
||||
connections: [[Mpris, stack => {
|
||||
const mpris = Mpris.getPlayer('mpd');
|
||||
const mpris = Mpris.getPlayer('');
|
||||
|
||||
switch (mpris.playBackStatus) {
|
||||
case "Playing":
|
||||
|
@ -109,7 +108,7 @@ const Media = () => Button({
|
|||
|
||||
Label({
|
||||
connections: [[Mpris, label => {
|
||||
const mpris = Mpris.getPlayer('mpd');
|
||||
const mpris = Mpris.getPlayer('');
|
||||
if (!mpris || mpris.playBackStatus == "Stopped")
|
||||
label.label = ' Stopped';
|
||||
else
|
||||
|
|
|
@ -7,6 +7,8 @@ $activewsbg: rgb(102,92,84);
|
|||
|
||||
$box-bg: rgb(80,73,69);
|
||||
|
||||
$box-border-radius: 10px;
|
||||
|
||||
* {
|
||||
min-height: unset;
|
||||
}
|
||||
|
@ -21,13 +23,13 @@ $box-bg: rgb(80,73,69);
|
|||
|
||||
.workspaces {
|
||||
background-color: $box-bg;
|
||||
border-radius: 10px;
|
||||
border-radius: $box-border-radius;
|
||||
margin: 5px 0px 5px 10px;
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
.workspaces button {
|
||||
border-radius: 0px;
|
||||
border-radius: 0;
|
||||
background-color: $wsbg;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
@ -38,30 +40,30 @@ $box-bg: rgb(80,73,69);
|
|||
}
|
||||
|
||||
.workspaces button:first-child {
|
||||
border-radius: 10px 0px 0px 10px;
|
||||
border-radius: $box-border-radius 0px 0px $box-border-radius;
|
||||
}
|
||||
|
||||
.workspaces button:last-child {
|
||||
border-radius: 0px 10px 10px 0px;
|
||||
border-radius: 0px $box-border-radius $box-border-radius 0px;
|
||||
}
|
||||
|
||||
.windowTitle {
|
||||
background-color: $box-bg;
|
||||
border-radius: 10px;
|
||||
border-radius: $box-border-radius;
|
||||
padding: 0px 10px 0px 10px;
|
||||
margin: 5px 0px 5px 10px;
|
||||
}
|
||||
|
||||
.volume {
|
||||
background-color: $box-bg;
|
||||
border-radius: 10px 0px 0px 10px;
|
||||
border-radius: $box-border-radius;
|
||||
padding: 0px 10px 0px 10px;
|
||||
margin: 5px 5px 5px 0px;
|
||||
}
|
||||
|
||||
.media {
|
||||
background-color: $box-bg;
|
||||
border-radius: 0px 10px 10px 0px;
|
||||
border-radius: $box-border-radius;
|
||||
padding: 0px 10px 0px 10px;
|
||||
margin: 5px 10px 5px 0px;
|
||||
}
|
||||
|
@ -69,14 +71,14 @@ $box-bg: rgb(80,73,69);
|
|||
.date {
|
||||
background-color: $box-bg;
|
||||
padding: 0px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: $box-border-radius;
|
||||
margin: 5px 10px 5px 0px;
|
||||
};
|
||||
|
||||
.tray {
|
||||
background-color: $box-bg;
|
||||
padding: 0px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
border-radius: $box-border-radius;
|
||||
margin: 5px 10px 5px 0px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ pkgs, lib, inputs, ...}:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.ags.homeManagerModules.default];
|
||||
|
||||
programs.ags = {
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -34,4 +38,3 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
let
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
leftMonitor = {
|
||||
display = "DP-2";
|
||||
res = "2560x1440";
|
||||
|
@ -50,10 +54,7 @@ let
|
|||
|
||||
pass show -c "$password" 2>/dev/null
|
||||
'';
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
imports = [
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
../ags
|
||||
|
@ -102,8 +103,7 @@ in
|
|||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
force_default_wallpaper = 0
|
||||
vfr = true
|
||||
vrr = 2
|
||||
# enable_swallow = true
|
||||
|
@ -190,7 +190,7 @@ in
|
|||
bind = , XF86AudioRaiseVolume, exec, ${pkgs.pamixer}/bin/pamixer -i 10 --get-volume > ${wobsock}
|
||||
bind = , XF86AudioLowerVolume, exec, ${pkgs.pamixer}/bin/pamixer -d 10 --get-volume > ${wobsock}
|
||||
|
||||
bind = CTRL, Space, exec, ${pkgs.mako}/bin/makoctl dismiss
|
||||
bind = SHIFT CTRL, Space, exec, ${pkgs.mako}/bin/makoctl dismiss
|
||||
bind = CTRL, grave, exec, ${pkgs.mako}/bin/makoctl restore
|
||||
bind = ${modKey} SHIFT, O, exec, ${killprocess}/bin/killprocess.sh
|
||||
bind = ${modKey} SHIFT, P, exec, ${passmenu}/bin/passmenu.sh
|
||||
|
@ -235,4 +235,3 @@ in
|
|||
|
||||
home.packages = [pkgs.wl-clipboard pkgs.wl-clipboard-x11 pkgs.hyprpicker pkgs.swww pkgs.hyprprop];
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
anchor = "top-right";
|
||||
|
@ -18,4 +21,3 @@
|
|||
font = "JetBrainsMono Nerd Font Regular 10";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
{lib, ...}: {
|
||||
xdg.configFile."wob/wob.ini".text = lib.generators.toINIWithGlobalSection {} {
|
||||
globalSection = {
|
||||
height = "40";
|
||||
|
@ -9,9 +8,7 @@
|
|||
|
||||
background_color = "282828FF";
|
||||
bar_color = "665C54FF";
|
||||
|
||||
};
|
||||
sections = {};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -14,4 +14,3 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./configs/beets
|
||||
./configs/cava
|
||||
|
@ -169,7 +173,6 @@
|
|||
preset = "DT770";
|
||||
};
|
||||
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
|
@ -180,4 +183,3 @@
|
|||
|
||||
home.stateVersion = "23.05";
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue