Compare commits
10 commits
8f30d06f65
...
f5bc54585b
Author | SHA1 | Date | |
---|---|---|---|
f5bc54585b | |||
82a9c5be65 | |||
5a7309b5d3 | |||
95ee537f03 | |||
4df523437a | |||
3788823072 | |||
bfa2f177d3 | |||
e21a61c360 | |||
a98b467d26 | |||
6849194702 |
11 changed files with 131 additions and 172 deletions
73
flake.lock
generated
73
flake.lock
generated
|
@ -260,27 +260,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_3": {
|
"flake-parts_3": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"nix-fast-build",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736143030,
|
|
||||||
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts_4": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib_2"
|
"nixpkgs-lib": "nixpkgs-lib_2"
|
||||||
},
|
},
|
||||||
|
@ -298,7 +277,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_5": {
|
"flake-parts_4": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"nixThePlanet",
|
"nixThePlanet",
|
||||||
|
@ -473,7 +452,7 @@
|
||||||
},
|
},
|
||||||
"hercules-ci-effects": {
|
"hercules-ci-effects": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_5",
|
"flake-parts": "flake-parts_4",
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_7"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -767,28 +746,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix-fast-build": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts_3",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"treefmt-nix": "treefmt-nix_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736592044,
|
|
||||||
"narHash": "sha256-HkaJeIFgxncLm8MC1BaWRTkge9b1/+mjPcbzXTRshoM=",
|
|
||||||
"owner": "Mic92",
|
|
||||||
"repo": "nix-fast-build",
|
|
||||||
"rev": "906af17fcd50c84615a4660d9c08cf89c01cef7d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Mic92",
|
|
||||||
"repo": "nix-fast-build",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-formatter-pack": {
|
"nix-formatter-pack": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -879,7 +836,7 @@
|
||||||
},
|
},
|
||||||
"nixThePlanet": {
|
"nixThePlanet": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_4",
|
"flake-parts": "flake-parts_3",
|
||||||
"hercules-ci-effects": "hercules-ci-effects",
|
"hercules-ci-effects": "hercules-ci-effects",
|
||||||
"nixpkgs": "nixpkgs_8",
|
"nixpkgs": "nixpkgs_8",
|
||||||
"osx-kvm": "osx-kvm"
|
"osx-kvm": "osx-kvm"
|
||||||
|
@ -1341,13 +1298,12 @@
|
||||||
"lix-eval-jobs": "lix-eval-jobs",
|
"lix-eval-jobs": "lix-eval-jobs",
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
"mobile-nixos": "mobile-nixos",
|
"mobile-nixos": "mobile-nixos",
|
||||||
"nix-fast-build": "nix-fast-build",
|
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
"nixDarwin": "nixDarwin",
|
"nixDarwin": "nixDarwin",
|
||||||
"nixThePlanet": "nixThePlanet",
|
"nixThePlanet": "nixThePlanet",
|
||||||
"nixosHardware": "nixosHardware",
|
"nixosHardware": "nixosHardware",
|
||||||
"nixpkgs": "nixpkgs_9",
|
"nixpkgs": "nixpkgs_9",
|
||||||
"treefmt-nix": "treefmt-nix_3",
|
"treefmt-nix": "treefmt-nix_2",
|
||||||
"vscode-server": "vscode-server"
|
"vscode-server": "vscode-server"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1492,27 +1448,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"treefmt-nix_2": {
|
"treefmt-nix_2": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nix-fast-build",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736154270,
|
|
||||||
"narHash": "sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "13c913f5deb3a5c08bb810efd89dc8cb24dd968b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix_3": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
|
@ -59,10 +59,6 @@
|
||||||
};
|
};
|
||||||
catppuccin.url = "github:catppuccin/nix";
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||||
nix-fast-build = {
|
|
||||||
url = "github:Mic92/nix-fast-build";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
|
@ -1016,26 +1016,41 @@ This is meant to be an helper to be called from the window manager."
|
||||||
|
|
||||||
;;; Experiments, remove from here
|
;;; Experiments, remove from here
|
||||||
|
|
||||||
|
(defun ccr/test (niri-socket)
|
||||||
(defun ccr/test ()
|
"Select a window and focus it based on `niri msg` output."
|
||||||
"test"
|
|
||||||
(interactive)
|
(interactive)
|
||||||
(with-selected-frame
|
(let* ((niri-output (ccr/niri-get-windows niri-socket))
|
||||||
(make-frame '((name . "Emacs Selector")
|
(display-list (mapcar (lambda (entry)
|
||||||
(minibuffer . only)
|
(let ((title (cdr (assoc 'title entry)))
|
||||||
(fullscreen . 0) ; no fullscreen
|
(app-id (cdr (assoc 'app_id entry)))
|
||||||
(undecorated . t) ; remove title bar
|
(id (cdr (assoc 'id entry))))
|
||||||
;;(auto-raise . t) ; focus on this frame
|
(cons (format "%s - %s" title app-id) id)))
|
||||||
;;(tool-bar-lines . 0)
|
niri-output)))
|
||||||
;;(menu-bar-lines . 0)
|
(with-selected-frame
|
||||||
(internal-border-width . 10)
|
(make-frame '((name . "Emacs Selector")
|
||||||
(width . 50)
|
(minibuffer . only)
|
||||||
(height . 10)))
|
(fullscreen . 0)
|
||||||
(unwind-protect
|
(undecorated . t)
|
||||||
(completing-read "ciao " '("foo" "bar" "pippo") nil t "")
|
(internal-border-width . 10)
|
||||||
(delete-frame))))
|
(width . 120)
|
||||||
|
(height . 20)))
|
||||||
|
(unwind-protect
|
||||||
|
(let* ((entry (completing-read "Select window: " (mapcar #'car display-list) nil t ""))
|
||||||
|
(entry-id (cdr (assoc entry display-list))) ;; Get the ID associated with the selected entry
|
||||||
|
(command (format "NIRI_SOCKET=\"%s\" niri msg action focus-window --id %s" niri-socket entry-id)))
|
||||||
|
(message command)
|
||||||
|
(shell-command command))
|
||||||
|
(delete-frame)))))
|
||||||
|
|
||||||
|
|
||||||
|
(defun ccr/niri-get-windows (niri-socket)
|
||||||
|
"Esegue `niri msg --json windows` e parse l'output JSON in una alist."
|
||||||
|
(let* ((command (format "NIRI_SOCKET=\"%s\" niri msg --json windows" niri-socket))
|
||||||
|
(output (shell-command-to-string command))
|
||||||
|
(json-object-type 'alist) ; Usa alist per rappresentare gli oggetti JSON
|
||||||
|
(parsed-json (json-read-from-string output)))
|
||||||
|
parsed-json))
|
||||||
|
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
|
@ -2,25 +2,13 @@
|
||||||
{
|
{
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSshSupport = true;
|
pinentryPackage = pkgs.pinentry-rofi.override {
|
||||||
extraConfig =
|
rofi = pkgs.rofi-wayland;
|
||||||
let
|
};
|
||||||
pinentryRofi = pkgs.writeShellApplication {
|
extraConfig = ''
|
||||||
name = "pinentry-rofi-with-env";
|
allow-emacs-pinentry
|
||||||
runtimeInputs = with pkgs; [
|
allow-loopback-pinentry
|
||||||
coreutils
|
'';
|
||||||
rofi-wayland
|
|
||||||
];
|
|
||||||
text = ''
|
|
||||||
"${pkgs.pinentry-rofi}/bin/pinentry-rofi" "$@"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
|
||||||
''
|
|
||||||
allow-emacs-pinentry
|
|
||||||
allow-loopback-pinentry
|
|
||||||
pinentry-program ${pinentryRofi}/bin/pinentry-rofi-with-env
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gpg = {
|
programs.gpg = {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -52,29 +53,34 @@ in
|
||||||
|
|
||||||
services.udiskie.enable = true;
|
services.udiskie.enable = true;
|
||||||
|
|
||||||
|
home.pointerCursor = {
|
||||||
|
gtk.enable = true;
|
||||||
|
x11.enable = true;
|
||||||
|
package = pkgs.catppuccin-cursors;
|
||||||
|
name = "catppuccin-mocha-sapphire";
|
||||||
|
size = 38;
|
||||||
|
};
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# font.name = lib.mkForce "Sans,Symbols Nerd Font";
|
theme = {
|
||||||
|
name = "Catppuccin-GTK-Purple-Dark-Compact";
|
||||||
|
package = pkgs.magnetic-catppuccin-gtk.override {
|
||||||
|
accent = [ "purple" ];
|
||||||
|
shade = "dark";
|
||||||
|
size = "compact";
|
||||||
|
};
|
||||||
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
name = "Adwaita";
|
name = "Adwaita";
|
||||||
package = pkgs.adwaita-icon-theme;
|
package = pkgs.adwaita-icon-theme;
|
||||||
};
|
};
|
||||||
cursorTheme = {
|
|
||||||
name = "catppuccin-mocha-sapphire";
|
|
||||||
package = pkgs.catppuccin-cursors;
|
|
||||||
size = 38;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".icons/catppuccin-mocha-sapphire" = {
|
|
||||||
source = "${pkgs.catppuccin-cursors.mochaSapphire}/share/icons/catppuccin-mocha-sapphire-cursors";
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.hyprlandPlugins; [
|
plugins = with pkgs.hyprlandPlugins; [
|
||||||
|
|
|
@ -301,9 +301,18 @@ window-rule {
|
||||||
}
|
}
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
match app-id=r#"^Emacs Selector$"#
|
match title=r#"^Emacs Selector$"#
|
||||||
|
opacity 0.95
|
||||||
|
open-floating true
|
||||||
|
open-focused true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match title=r#"^bTop$"#
|
||||||
|
opacity 0.95
|
||||||
|
open-floating true
|
||||||
|
open-focused true
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -334,9 +343,9 @@ binds {
|
||||||
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
|
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
|
||||||
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))"; }
|
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))"; }
|
||||||
Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
|
Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
|
||||||
Super+Alt+L { spawn "swaylock"; }
|
Mod+Alt+L { spawn "swaylock"; }
|
||||||
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
|
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
|
||||||
|
Mod+Ctrl+b { spawn "foot" "--title='bTop'" "-W" "210x60" "btop";}
|
||||||
|
|
||||||
// Example volume keys mappings for PipeWire & WirePlumber.
|
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||||
// The allow-when-locked=true property makes them work even when the session is locked.
|
// The allow-when-locked=true property makes them work even when the session is locked.
|
||||||
|
|
|
@ -48,10 +48,4 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Otherwise it will start only after Sway and will not work with Hyprland
|
|
||||||
systemd.user.services.swayidle = {
|
|
||||||
Unit.PartOf = lib.mkForce [ ];
|
|
||||||
Install.WantedBy = lib.mkForce [ "graphical-session-pre.target" ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,20 +14,22 @@
|
||||||
deltaflyer = {
|
deltaflyer = {
|
||||||
nixpkgs =
|
nixpkgs =
|
||||||
let
|
let
|
||||||
# keep in sync with https://github.com/NixOS/mobile-nixos/blob/development/pkgs.nix
|
# keep in sync with https://github.com/mobile-nixos/mobile-nixos/blob/development/npins/sources.json
|
||||||
rev = "44d0940ea560dee511026a53f0e2e2cde489b4d4";
|
rev = "d3c42f187194c26d9f0309a8ecc469d6c878ce33";
|
||||||
in
|
in
|
||||||
builtins.getFlake "github:NixOS/nixpkgs/${rev}";
|
builtins.getFlake "github:NixOS/nixpkgs/${rev}";
|
||||||
extraHmModules = [
|
extraHmModules = [
|
||||||
# inputs.ccrEmacs.hmModules.default
|
inputs.catppuccin.homeManagerModules.catppuccin
|
||||||
];
|
];
|
||||||
vpn = {
|
vpn = {
|
||||||
ip = "10.100.0.5";
|
ip = "10.100.0.5";
|
||||||
publicKey = "6bzmBx2b5yzMdW0aK0KapoBesNcxTv5+qdo+pGmG+jc=";
|
publicKey = "6bzmBx2b5yzMdW0aK0KapoBesNcxTv5+qdo+pGmG+jc=";
|
||||||
};
|
};
|
||||||
homeManager = builtins.getFlake "github:nix-community/home-manager/670d9ecc3e46a6e3265c203c2d136031a3d3548e";
|
# homeManager = builtins.getFlake "github:nix-community/home-manager/670d9ecc3e46a6e3265c203c2d136031a3d3548e";
|
||||||
extraModules = [
|
extraModules = [
|
||||||
(import "${inputs.mobile-nixos}/lib/configuration.nix" { device = "oneplus-fajita"; })
|
(import "${inputs.mobile-nixos}/lib/configuration.nix" { device = "oneplus-fajita"; })
|
||||||
|
inputs.catppuccin.nixosModules.catppuccin
|
||||||
|
inputs.lix-module.nixosModules.default
|
||||||
];
|
];
|
||||||
secrets = {
|
secrets = {
|
||||||
"deltaflyer-wireguard-private-key" = { };
|
"deltaflyer-wireguard-private-key" = { };
|
||||||
|
|
|
@ -30,6 +30,13 @@
|
||||||
# INSECURE STUFF FIRST
|
# INSECURE STUFF FIRST
|
||||||
# Users and hardcoded passwords.
|
# Users and hardcoded passwords.
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(prev: final: {
|
||||||
|
gcc7 = final.gcc;
|
||||||
|
gcc8 = final.gcc;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
users.users.root.password = "nixos";
|
users.users.root.password = "nixos";
|
||||||
# users.users.ccr.password = "1234";
|
# users.users.ccr.password = "1234";
|
||||||
|
|
||||||
|
@ -66,11 +73,13 @@
|
||||||
"git"
|
"git"
|
||||||
"shell"
|
"shell"
|
||||||
"helix"
|
"helix"
|
||||||
"hyprland"
|
# "hyprland"
|
||||||
|
"niri"
|
||||||
"emacs"
|
"emacs"
|
||||||
"firefox"
|
"firefox"
|
||||||
"mpv"
|
"mpv"
|
||||||
"xdg"
|
"xdg"
|
||||||
|
"catppuccin"
|
||||||
];
|
];
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"dialout"
|
"dialout"
|
||||||
|
@ -99,18 +108,18 @@
|
||||||
ccr.extraModules = [
|
ccr.extraModules = [
|
||||||
{
|
{
|
||||||
programs.fish.loginShellInit = ''
|
programs.fish.loginShellInit = ''
|
||||||
pgrep Hypr >/dev/null || exec dbus-run-session Hyprland
|
pgrep niri >/dev/null || exec niri-session
|
||||||
'';
|
|
||||||
wayland.windowManager.hyprland.extraConfig = lib.mkAfter ''
|
|
||||||
monitor = DSI-1, 1080x2340, 0x0, 2, transform, 1
|
|
||||||
input {
|
|
||||||
touchdevice {
|
|
||||||
transform = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
bind = $mod, r, exec, rotate-screen hor
|
|
||||||
bind = $mod SHIFT, r, exec, rotate-screen ver
|
|
||||||
'';
|
'';
|
||||||
|
# wayland.windowManager.hyprland.extraConfig = lib.mkAfter ''
|
||||||
|
# monitor = DSI-1, 1080x2340, 0x0, 2, transform, 1
|
||||||
|
# input {
|
||||||
|
# touchdevice {
|
||||||
|
# transform = 1
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# bind = $mod, r, exec, rotate-screen hor
|
||||||
|
# bind = $mod SHIFT, r, exec, rotate-screen ver
|
||||||
|
# '';
|
||||||
home.packages =
|
home.packages =
|
||||||
let
|
let
|
||||||
rotateScript = pkgs.writeShellApplication {
|
rotateScript = pkgs.writeShellApplication {
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#
|
#
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -16,35 +17,38 @@
|
||||||
|
|
||||||
# # desktopManager.plasma5.mobile.enable = true;
|
# # desktopManager.plasma5.mobile.enable = true;
|
||||||
|
|
||||||
# displayManager.autoLogin = {
|
displayManager.autoLogin = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# };
|
user = "ccr";
|
||||||
|
};
|
||||||
|
|
||||||
# displayManager.session = [{
|
displayManager.session = [
|
||||||
# manage = "desktop";
|
{
|
||||||
# name = "hyprland";
|
manage = "desktop";
|
||||||
# start = ''
|
name = "niri";
|
||||||
# ${pkgs.hyprland}/bin/Hyprland &
|
start = ''
|
||||||
# waitPID=$!
|
${pkgs.niri}/bin/niri-session &
|
||||||
# '';
|
waitPID=$!
|
||||||
# }];
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
# displayManager.defaultSession = "hyprland";
|
displayManager.defaultSession = "niri";
|
||||||
|
|
||||||
# displayManager.lightdm = {
|
displayManager.lightdm = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# # Workaround for autologin only working at first launch.
|
# Workaround for autologin only working at first launch.
|
||||||
# # A logout or session crashing will show the login screen otherwise.
|
# A logout or session crashing will show the login screen otherwise.
|
||||||
# extraSeatDefaults = ''
|
extraSeatDefaults = ''
|
||||||
# session-cleanup-script=${pkgs.procps}/bin/pkill -P1 -fx ${pkgs.lightdm}/sbin/lightdm
|
session-cleanup-script=${pkgs.procps}/bin/pkill -P1 -fx ${pkgs.lightdm}/sbin/lightdm
|
||||||
# '';
|
'';
|
||||||
# };
|
};
|
||||||
|
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.pulseaudio.enable = lib.mkDefault true; # mkDefault to help out users wanting pipewire
|
hardware.pulseaudio.enable = lib.mkDefault false; # mkDefault to help out users wanting pipewire
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.wireless.enable = false;
|
networking.wireless.enable = false;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
|
|
|
@ -8,12 +8,13 @@
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: _: {
|
(final: _: {
|
||||||
nix-fast-build = fleetFlake.inputs.nix-fast-build.packages.${final.system}.nix-fast-build // {
|
nix-eval-jobs =
|
||||||
nix = final.nix;
|
(fleetFlake.inputs.lix-eval-jobs.packages.${final.system}.nix-eval-jobs.override {
|
||||||
};
|
nix = final.nix;
|
||||||
nix-eval-job = fleetFlake.inputs.lix-eval-jobs.packages.${final.system}.nix-eval-jobs // {
|
})
|
||||||
nix = final.nix;
|
// {
|
||||||
};
|
nix = final.nix;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue