Compare commits

...

5 commits

Author SHA1 Message Date
jopejoe1
8ec8a6f642 remove chromium 2024-12-26 15:18:25 +01:00
jopejoe1
df08130015 add sway config 2024-12-26 15:14:28 +01:00
jopejoe1
27a730fdee remove demo user 2024-12-26 15:07:39 +01:00
jopejoe1
25e90edab8 use sda as disk 2024-12-26 15:05:02 +01:00
jopejoe1
fc430f3056 update lock 2024-12-26 15:04:22 +01:00
2 changed files with 37 additions and 26 deletions

View file

@ -48,6 +48,10 @@ in
]; ];
}; };
fonts.packages = with pkgs; [
noto-fonts
];
home-manager = { home-manager = {
users.c3terminal = { users.c3terminal = {
home = { home = {
@ -59,9 +63,20 @@ in
}; };
packages = with pkgs; [ packages = with pkgs; [
git git
chromium
]; ];
}; };
wayland.windowManager.sway = {
enable = true;
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/*
'';
};
programs = { programs = {
firefox = { firefox = {
enable = true; enable = true;
@ -85,11 +100,6 @@ in
}; };
}; };
users.users.demo = {
isNormalUser = true;
password = "test";
};
users.users.root = { users.users.root = {
password = "test"; password = "test";
shell = lib.mkForce (lib.getExe pkgs.bash); shell = lib.mkForce (lib.getExe pkgs.bash);
@ -107,7 +117,7 @@ in
boot = { boot = {
loader = { loader = {
grub = { grub = {
enable = true; #enable = true;
}; };
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
@ -120,6 +130,7 @@ in
enable = true; enable = true;
settings = { settings = {
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = false;
}; };
}; };
}; };
@ -159,7 +170,7 @@ in
disk = { disk = {
main = { main = {
type = "disk"; type = "disk";
device = "/dev/disk/by-id/wwn-0x502b2a201d1c1b1a"; device = "/dev/sda";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733168902, "lastModified": 1735048446,
"narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=", "narHash": "sha256-Tc35Y8H+krA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "785c1e02c7e465375df971949b8dcbde9ec362e5", "rev": "3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -27,11 +27,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733769654, "lastModified": 1735053786,
"narHash": "sha256-aVvYDt8eitZVF6fdOrSoIzYRkQ5Gh6kfRvqkiaDRLL0=", "narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e952e94955dcc6fa2120c1430789fc41363f5237", "rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,11 +42,11 @@
}, },
"nixlib": { "nixlib": {
"locked": { "locked": {
"lastModified": 1733620091, "lastModified": 1734829460,
"narHash": "sha256-5WoMeCkaXqTZwwCNLRzyLxEJn8ISwjx4cNqLgqKwg9s=", "narHash": "sha256-dPhc+f2wkmhMqMIfq+hColJdysgVxKP9ilZ5bR0NRZI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs.lib", "repo": "nixpkgs.lib",
"rev": "f4dc9a6c02e5e14d91d158522f69f6ab4194eb5b", "rev": "0a31e8d833173ae63e43fd9dbff1ccf09c4f778c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -57,11 +57,11 @@
}, },
"nixos-facter-modules": { "nixos-facter-modules": {
"locked": { "locked": {
"lastModified": 1732288619, "lastModified": 1734596637,
"narHash": "sha256-zSQ2cR+NRJfHUVfkv+O6Wi53wXfzX8KHiO8fRfnvc0M=", "narHash": "sha256-MRqwVAe3gsb88u4ME1UidmZFVCx+FEnoob0zkpO9DMY=",
"owner": "numtide", "owner": "numtide",
"repo": "nixos-facter-modules", "repo": "nixos-facter-modules",
"rev": "862648589993a96480c2255197a28feea712f68f", "rev": "536472754982bf03079b4b4e0261838a760587c0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -78,11 +78,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733706547, "lastModified": 1734915500,
"narHash": "sha256-BdFW7TMgES7q8I5FGX5hlz+0Xp4WyfAP3tHDwEupSWU=", "narHash": "sha256-A7CTIQ8SW0hfbhKlwK+vSsu4pD+Oaelw3v6goX6go+U=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-generators", "repo": "nixos-generators",
"rev": "f5a0197ccfef7388885fc9455e74d6dd39e0c5e8", "rev": "051d1b2dda3b2e81b38d82e2b691e5c2f4d335f4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -93,11 +93,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1733759999, "lastModified": 1734649271,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", "narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", "rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507",
"type": "github" "type": "github"
}, },
"original": { "original": {