Compare commits

...

3 commits

Author SHA1 Message Date
592b4201aa update 2024-10-12 14:47:30 +02:00
be828a1ac6 feat: niri settings 2024-10-12 14:47:10 +02:00
a40a2eb630 feat(niri): add mako dependency 2024-10-11 22:50:08 +02:00
3 changed files with 46 additions and 36 deletions

View file

@ -46,5 +46,32 @@
programs.niri = {
enable = true;
package = pkgs.niri;
settings = {
input = {
keyboard.xkb.layout = "fr";
touchpad = {
tap = true;
natural-scroll = true;
accel-profile = "flat";
};
mouse.accel-profile = "flat";
warp-mouse-to-focus = true;
focus-follows-mouse.max-scroll-amount = "0%";
};
outputs."eDP-1" = { scale = 1; };
layout = {
gaps = 10;
focus-ring = {
width = 4;
active.color = "#10f810bb";
inactive.color = "#80808080";
};
};
prefer-no-csd = true;
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png";
binds = {
};
};
};
}

View file

@ -51,24 +51,7 @@
};
};
xdg.portal.config = {
common.default = [ "gtk" "gnome" ];
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
};
systemd.user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart =
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
xdg.portal.config.common.default = [ "gtk" "gnome" ];
services.ssh-agent.enable = true;

View file

@ -9,11 +9,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1721135360,
"narHash": "sha256-ZhSA0e45UxiOAjEVqkym/aULh0Dt+KHJLNda7bjx9UI=",
"lastModified": 1728684316,
"narHash": "sha256-fQ4LkmZeW4eGowbVfvct1hLFD0hNkZiX5SzRlWqhgxc=",
"owner": "anyrun-org",
"repo": "anyrun",
"rev": "c6101a31a80b51e32e96f6a77616b609770172e0",
"rev": "6c974bc5f3f82f505278befa4b24d96ba8eb06f1",
"type": "github"
},
"original": {
@ -30,11 +30,11 @@
]
},
"locked": {
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"lastModified": 1727826117,
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
"type": "github"
},
"original": {
@ -84,11 +84,11 @@
]
},
"locked": {
"lastModified": 1728598744,
"narHash": "sha256-sSfvyO5xH3HObHHmh6lp/hcvo7tMjFKd/HXpxyrRnoE=",
"lastModified": 1728726232,
"narHash": "sha256-8ZWr1HpciQsrFjvPMvZl0W+b0dilZOqXPoKa2Ux36bc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "342a1d682386d3a1d74f9555cb327f2f311dda6e",
"rev": "d57112db877f07387ce7104b5ac346ede556d2d7",
"type": "github"
},
"original": {
@ -111,11 +111,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1728579099,
"narHash": "sha256-cE2rv4xHe9l1xczfJmUnV7pKuDzFM8DtLDYndppiahg=",
"lastModified": 1728726565,
"narHash": "sha256-SQzHA0bfvs7c1bLe1nF+a+CyeTv2UzzjmQri5mjP9yQ=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "3f80dcf1833101dc377b1c4e1659da4b8e86f3eb",
"rev": "33639d5e82105a42f7544f1deca557f64ab0a27e",
"type": "github"
},
"original": {
@ -144,11 +144,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1728546258,
"narHash": "sha256-iE6O7EBokq/HjjwouHfd7EGmED7TUkB9icSbUfPHWSo=",
"lastModified": 1728716283,
"narHash": "sha256-v6hhDJNLhdCiuFn6ic7D3lk/lk27+6OOzG213ikRu4w=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "859c0be0e5fa5ccf3c59f0ae1764551a930656fd",
"rev": "33b39913c7121a6c7b112beb0e329c3e64e4f57a",
"type": "github"
},
"original": {
@ -187,11 +187,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1728500571,
"narHash": "sha256-dOymOQ3AfNI4Z337yEwHGohrVQb4yPODCW9MDUyAc4w=",
"lastModified": 1728627514,
"narHash": "sha256-r+SF9AnHrTg+bk6YszoKfV9lgyw+yaFUQe0dOjI0Z2o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d51c28603def282a24fa034bcb007e2bcb5b5dd0",
"rev": "c505ebf777526041d792a49d5f6dd4095ea391a7",
"type": "github"
},
"original": {