Compare commits
6 commits
bf31d06bcf
...
e9ba00674a
Author | SHA1 | Date | |
---|---|---|---|
|
e9ba00674a | ||
|
351bf8fac1 | ||
|
ad37688899 | ||
|
e5478bd328 | ||
|
466592e7cb | ||
|
ab37c08deb |
1 changed files with 29 additions and 7 deletions
36
config.nix
36
config.nix
|
@ -18,11 +18,6 @@ in
|
|||
programs.vim.enable = true;
|
||||
programs.vim.defaultEditor = true;
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
xkb.layout = "de";
|
||||
};
|
||||
};
|
||||
console = {
|
||||
enable = true;
|
||||
useXkbConfig = true;
|
||||
|
@ -68,10 +63,21 @@ in
|
|||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = {
|
||||
startup = [
|
||||
{
|
||||
command = "firefox-esr --kiosk c3nav.de";
|
||||
}
|
||||
];
|
||||
fonts = {
|
||||
names = [ "Noto Sans" ];
|
||||
style = "regular";
|
||||
size = 30.0;
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
set $ws1 c3nav
|
||||
default_border none
|
||||
font pango: "Noto Sans" regular 30
|
||||
exec swaymsg "workspace $ws1;exec firefox-esr --name=c3nav --no-remote -P "terminal" https://c3nav.de; workspace $ws2; exec firefox-esr --name=fahrplan --no-remote -P "default" https://fahrplan.events.ccc.de/congress/2024/fahrplan/schedule/"
|
||||
include /etc/sway/config.d/*
|
||||
'';
|
||||
|
@ -133,6 +139,22 @@ in
|
|||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "de";
|
||||
displayManager = {
|
||||
defaultSession = "sway";
|
||||
sessionData.autologinSession = "sway";
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "c3terminal";
|
||||
};
|
||||
lightdm = {
|
||||
greeter.enable = false;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.sway = {
|
||||
|
@ -170,7 +192,7 @@ in
|
|||
disk = {
|
||||
main = {
|
||||
type = "disk";
|
||||
device = "/dev/sda";
|
||||
device = "/dev/sdb";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
|
Loading…
Reference in a new issue