Thu 25 Jul 15:29:31 CEST 2024

This commit is contained in:
Thomas Avé 2024-07-25 15:29:31 +02:00
parent 2c9efde7ef
commit 3bc0c0977e
8 changed files with 311 additions and 41 deletions

View File

@ -2,14 +2,15 @@
"nodes": {
"ags": {
"inputs": {
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"systems": "systems"
},
"locked": {
"lastModified": 1721074762,
"narHash": "sha256-RhqFBMLh6G5vAo7Jz9mdsworI50E4FAAg7rPho4CNfY=",
"lastModified": 1721306136,
"narHash": "sha256-VKPsIGf3/a+RONBipx4lEE4LXG2sdMNkWQu22LNQItg=",
"owner": "Aylur",
"repo": "ags",
"rev": "8194f0c9546a150525a2022c17aed51df1464b80",
"rev": "344ea72cd3b8d4911f362fec34bce7d8fb37028c",
"type": "github"
},
"original": {
@ -18,6 +19,60 @@
"type": "github"
}
},
"aquamarine": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1721853718,
"narHash": "sha256-QEkCryhEMBW8maWEbwN0LoJIjdt640FviwMeJpghJXM=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "353dc1b7299d43f08de44276b93ae32726ff9d70",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "aquamarine",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"walker",
"nixpkgs"
]
},
"locked": {
"lastModified": 1719994518,
"narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -25,11 +80,11 @@
]
},
"locked": {
"lastModified": 1721135958,
"narHash": "sha256-H548rpPMsn25LDKn1PCFmPxmWlClJJGnvdzImHkqjuY=",
"lastModified": 1721852138,
"narHash": "sha256-JH8N5uoqoVA6erV4O40VtKKHsnfmhvMGbxMNDLtim5o=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "afd2021bedff2de92dfce0e257a3d03ae65c603d",
"rev": "304a011325b7ac7b8c9950333cd215a7aa146b0e",
"type": "github"
},
"original": {
@ -54,11 +109,11 @@
]
},
"locked": {
"lastModified": 1720108799,
"narHash": "sha256-AxRkTJlbB8r7aG6gvc7IaLhc2T9TO4/8uqanKRxukBQ=",
"lastModified": 1721330371,
"narHash": "sha256-aYlHTWylczLt6ERJyg6E66Y/XSCbVL7leVcRuJmVbpI=",
"owner": "hyprwm",
"repo": "hyprcursor",
"rev": "a5c0d57325c5f0814c39110a70ca19c070ae9486",
"rev": "4493a972b48f9c3014befbbf381ed5fff91a65dc",
"type": "github"
},
"original": {
@ -69,20 +124,21 @@
},
"hyprland": {
"inputs": {
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor",
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs_2",
"systems": "systems",
"systems": "systems_2",
"xdph": "xdph"
},
"locked": {
"lastModified": 1721160190,
"narHash": "sha256-dnC7b/C8QRPoGs2H2cAYWmrTRVhN5m1xDpyrNTqV8r8=",
"lastModified": 1721909528,
"narHash": "sha256-e+Bd9axZaiVjml/OxZg0sP/zODQWn4eslKjJP1gwEz0=",
"ref": "refs/heads/main",
"rev": "293e687389a19b369f312c5c335c9afe7c886be1",
"revCount": 4929,
"rev": "a0d15a0b7b066cbb1b08ac54cf882c2c55467e4a",
"revCount": 4983,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -136,11 +192,11 @@
]
},
"locked": {
"lastModified": 1720381373,
"narHash": "sha256-lyC/EZdHULsaAKVryK11lgHY9u6pXr7qR4irnxNWC7k=",
"lastModified": 1721324361,
"narHash": "sha256-BiJKO0IIdnSwHQBSrEJlKlFr753urkLE48wtt0UhNG4=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "5df0174fd09de4ac5475233d65ffc703e89b82eb",
"rev": "adbefbf49664a6c2c8bf36b6487fd31e3eb68086",
"type": "github"
},
"original": {
@ -161,11 +217,11 @@
]
},
"locked": {
"lastModified": 1721071737,
"narHash": "sha256-qmC9jGfbE4+EIBbbSAkrfR/p49wShjpv4/KztgE/P54=",
"lastModified": 1721324102,
"narHash": "sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "eb1ceff2b87f6820789249f63faa8e9dcb54d05f",
"rev": "962582a090bc233c4de9d9897f46794280288989",
"type": "github"
},
"original": {
@ -186,11 +242,11 @@
]
},
"locked": {
"lastModified": 1720215857,
"narHash": "sha256-JPdL+Qul+jEueAn8CARfcWP83eJgwkhMejQYfDvrgvU=",
"lastModified": 1721324119,
"narHash": "sha256-SOOqIT27/X792+vsLSeFdrNTF+OSRp5qXv6Te+fb2Qg=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"rev": "d5fa094ca27e0039be5e94c0a80ae433145af8bb",
"rev": "a048a6cb015340bd82f97c1f40a4b595ca85cc30",
"type": "github"
},
"original": {
@ -232,11 +288,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1720957393,
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=",
"lastModified": 1721379653,
"narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb",
"rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374",
"type": "github"
},
"original": {
@ -247,6 +303,22 @@
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1721562059,
"narHash": "sha256-Tybxt65eyOARf285hMHIJ2uul8SULjFZbT9ZaEeUnP8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "68c9ed8bbed9dfce253cc91560bf9043297ef2fe",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1720957393,
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=",
@ -264,11 +336,11 @@
},
"nur": {
"locked": {
"lastModified": 1721213093,
"narHash": "sha256-GLn33GH9KH7m0k7fsundhWoDNTwtB0yMBtU+RY9ncZE=",
"lastModified": 1721914019,
"narHash": "sha256-GxUnSVtfPCLHIJJ6OiwQUaFIPL0xMaH0wf+TuxS6Cwg=",
"owner": "nix-community",
"repo": "NUR",
"rev": "eb0eb747a84c7594b7e2278b6f58e8aed4a8b303",
"rev": "a6a34c95c22e8cddd6049a470fb843989d08ee86",
"type": "github"
},
"original": {
@ -284,7 +356,8 @@
"hyprland": "hyprland",
"nixpkgs": "nixpkgs_3",
"nur": "nur",
"split-monitor-workspaces": "split-monitor-workspaces"
"split-monitor-workspaces": "split-monitor-workspaces",
"walker": "walker"
}
},
"split-monitor-workspaces": {
@ -324,6 +397,40 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"walker": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1721894229,
"narHash": "sha256-yuP04h2O+jJF79s7yP27nv3DyqZCLM/KqGMPE9meyJ0=",
"owner": "abenz1267",
"repo": "walker",
"rev": "f57c7562f714ceb6761f57bda3e6b839ebc1ad1c",
"type": "github"
},
"original": {
"owner": "abenz1267",
"repo": "walker",
"type": "github"
}
},
"xdph": {
"inputs": {
"hyprland-protocols": "hyprland-protocols",
@ -341,11 +448,11 @@
]
},
"locked": {
"lastModified": 1720194466,
"narHash": "sha256-Rizg9efi6ue95zOp0MeIV2ZedNo+5U9G2l6yirgBUnA=",
"lastModified": 1721648131,
"narHash": "sha256-cyyxu/oj4QEFp3CVx2WeXa9T4OAUyynuBJHGkBZSxJI=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "b9b97e5ba23fe7bd5fa4df54696102e8aa863cf6",
"rev": "663be9cad424b170b28b9fa8a61042d721007f3b",
"type": "github"
},
"original": {

View File

@ -18,6 +18,7 @@
};
nur.url = "github:nix-community/NUR";
ags.url = "github:Aylur/ags";
walker.url = "github:abenz1267/walker";
};
outputs = { nixpkgs, home-manager, nur, ... }@inputs:
@ -42,11 +43,13 @@
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
"https://cuda-maintainers.cachix.org"
"https://walker.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"walker.cachix.org-1:fG8q+uAaMqhsMxWjwvk0IMb4mFPFLqHjuvfwQxE4oJM="
];
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" user ];

