This commit is contained in:
Till 2025-02-11 23:59:20 +01:00
parent 47a684d78f
commit 7dd4cb58fe
10 changed files with 53 additions and 23 deletions

24
flake.lock generated
View file

@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734366194, "lastModified": 1736373539,
"narHash": "sha256-vykpJ1xsdkv0j8WOVXrRFHUAdp9NXHpxdnn1F4pYgSw=", "narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "80b0fdf483c5d1cb75aaad909bd390d48673857f", "rev": "bd65bc3cde04c16755955630b344bc9e35272c56",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -44,11 +44,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734323986, "lastModified": 1739055578,
"narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=", "narHash": "sha256-2MhC2Bgd06uI1A0vkdNUyDYsMD0SLNGKtD8600mZ69A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "394571358ce82dff7411395829aa6a3aad45b907", "rev": "a45fa362d887f4d4a7157d95c28ca9ce2899b70e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,11 +60,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1734424634, "lastModified": 1739020877,
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=", "narHash": "sha256-mIvECo/NNdJJ/bXjNqIh8yeoSjVLAuDuTUzAo7dzs8Y=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33", "rev": "a79cfe0ebd24952b580b1cf08cd906354996d547",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -81,11 +81,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1734616194, "lastModified": 1739229047,
"narHash": "sha256-J90ItNNG+V2tneyHGHDCTb/WBxrpobxl+SsiQGVxOAI=", "narHash": "sha256-sSTgA86wdk8d544c2+gzrfvVPHQF4mbsomvLOW2thn0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "89621e43228d2941138a4d54a24924cd70d12bfe", "rev": "8348d89f30598a73fee7efb4b5d34c3de201e71b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -22,6 +22,7 @@
./system/desktop.nix ./system/desktop.nix
./system/hardware/nova.nix ./system/hardware/nova.nix
./system/gnome.nix ./system/gnome.nix
./system/hyprland.nix
./system/steam.nix ./system/steam.nix
./system/btrbk.nix ./system/btrbk.nix
./system/yubikey.nix ./system/yubikey.nix

View file

@ -48,5 +48,7 @@
]; ];
programs.obs-studio.enable = true; programs.obs-studio.enable = true;
programs.kitty.enable = true;
} }

View file

@ -31,13 +31,16 @@
}; };
"org/gnome/settings-daemon/plugins/media-keys" = { "org/gnome/settings-daemon/plugins/media-keys" = {
screenreader = []; screenreader = [];
magnifier = []; magnifier = ["<Super>z"];
magnifier-zoom-in = []; magnifier-zoom-in = [];
magnifier-zoom-out = []; magnifier-zoom-out = [];
help = []; help = [];
logout = ["<Super>q"];
}; };
"org/gnome/shell/keybindings" = { "org/gnome/shell/keybindings" = {
toggle-quick-settings = ["<Super>comma"]; toggle-quick-settings = ["<Super>comma"];
toggle-message-tray = ["<Super>n"];
toggle-overview = ["<Super>a"];
}; };
"org/gnome/desktop/wm/keybindings" = { "org/gnome/desktop/wm/keybindings" = {
move-to-monitor-down = []; move-to-monitor-down = [];
@ -47,6 +50,7 @@
move-to-workspace-last = []; move-to-workspace-last = [];
switch-applications = ["<Super>Tab"]; switch-applications = ["<Super>Tab"];
switch-applications-backward = ["<Shift><Super>Tab"]; switch-applications-backward = ["<Shift><Super>Tab"];
switch-monitor = [];
cycle-panels = []; cycle-panels = [];
cycle-panels-backward = []; cycle-panels-backward = [];
cycle-group = []; cycle-group = [];
@ -84,6 +88,8 @@
switch-to-application-2 = []; switch-to-application-2 = [];
switch-to-application-3 = []; switch-to-application-3 = [];
switch-to-application-4 = []; switch-to-application-4 = [];
toggle-fullscreen = ["<Shift><Super>f"];
begin-resize = ["<Super>r"];
}; };
}; };
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

@ -14,12 +14,10 @@
# #
# This line cycles any open gnome-terminal (matched by wm_class = Gnome-terminal on Ubuntu 17.10) OR if not found, launches new one. # 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 # 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>b,firefox,,
<Super>n,nautilus,, <Super>f,nautilus,,
<Super>f,firefox,,
<Super>return,foot,, <Super>return,foot,,
<Super>x,keepassxc,,, <Super>p,keepassxc,,,
<Super>q,qutebrowser,,
# You may use regular expression in title or wm_class. # You may use regular expression in title or wm_class.
# Just put the regular expression between slashes. # Just put the regular expression between slashes.

View file

@ -35,7 +35,7 @@
passwordCommand = "secret-tool lookup server uni-frankfurt.de account tstraube"; passwordCommand = "secret-tool lookup server uni-frankfurt.de account tstraube";
signature = { signature = {
text = '' text = ''
Dr. Till Straube (he, him, his) Dr. Till Straube (he/him)
Dept. of Human Geography Dept. of Human Geography
Goethe University Frankfurt Goethe University Frankfurt
''; '';
@ -88,7 +88,7 @@
notmuch.enable = true; notmuch.enable = true;
userName = "till"; userName = "till";
signature.text = '' signature.text = ''
Till Straube (he, him, his) Till Straube (he/him)
PGP: https://keys.openpgp.org/search?q=till@ktiu.net PGP: https://keys.openpgp.org/search?q=till@ktiu.net
''; '';
signature.showSignature = "append"; signature.showSignature = "append";

View file

@ -12,6 +12,8 @@
programs.fish.enable = true; programs.fish.enable = true;
users.mutableUsers = true;
users.users.till = { users.users.till = {
isNormalUser = true; isNormalUser = true;
description = "Till"; description = "Till";

View file

@ -2,7 +2,11 @@
{ {
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager = {
gdm.enable = true;
autoLogin.user = "till";
};
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
services.gnome.gnome-browser-connector.enable = true; services.gnome.gnome-browser-connector.enable = true;
environment.gnome.excludePackages = (with pkgs; [ environment.gnome.excludePackages = (with pkgs; [

17
system/hyprland.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
programs.uwsm.enable = true;
programs.hyprland = {
enable = true;
withUWSM = true;
};
programs.waybar.enable = true;
environment.systemPackages = with pkgs; [
swaynotificationcenter
tofi
];
}

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.desktopManager.plasma6.enable = true; services.xserver.desktopManager.plasma6.enable = true;
} }