Compare commits

...

9 Commits

Author SHA1 Message Date
coolneng aef1677b9a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3bacde6273b09a21a8ccfba15586fb165078fb62' (2022-11-05)
  → 'github:NixOS/nixpkgs/667e5581d16745bcda791300ae7e2d73f49fff25' (2022-11-07)
2022-11-08 22:33:00 +01:00
coolneng 539a37d159
Mount samba share without inode support 2022-11-07 17:23:06 +01:00
coolneng 035dcb8466
Revert "Replace waybar with pulseaudio sink ignore fork"
This reverts commit e9be8dfe42.
2022-11-07 15:54:33 +01:00
coolneng c0c77c2c96 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a2a777538d971c6b01c6e54af89ddd6567c055e8' (2022-11-03)
  → 'github:NixOS/nixpkgs/3bacde6273b09a21a8ccfba15586fb165078fb62' (2022-11-05)
2022-11-06 22:32:16 +01:00
coolneng c89c1d69b6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d40fea9aeb8840fea0d377baa4b38e39b9582458' (2022-10-31)
  → 'github:NixOS/nixpkgs/a2a777538d971c6b01c6e54af89ddd6567c055e8' (2022-11-03)
2022-11-04 22:31:34 +01:00
coolneng cad9dfa8d7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/412b9917cea092f3d39f9cd5dead4effd5bc4053' (2022-10-30)
  → 'github:NixOS/nixpkgs/d40fea9aeb8840fea0d377baa4b38e39b9582458' (2022-10-31)
2022-11-01 22:32:03 +01:00
coolneng b96d37cfc2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fdebb81f45a1ba2c4afca5fd9f526e1653ad0949' (2022-10-29)
  → 'github:NixOS/nixpkgs/412b9917cea092f3d39f9cd5dead4effd5bc4053' (2022-10-30)
2022-10-31 22:32:42 +01:00
coolneng 49f2d69267
Allow dbus to communicate with storage devices 2022-10-30 13:41:22 +01:00
coolneng b618272097
Stop automounting USB and SD cards 2022-10-30 13:24:40 +01:00
3 changed files with 9 additions and 43 deletions

View File

@ -38,11 +38,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1667050928,
"narHash": "sha256-xOn0ZgjImIyeecEsrjxuvlW7IW5genTwvvnDQRFncB8=",
"lastModified": 1667811565,
"narHash": "sha256-HYml7RdQPQ7X13VNe2CoDMqmifsXbt4ACTKxHRKQE3Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fdebb81f45a1ba2c4afca5fd9f526e1653ad0949",
"rev": "667e5581d16745bcda791300ae7e2d73f49fff25",
"type": "github"
},
"original": {

View File

@ -84,41 +84,17 @@
# Automount external storage
systemd.mounts = [
# USB
{
what = "/dev/sda1";
where = "/usb";
mountConfig = { TimeoutSec = "5"; };
}
# SD card
{
what = "/dev/mmcblk0p1";
where = "/sdcard";
mountConfig = { TimeoutSec = "5"; };
}
# UGent Samba
{
what = "//files.ugent.be/akasroua/home";
type = "cifs";
where = "/ugent";
options =
"credentials=${config.age.secrets.samba-ugent.path},noperm,vers=3.11,sec=ntlmv2i";
"credentials=${config.age.secrets.samba-ugent.path},noperm,vers=3.11,sec=ntlmv2i,noserverino";
mountConfig = { TimeoutSec = "5"; };
}
];
systemd.automounts = [
# USB
{
where = "/usb";
automountConfig = { TimeoutIdleSec = "5"; };
wantedBy = [ "default.target" ];
}
# SD card
{
where = "/sdcard";
automountConfig = { TimeoutIdleSec = "5"; };
wantedBy = [ "default.target" ];
}
# UGent Samba
{
where = "/ugent";

View File

@ -2,17 +2,7 @@
with pkgs;
let
waybar-audio-patch = waybar.overrideAttrs (old: rec {
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = "ebdf575d45c0e4f8c6f6ce484fbbf5375ed8dbba";
sha256 = "WTdy9zGhidk56CjmSuFDigfa64O9ZNd5GpfpCVrL8i0=";
};
});
in {
{
# Display manager
services.xserver.enable = true;
services.xserver.displayManager = {
@ -36,7 +26,7 @@ in {
swayidle
swaybg
rofi-wayland
waybar-audio-patch
waybar
clipman
wl-clipboard
grim
@ -78,9 +68,6 @@ in {
};
};
# Bar
programs.waybar.enable = true;
# GPG agent
programs.gnupg.agent = {
enable = true;
@ -105,4 +92,7 @@ in {
enable = true;
wlr.enable = true;
};
# Allow dbus to communicate with storage devices
services.udisks2.enable = true;
}