View File

@ -22,7 +22,6 @@
texlab
ltex-ls
pyright
libclang
cmake-language-server
vscode-langservers-extracted
yaml-language-server

View File

@ -4,6 +4,7 @@
(import ./common.nix { inherit inputs config pkgs; })
(import ../hyprland { inherit inputs pkgs; })
(import ../ags { inherit inputs config pkgs; })
(import ../walker { inherit inputs config pkgs; })
../rofi
../alacritty
../kitty

12
home/walker/default.nix Normal file
View File

@ -0,0 +1,12 @@
{ inputs, config, pkgs, ... }:
{
imports = [inputs.walker.homeManagerModules.walker];
programs.walker = {
enable = true;
runAsService = true;
};
home.file."${config.xdg.configHome}/walker" = {
source = ./files;
recursive = true;
};
}

View File

@ -0,0 +1,52 @@
{
"ui": {
"icons": { "size": 38, "image_size": 150 },
"orientation": "vertical",
"ignore_exclusive": true,
"fullscreen": false,
"horizontal": "center",
"vertical": "start",
"width": 700,
"margins": {
"top": 200
},
"anchors": {
"top": true
}
},
"list": {
"always_show": true,
"fixed_height": false,
"height": 400,
"margin_top": 15,
"max_entries": 50,
"scrollbar_policy": "automatic",
"show_initial_entries": true,
"width": 400
},
"search": {
"typeahead": true,
"force_keyboard_focus": true,
"icons": false,
"history": true,
"placeholder": "",
"delay": 0
},
"activation_mode": {},
"builtins": {
"applications": { "actions": true },
"clipboard": {
"image_height": 300,
"max_entries": 10,
"switcher_only": true
},
"commands": { "switcher_only": true },
"emojis": { "switcher_only": true },
"finder": { "switcher_only": true },
"hyprland": { "context_aware_history": true },
"runner": { "Excludes": null, "Includes": null },
"ssh": { "switcher_only": true },
"switcher": { "prefix": "/" },
"websearch": {}
}
}

