diff --git a/configuration.nix b/configuration.nix index a0beb3a..43465f3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -12,13 +12,15 @@ ]; # Use the systemd-boot EFI boot loader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; - networking.hostName = "nixos"; # Define your hostname. - - # Configure network connections interactively with nmcli or nmtui. - networking.networkmanager.enable = true; + networking = { + hostName = "kagari"; # Define your hostname. + networkmanager.enable = true; + }; # Set your time zone. time.timeZone = "Europe/Prague"; @@ -36,10 +38,10 @@ # }; # Enable the X11 windowing system. - # services.xserver.enable = true; - - - + services.xserver = { + enable = true; + displayManager.mate.enable = true; + }; # Configure keymap in X11 # services.xserver.xkb.layout = "us"; @@ -60,22 +62,25 @@ # services.libinput.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.shinya = { + users.users.konsta = { isNormalUser = true; initialPassword = "12345"; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ tree + keepassxc + gimp + inkscape + libreoffice ]; }; - # programs.firefox.enable = true; + programs.firefox.enable = true; # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). environment.systemPackages = with pkgs; [ helix - wget ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/disko.nix b/disko.nix index d548040..5a6e901 100644 --- a/disko.nix +++ b/disko.nix @@ -12,7 +12,7 @@ }; disko.devices.disk.main = { - device = "/dev/vda"; # MAKE SURE TOO SELECT CORRECT DISK HERE + device = "/dev/sda"; # MAKE SURE TOO SELECT CORRECT DISK HERE type = "disk"; content.type = "gpt"; diff --git a/preservation.nix b/preservation.nix index 3296295..3d4d707 100644 --- a/preservation.nix +++ b/preservation.nix @@ -20,16 +20,19 @@ ]; # Preserve user files - # users.yurii = { - # directories = [ - # ".ssh" - # ".mozilla" - # ]; - # - # files = [ - # - # ]; - # }; + users.konsta = { + directories = [ + ".mozilla" + "Documents" + "Downloads" + "Desktop" + "Pictures" + ]; + # + files = [ + + ]; + }; }; }; }