Merge branch 'main' of ktiu.net:omniflake

This commit is contained in:
Till 2023-12-18 14:52:10 +01:00
commit dfd922de0a
8 changed files with 22 additions and 75 deletions

View file

@ -1,18 +0,0 @@
{ config, pkgs, ... }:
{
home.pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
size = 32;
};
dconf.settings = {
"org/gnome-shell" = {
enabled-extensions = [
"run-or-raise@edvard.cz"
];
};
};
xdg.configFile."run-or-raise/shortcuts.conf".source = ./run-or-raise.conf;
}

View file

@ -1,42 +0,0 @@
# Here you list all the shortcuts.
#
# The shortcuts may be defined in two ways:
#
# 1. Run-or-raise form: shortcut,launch-command,[wm_class],[title]
# * wm_class and title are optional and case sensitive
# * if none is set, lowercased launch-command is compared with lowercased windows wm_classes and titles
#
# 2. Run only form: shortcut,calculate
#
# =================
# Run or raise form
# =================
#
# This line cycles any open gnome-terminal (matched by wm_class = Gnome-terminal on Ubuntu 17.10) OR if not found, launches new one.
# If you're using Arch, you may want to match by wm_class = gnome-terminal-server , just check yourself by Alt+F2/lg/Windows
<Super>t,gnome-terminal,gnome-terminal-server,
<Super>n,nautilus,,
<Super>f,firefox,,
<Super>return,foot,,
<Super>x,keepassxc,,,
<Super>q,qutebrowser,,
# You may use regular expression in title or wm_class.
# Just put the regular expression between slashes.
# E.g. to jump to pidgin conversation window you may use this line
# (that means any windows of wm_class Pidgin, not containing the title Buddy List)"
# <Super>KP_1,pidgin,Pidgin,/^((?!Buddy List).)*$/
# Have the mail always at numpad-click.
# <Super>KP_2,chromium-browser --app=https://mail.google.com/mail/u/0/#inbox
# =============
# Run only form
# =============
#
# This line will launch notify-send command.
# <Super>h,notify-send Hello world
# Blank lines are allowed. Line starting with "#" means a comment.
# Now delete these shortcuts and put here yours.
# How to know wm_class? Alt+f2, lg, "windows" tab (at least on Ubuntu 17.10)

18
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702124454, "lastModified": 1702814335,
"narHash": "sha256-+lwBEFPxQ8VM3ht6qEcR92A/M9GF6mDtAwKgPI3YgXQ=", "narHash": "sha256-Qck7BAMi3eydzT1WFOzp/SgECetyPpOn1dLgmxH2ebQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "fa91c109b0dd12e680dd29010e262884f7b26186", "rev": "e4dba0bd01956170667458be7b45f68170a63651",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1701952659, "lastModified": 1702780907,
"narHash": "sha256-TJv2srXt6fYPUjxgLAL0cy4nuf1OZD4KuA1TrCiQqg0=", "narHash": "sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b4372c4924d9182034066c823df76d6eaf1f4ec4", "rev": "1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,11 +38,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1702154858, "lastModified": 1702902799,
"narHash": "sha256-jjLWEdor/ynwQfmKC6f7YW1rPcK6gHWoP4pxoRv3VSo=", "narHash": "sha256-KNTIeQ6gDVoX3QSW0tWgCVjvmJ3JO+FT8XwRxL9dZN0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "25f4052a47d6ef4ed1fccdd55bb94e57ea664432", "rev": "4561fa27240f2b30aeb1bfdc27162a32b77b0b8d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -53,7 +53,7 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay; pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay;
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
modules = [ modules = [
./alt ./home/alt.nix
]; ];
}; };
}; };

View file

@ -13,6 +13,15 @@
"run-or-raise@edvard.cz" "run-or-raise@edvard.cz"
]; ];
}; };
"org/gnome/desktop/peripherals/touchpad" = {
speed = 0.5;
};
"org/gnome/mutter" = {
dynamic-workspaces = true;
};
"org/gnome/desktop/session" = {
idle-delay = 600;
};
}; };
xdg.configFile."run-or-raise/shortcuts.conf".source = ./run-or-raise.conf; xdg.configFile."run-or-raise/shortcuts.conf".source = ./run-or-raise.conf;
} }

View file

@ -36,8 +36,8 @@
}; };
}; };
profiles = { profiles = {
till = { ${config.home.username} = {
name = "till"; name = config.home.username;
isDefault = true; isDefault = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin ublock-origin

View file

@ -2,14 +2,12 @@
{ {
users.users.alt = { users.users.alt = {
isSystemUser = true; isNormalUser = true;
description = "Alt"; description = "Alt";
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
]; ];
shell = pkgs.fish; shell = pkgs.fish;
group = "alt";
home = "/home/alt";
}; };
users.groups.alt = {}; users.groups.alt = {};
} }