102
home/walker/files/style.css Normal file
View File

@ -0,0 +1,102 @@
* {
font-size: 27px;
}
#window {
background: none;
}
#box {
background: #11121D;
padding: 0.5em;
border-radius: 5px;
}
#password {
outline: none;
outline-width: 0px;
border-radius: 0;
box-shadow: none;
background: #1f1f28;
}
#searchwrapper {
}
#search,
#typeahead {
border-radius: 5px;
outline: none;
outline-width: 0px;
box-shadow: none;
border-bottom: none;
border: none;
background: #191926;
padding-left: 0.5em;
padding-right: 1em;
padding-top: 0.5em;
padding-bottom: 0.5em;
border-radius: 2px;
}
#spinner {
opacity: 0;
}
#spinner.visible {
opacity: 1;
}
#typeahead {
background: none;
opacity: 0.5;
}
#search placeholder {
opacity: 0.5;
}
#list {
background: #191926;
}
row:selected {
background: #0033a1;
}
.item {
padding: 0.4em 0.2em 0.4em 0.2em;
border-radius: 2px;
}
.icon {
padding-right: 0.5em;
}
.textwrapper {
}
.label {
font-size: 17px;
}
.sub {
font-size: 17px;
opacity: 0.5;
}
.activationlabel {
opacity: 0.25;
font-size: 17px;
}
.activation .activationlabel {
opacity: 1;
color: #76946a;
}
.activation .textwrapper,
.activation .icon,
.activation .search {
opacity: 0.5;
}

View File

@ -10,12 +10,6 @@
pkgs.intel-media-driver
];
# nix.settings.max-jobs = 1;
# services.ollama = {
# enable = true;
# acceleration = "cuda";
# };
zramSwap.enable = true;
services.logind.extraConfig = ''HandlePowerKey=ignore'';